New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev-lang/ghc: keyword 9.0.2 for ~arm64 #27048
Conversation
Pull Request assignmentSubmitter: @matoro app-admin/haskell-updater: @gentoo/haskell Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers. Missing GCO sign-offPlease read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2022-08-28 19:46 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
See: https://gist.github.com/zeldin/82b27e412f6ee61c67de3f00da18e0e8 Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Pull request CI reportReport generated at: 2022-08-30 19:51 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Haskell for arm64! Thanks to Marcus for providing the initial bootstrap I used to build the one included here.
Packages that have something other than a simple keyword going on:
ghc-9.0.2-llvm-13.patch
taken from https://salsa.debian.org/haskell-team/DHG_packages/-/commit/b16997ae9270c8f88b7f8548e5cb6fdf93a07c43. ghc will attempt to use any LLVM verison in path but will complain non-fatally if it's not one of the versions sanctioned by upstream. While I tested with LLVM 14 and didn't notice any problems, upstream officially only supports LLVM 9 thru 12, inclusive. Debian maintains this patch to bump the maximum to 13llvm.eclass
and setLLVM_MAX_SLOT=13
. Bind to appropriate SLOT. I just included all versions from 9-13 even though older LLVM SLOTs are out of tree because it's easier to just copy this out of the GHC documentation on bumps without cross-referencing what's currently in-tree (which could change on its own independently)llvmize()
. Because most of the "executables" installed to/usr/bin
are shell scripts that invoke in/usr/lib64/...
, this searches for shell scripts under a particular directory and prepends the call toexec
with aPATH
variable pointing to the appropriately-bound LLVM dir. This is called twice, once for modifying the boostrap binary and once for modifying the installed tree.opt
to crash. Tested on all architectures, and all versions of LLVM including git master, tracked in opt crashes on ghc-generated IR llvm/llvm-project#57393. Expressed this blocker astest? ( !dev-lang/ghc[llvm(-)] )
@orlitzky 's packages are excluded as they are pending #26981, will issue a separate PR for them once that is merged.These are included now, thanks to @orlitzky for handling. Now every non-masked Haskell package is included.