summaryrefslogtreecommitdiff
path: root/dev-lang/ghc
AgeCommit message (Collapse)Author
2025-09-15dev-lang/ghc: consistently spell C.UTF-8Sam James
Bug: https://bugs.gentoo.org/962878 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-21dev-lang/ghc: use stdlib malloc and realloc to gcc-15 compile errorYiyang Wu
Closes: https://bugs.gentoo.org/946695 Closes: https://github.com/gentoo/gentoo/pull/41899 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
2025-05-21dev-lang/ghc: correct binary's ld for building under RAPYiyang Wu
Closes: https://bugs.gentoo.org/911720 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
2024-12-11Move {sys-devel → llvm-core}/llvmMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-10-01dev-lang/ghc: Drop stable keywordsMatt Turner
Depends on dev-haskell/* packages, which are losing stable keywords. Signed-off-by: Matt Turner <mattst88@gentoo.org>
2023-11-20*/*: keyword arm64 ppc64 riscv on ghc-9.2hololeap
This reverts commit dda3d53e486595616e93ce6096b478df4299cb42. Signed-off-by: hololeap <hololeap@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33909 Signed-off-by: Sam James <sam@gentoo.org>
2023-11-20dev-lang/ghc: Add binaries for less common archeshololeap
Add binaries for arm64, ppc64, and riscv Add code to handle discrepencies between binaries uploaded by hololeap and binaries uploaded by matoro. Thanks-to: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-11-19dev-lang/ghc: Filter LTO flagshololeap
LTO does not seem to be supported upstream. Add 'filter-lto' and 'append-flags -fno-strict-aliasing' to src_configure. See: http://brandon.si/code/initial-hacking-of-ghc-for-gcc-link-time-optimization/ Closes: https://bugs.gentoo.org/855596 Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-11-19dev-lang/ghc: Fix python deps for docshololeap
Add python_gen_any_dep and python_check_deps to correctly resolve python dependencies (needed for building documentation) See: https://projects.gentoo.org/python/guide/any.html See: d53d537ffcafbf92c3d364db95427303ecf6aed1 Closes: https://bugs.gentoo.org/915722 Closes: https://bugs.gentoo.org/915884 Closes: https://bugs.gentoo.org/915227 Thanks-to: Sam James <sam@gentoo.org> Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-11-19dev-lang/ghc: drop dead prefix targetshololeap
The commit was applied to ghc-9.0.2, but never was applied to ghc-9.2.8. See: 591a09ad99fedae83904a0b641078e2eb9e883ee Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-23*/*: Unkeyword all but amd64/x86 on ghc-9.2hololeap
ghc-9.2.8 does not have binaries for other platforms, so it does not make sense to keyword those platforms until someone can provide binaries for them. Signed-off-by: hololeap <hololeap@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33150 Signed-off-by: Sam James <sam@gentoo.org>
2023-10-23dev-lang/ghc: add 9.2.8hololeap
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-14dev-lang/ghc: drop 8.10.6-r3, 9.0.2-r3hololeap
Remove unused patches Signed-off-by: hololeap <hololeap@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33254 Signed-off-by: Sam James <sam@gentoo.org>
2023-10-14dev-lang/ghc: Fix spelling errorshololeap
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-14dev-lang/ghc: Use system sphinx-rtd-themehololeap
This allows sphinx-7 to build the GHC user's guide The upstream rtd-theme that is bundled with GHC has been updated but none of our GHC versions contain this fix. See: https://gitlab.haskell.org/ghc/ghc/-/commit/70526f5bd8886126f49833ef20604a2c6477780a Closes: https://bugs.gentoo.org/906784 Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-14dev-lang/ghc: Update PYTHON_COMPAThololeap
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-10-14dev-lang/ghc: Turn USE=doc off by defaulthololeap
This flag has been turned on by default historically, but has been causing problems due to compatibility issues with newer sphinx. Other packages in dev-lang do not have USE=doc turned on by default. Bug: https://bugs.gentoo.org/906784 Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-05-29dev-lang/ghc: drop dead prefix targetsSam James
The removal was already done, so this is just cleanup afterwards. Signed-off-by: Sam James <sam@gentoo.org>
2023-05-27dev-lang/ghc: fix DoubleEmptyLineSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-04-10dev-lang/ghc: repack arm64, ppc64, riscv tarballsMatoro Mahri
The new gpkg changes actually changed the expexted structure of the bootstrap binpkgs, now under ${P}/image. Closes: https://bugs.gentoo.org/902007 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30358 Signed-off-by: Sam James <sam@gentoo.org>
2023-03-17dev-lang/ghc: add arm64, ppc64, riscv binaries for 9.0.2-r4Matoro Mahri
Bug: https://bugs.gentoo.org/893524 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30136 Signed-off-by: Sam James <sam@gentoo.org>
2023-03-17dev-lang/ghc: Stabilize for amd64hololeap
Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-03-17dev-lang/ghc: Migrate to gpkg binarieshololeap
Use newer gpkg format for binaries, compressed with XZ. Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-02-21dev-lang/ghc: Update binaries for ghc-9.0.2hololeap
Updates to the amd64 and x86 binaries were built using quickpkg =dev-lang/ghc-9.0.2-r4 Keywords and binary packages for arm64, ppc64 and riscv have been dropped pending new versions. This should prevent anyone on these platforms who are using USE=binary from accidentally using old binaries which use the old version of 'process'. Closes: https://bugs.gentoo.org/893524 Signed-off-by: hololeap <hololeap@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/29687 Signed-off-by: Sam James <sam@gentoo.org>
2023-02-21dev-lang/ghc: conditionally apply sphinx patchhololeap
The sphinx patch only applies to the source code and will cause a failure if it is applied with USE=binary (this flag disables the unpacking of the source code). This reverts commit 978a89b79928342990c7da40c43a1cc9b84d3e7e. Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-02-21dev-lang/ghc: Upgrade bundled process packagehololeap
Use process-1.6.16.0 on all versions of ghc There have been recent bug fixes in the process package which are now required by the 3.8 branch of cabal-install. See: https://github.com/haskell/cabal/commit/ad9e4dc3c63a293bbd89444fc356294e64766556 See: https://github.com/haskell/process/issues/226 Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-02-21dev-lang/ghc: Differentiate glibc vs musl binarieshololeap
GHC binaries built for glibc do not seem to play nice on musl systems. This separates the two so musl binaries can later be built/uploaded. Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1368 Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-02-21dev-lang/ghc: Force C.utf8 locale on all versionshololeap
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1289 Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-02-05dev-lang/ghc: unconditionally apply sphinx patchSam James
Closes: https://bugs.gentoo.org/890563 Signed-off-by: Sam James <sam@gentoo.org>
2023-02-04dev-lang/ghc: fix build w/ sphinx 6Sam James
Closes: https://bugs.gentoo.org/890563 Signed-off-by: Sam James <sam@gentoo.org>
2023-02-01dev-lang/ghc: bump maximum LLVM to 14Matoro Mahri
Validated on arm64. Closes: https://bugs.gentoo.org/876187 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/29366 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-01-21dev-lang/ghc: depend on libffi[-exec-static-trampoline]hololeap
The 8.10 line of ghc needs USE=exec-static-trampoline turned off on libffi. The fix exists in 9.0.2 and later versions of ghc. See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155 Bug: https://bugs.gentoo.org/801109 Reported-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29195 Signed-off-by: Sam James <sam@gentoo.org>
2023-01-14*/*: remove py3.8 from PYTHON_COMPATDavid Seifert
Signed-off-by: David Seifert <soap@gentoo.org>
2022-11-25dev-lang/ghc: drop 8.10.6Jack Todaro
Signed-off-by: Jack Todaro <solpeth@posteo.org> Closes: https://github.com/gentoo/gentoo/pull/28394 Signed-off-by: Sam James <sam@gentoo.org>
2022-11-25dev-lang/ghc: sync from ::haskell (clang-16 workaround)Jack Todaro
Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
2022-11-25dev-lang/ghc: drop 9.0.2Jack Todaro
Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
2022-11-25dev-lang/ghc: sync from ::haskell (clang-16 workaround)Jack Todaro
Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
2022-10-15dev-lang/ghc: update bootstrap binaryJack Todaro
Updated bootstrap binary has been built with the upstream ModOrigin patch applied, as is applied when building ghc using default USE flags. This should resolve compilation issues for USE=binary users. Closes: https://bugs.gentoo.org/843968 Signed-off-by: Jack Todaro <solpeth@posteo.org> Closes: https://github.com/gentoo/gentoo/pull/27565 Signed-off-by: Sam James <sam@gentoo.org>
2022-10-08dev-lang/ghc: move large patch out of FILESDIRSam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-10-06dev-lang/ghc: keyword 9.0.2 for ~riscvmatoro
Closes: https://bugs.gentoo.org/866143 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2022-10-04dev-lang/ghc: drop eutilsSam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-08-31dev-lang/ghc: cleanup obsolete LLVM slots; conditionalise llvm_pkg_setup callSam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-08-31dev-lang/ghc: keyword 9.0.2 for ~arm64matoro
Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Sam James <sam@gentoo.org>
2022-08-31dev-lang/ghc: remove unused patchesMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.14 Closes: https://github.com/gentoo/gentoo/pull/26984 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2022-08-21dev-lang/ghc: add big-endian ppc64 binarymatoro
This requires a patch to work correctly on BE systems. Apply the patch unconditionally since it is already includes the appropriate checks in the code. Delete a few lines of commented-out obsolete patches. Closes: https://bugs.gentoo.org/865311 Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Closes: https://github.com/gentoo/gentoo/pull/26921 Signed-off-by: Sam James <sam@gentoo.org>
2022-08-18dev-lang/ghc: remove prebuilt libHScontainers from sourcesmatoro
At release, a prebuilt x86 binary for the libHScontainers library was accidentally included in the source tarball. This was noticed by the Fedora packagers here: https://www.mail-archive.com/search?l=ghc-devs@haskell.org&q=subject:%22Re%5C%3A+%5C%5BHaskell%5C%5D+%5C%5BANNOUNCE%5C%5D+GHC+9.0.2+released%22&o=newest&f=1 but no action was taken by upstream, so they are patching it out in their build recipe: https://src.fedoraproject.org/rpms/ghc9.0/blob/rawhide/f/ghc9.0.spec#_327 We should do the same. From looking at upstream source releases, more recent versions like the 9.2 branch do not have the same mistake, so this is specific to 9.0. Also fixes an incorrect hash that was somehow committed for the ppc64le binary. Closes: https://bugs.gentoo.org/863686 Closes: https://github.com/gentoo/gentoo/pull/26876 Signed-off-by: Sam James <sam@gentoo.org>
2022-08-14dev-lang/ghc: sync 8.10.6 from ::haskellmatoro
Closes: https://github.com/gentoo/gentoo/pull/26864 Signed-off-by: Sam James <sam@gentoo.org>
2022-08-14dev-lang/ghc: drop 8.8.4-r1, 8.10.4-r1matoro
Signed-off-by: Sam James <sam@gentoo.org>
2022-07-30dev-lang/ghc: Fixed symlink creation to non-existent directoryJaak Ristioja
[sam: USE=ghcbootstrap as noted by stikonas] Closes: https://bugs.gentoo.org/860276 Signed-off-by: Jaak Ristioja <jaak@ristioja.ee> Closes: https://github.com/gentoo/gentoo/pull/26640 Signed-off-by: Sam James <sam@gentoo.org>
2022-07-29dev-lang/ghc: add github upstream metadataSam James
Signed-off-by: Sam James <sam@gentoo.org>