Overview
Request 769057 accepted
Drop llvm6-devel requirement for ARM
- Created by Guillaume_G
- In state accepted
Request History
Guillaume_G created request
Drop llvm6-devel requirement for ARM
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
staging-bot added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:60"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:60"
dimstar accepted review
ptrommler declined review
This would break ghc-bootstrap-helpers in Factory ARM. Package ghc-bootstrap needs opt and llc at version 6.* to work and that is the reason ghc-bootstrap requires llvm6-devel.
ptrommler declined request
This would break ghc-bootstrap-helpers in Factory ARM. Package ghc-bootstrap needs opt and llc at version 6.* to work and that is the reason ghc-bootstrap requires llvm6-devel.
dimstar_suse reopened request
Reopened via staging workflow.
dimstar_suse added factory-staging as a reviewer
Being evaluated by group "factory-staging"
dimstar_suse accepted review
Unstaged from project "openSUSE:Factory:Staging:adi:60"
dimstar_suse declined request
Declined via staging workflow.
Guillaume_G reopened request
I tried to build ghc without llvm6-devel for aarch64 and it does build just fine.
staging-bot added openSUSE:Factory:Staging:adi:37 as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:37"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:37"
psimons accepted review
OK
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:37 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:37 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:37 got accepted.
How do you fix ghc in Factory then? https://build.opensuse.org/package/show/openSUSE:Factory:ARM/ghc
@ptrommler
Then you have bigger issues: ghc.spec has:
so you BuildRequire llvm7-devel - and ghc-bootstrap requires llvm6-devel: the two conflict (which is why ghc is unresolvable in :ARM at the moment)
True. We have a big issue here. We need llvm6 to run ghc 8.6.5 which is our bootstrap compiler and llvm7 to run stage1 of ghc 8.8.x to build stage 2.
I could update the ghc-bootstrap to ghc 8.8.2 then the versions would match but that will only offload the issue onto our users. When LLVM is updated to the next major version GHC is likely to break.
A clean solution would be to have an llvm package for version 6 and one for version 7 that can live in parallel. All GHC needs is opt and llc and if they were available as
opt-<major>
andllc-<major>
GHC would even work after an upgrade of LLVM.This requires a change in the packaging of LLVM. Should we raise a ticket for that?
Not sure if having multiple llvm-devel packages in parallel is going to be a lot of fun.
The libraries for example don't contain a version, i.e.
then there is
/usr/include/llvm
, and/usr/lib64/cmake/llvm
that conflict in the -devel packagesYou can try with a ticket - not sure if there is already some though to have this parallel installable or if the maintainer would not want this extra complexity
I think, requiring
llvm<major>
would be sufficient. I don't remember why I requiredllvm,major>-devel
. The all that would be required are versioned links as described above. I hope, I can convince the maintainers to add that :-)I will file a ticket and continue discussion there.
llvm is already parallel installable:
and for opt:
@mimi_vx, @psimons, @sbahling, @spanne: review reminder