summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* */*: keyword arm64 ppc64 riscv on ghc-9.2hololeap2023-11-201-1/+1
| | | | | | | | 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>
* dev-lang/ghc: Add binaries for less common archeshololeap2023-11-202-15/+28
| | | | | | | | | | | 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>
* dev-lang/ghc: Filter LTO flagshololeap2023-11-192-0/+8
| | | | | | | | | | 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>
* dev-lang/ghc: Fix python deps for docshololeap2023-11-192-15/+47
| | | | | | | | | | | | | | 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>
* dev-lang/ghc: drop dead prefix targetshololeap2023-11-191-3/+0
| | | | | | | | 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>
* */*: Unkeyword all but amd64/x86 on ghc-9.2hololeap2023-10-231-1/+1
| | | | | | | | | | 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>
* dev-lang/ghc: add 9.2.8hololeap2023-10-235-0/+1273
| | | | | Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: drop 8.10.6-r3, 9.0.2-r3hololeap2023-10-1410-2039/+0
| | | | | | | | 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>
* dev-lang/ghc: Fix spelling errorshololeap2023-10-141-3/+3
| | | | | Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: Use system sphinx-rtd-themehololeap2023-10-141-0/+17
| | | | | | | | | | | | 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>
* dev-lang/ghc: Update PYTHON_COMPAThololeap2023-10-143-3/+3
| | | | | Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: Turn USE=doc off by defaulthololeap2023-10-143-3/+3
| | | | | | | | | | | 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>
* dev-lang/ghc: drop dead prefix targetsSam James2023-05-293-9/+0
| | | | | | The removal was already done, so this is just cleanup afterwards. Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: fix DoubleEmptyLineSam James2023-05-271-1/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: repack arm64, ppc64, riscv tarballsMatoro Mahri2023-04-102-8/+8
| | | | | | | | | | 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>
* dev-lang/ghc: add arm64, ppc64, riscv binaries for 9.0.2-r4Matoro Mahri2023-03-172-11/+14
| | | | | | | 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>
* dev-lang/ghc: Stabilize for amd64hololeap2023-03-171-1/+1
| | | | | Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: Migrate to gpkg binarieshololeap2023-03-173-44/+69
| | | | | | | 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>
* dev-lang/ghc: Update binaries for ghc-9.0.2hololeap2023-02-212-11/+13
| | | | | | | | | | | | | | | | 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>
* dev-lang/ghc: conditionally apply sphinx patchhololeap2023-02-211-3/+1
| | | | | | | | | | | 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>
* dev-lang/ghc: Upgrade bundled process packagehololeap2023-02-213-0/+905
| | | | | | | | | | | | 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>
* dev-lang/ghc: Differentiate glibc vs musl binarieshololeap2023-02-212-47/+122
| | | | | | | | | 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>
* dev-lang/ghc: Force C.utf8 locale on all versionshololeap2023-02-211-0/+5
| | | | | | 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>
* dev-lang/ghc: unconditionally apply sphinx patchSam James2023-02-051-1/+3
| | | | | Closes: https://bugs.gentoo.org/890563 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: fix build w/ sphinx 6Sam James2023-02-042-0/+42
| | | | | Closes: https://bugs.gentoo.org/890563 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: bump maximum LLVM to 14Matoro Mahri2023-02-012-2/+18
| | | | | | | | | 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>
* dev-lang/ghc: depend on libffi[-exec-static-trampoline]hololeap2023-01-211-1/+1
| | | | | | | | | | | 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>
* */*: remove py3.8 from PYTHON_COMPATDavid Seifert2023-01-142-4/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* dev-lang/ghc: drop 8.10.6Jack Todaro2022-11-251-819/+0
| | | | | | Signed-off-by: Jack Todaro <solpeth@posteo.org> Closes: https://github.com/gentoo/gentoo/pull/28394 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: sync from ::haskell (clang-16 workaround)Jack Todaro2022-11-253-0/+850
| | | | | Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: drop 9.0.2Jack Todaro2022-11-252-857/+0
| | | | | Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: sync from ::haskell (clang-16 workaround)Jack Todaro2022-11-252-0/+880
| | | | | Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: update bootstrap binaryJack Todaro2022-10-152-2/+2
| | | | | | | | | | | | | 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>
* dev-lang/ghc: move large patch out of FILESDIRSam James2022-10-083-800/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: keyword 9.0.2 for ~riscvmatoro2022-10-065-4/+897
| | | | | Closes: https://bugs.gentoo.org/866143 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* dev-lang/ghc: drop eutilsSam James2022-10-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: cleanup obsolete LLVM slots; conditionalise llvm_pkg_setup callSam James2022-08-311-6/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: keyword 9.0.2 for ~arm64matoro2022-08-314-6/+62
| | | | | Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: remove unused patchesMichael Mair-Keimberger2022-08-313-48/+0
| | | | | | | 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>
* dev-lang/ghc: add big-endian ppc64 binarymatoro2022-08-213-22/+46
| | | | | | | | | | | 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>
* dev-lang/ghc: remove prebuilt libHScontainers from sourcesmatoro2022-08-182-1/+6
| | | | | | | | | | | | | | | | | | | | 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>
* dev-lang/ghc: sync 8.10.6 from ::haskellmatoro2022-08-141-2/+10
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26864 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: drop 8.8.4-r1, 8.10.4-r1matoro2022-08-148-1755/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: Fixed symlink creation to non-existent directoryJaak Ristioja2022-07-301-0/+1
| | | | | | | | | [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>
* dev-lang/ghc: add github upstream metadataSam James2022-07-291-0/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: drop 8.10.5-r1, 9.0.1-r1Sam James2022-07-233-1630/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: drop unnecessary eclassesSam James2022-07-221-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: fix removing debuginfoSam James2022-07-221-1/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: keyword 9.0.2 for ~amd64, ~ppc64, ~x86matoro2022-07-223-17/+51
| | | | | | Closes: https://bugs.gentoo.org/583400 Signed-off-by: matoro <matoro@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/ghc: add 9.0.2 (no keywords)Jack Todaro2022-07-047-0/+945
| | | | | | | Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jack Todaro <solpeth@posteo.org> Closes: https://github.com/gentoo/gentoo/pull/24042 Signed-off-by: Sam James <sam@gentoo.org>