283 Commits

Author SHA1 Message Date
gnezdo c55e008906 Rebuild lang/ghc bootstrap on Mar 14 7.9 snapshot
OK kili@
2026-03-21 15:31:43 +00:00
gnezdo a6c52bff3a Fix up distinfo size mismatch in lang/ghc (sha256 was OK)
Noted by naddy@
2026-02-17 03:24:40 +00:00
gnezdo 9d3ad36d02 Update lang/ghc to 9.10.3
Update bootstrap binaries from 9.8.3.20250914 to 9.10.3.20260203.

OK kili@
2026-02-15 23:34:51 +00:00
gnezdo 31ea99c9a2 Rebuild lang/ghc bootstrap for 7.8
OK kili@
2025-09-16 17:56:12 +00:00
kili 6419162336 Use new ghc bootstraps.
aarch64 done by sthen@. Thanks!

And sorry for the delay, but there was an earthquake, a terrible
flood, locusts...
2025-08-07 18:58:44 +00:00
kili ac68ff2b0a Set a new BOOTSTRAP_DATE.
As the comment says, the value is only used to get different distfile
names.

I will build a new bootstrap for amd64. For aarch64, it would be
nice if someone else could do it.
2025-07-21 20:40:09 +00:00
gnezdo 0c907ef02e Repackage ghc bootstrap for 7.7
Tested by kili@
2025-03-21 00:46:00 +00:00
sthen 3b6e41722a retire MODPY_BIN_SUFFIX, there are no Python 2 ports using it, and it
has been set to <empty> on py3 ports since Feb 2021, since when there
has been enough churn that existing PLIST entries etc referencing it
are not trustworthy. no change to python-module(5) needed as it wasn't
documented there anyway.
2024-12-18 19:20:36 +00:00
gnezdo e07c358d32 Update lang/ghc to 9.8.3, add arm64 along the way
* Fix ghc and cabal-install version numbers in the cabal module.
* Remove i386 as it has long being gone.
* Remove unused since switching to hadrian MAKE_FLAGS.

The major effort bootstrapping the cross-compiler by Habib Alamin
ha.alamin at gmail. Thanks a lot!

OK jturner@ kili@

Tested by jturner@, phessler@, tb@
2024-12-04 01:22:47 +00:00
gnezdo f162e3124b Remove unused outdated bootstrap.mk file 2024-07-10 06:48:40 +00:00
gnezdo 376f5e8251 Update lang/ghc to 9.6.6
* Avoid -Wstrict-prototypes diagnostics
* Switch to the rebuilt 9.6.6 bootstrap
* Backport of https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12975

OK kili@
2024-07-10 06:48:12 +00:00
sthen 41b34e2587 bump REVISION for py3.10 -> py3.11 switch 2024-05-06 12:23:44 +00:00
sthen d5b86fca32 avx512 is now supported in -current so remove the ghc patches
to check for working avx512 (the cbits patch uses xgetbv before
checking cpuid, so the test results in SIGILL on old machines)

reported/tested by James Cook
2024-05-05 17:18:53 +00:00
kili 39179968a2 Update to ghc-9.6.5.
ok gnezdo@
2024-04-19 18:53:44 +00:00
kili 70a4a44b91 New bootstrap.
Reminded by gnezdo@

(now committed to -current, sorry for the mess on OPENBSD_7_5).
2024-03-21 22:57:01 +00:00
gnezdo 5d5a180ce9 Add bash test dependency in lang/ghc
Reported by Evan Silberman.

Removed empty RUN_DEPENDS.
2024-02-25 01:46:57 +00:00
sthen 97c5bed9e1 fix previous; patch had a line commented-out which shouldn't have been,
spotted by Evan Silberman
2024-02-23 19:45:04 +00:00
sthen bb29df359f ghc (haskell/text): properly test whether AVX512 is supported. fixes SIGILL
on machines with AVX512 on OS which don't support it yet. Problem seen by
Evan Silberman and ajacoutot, fix for libraries/text/cbits/measure_off.c
from Evan.  ok gnezdo@
2024-02-23 14:05:32 +00:00
gnezdo 0b0db9c80f Fix make test in lang/ghc
OK kili@
2024-02-05 01:49:50 +00:00
gnezdo fd8e4d4c29 Remove sphinx dependency now that we no longer build lang/ghc docs
OK kili@
2024-02-05 01:49:28 +00:00
gnezdo fb36ed13b7 Work around utf8 related breakage in lang/ghc
More at https://gitlab.haskell.org/ghc/ghc/-/issues/17755

Reported and tested by naddy@
2024-01-15 17:03:59 +00:00
gnezdo 623b169538 Switch lang/ghc to 9.6.4
The massive change is due to upstream switching to a new build system
called hadrian. It needs to be bootrapped separately and its sources
are kept as a bootstrap bundle.

Documentation is no longer deemed worth packaging due to space and
time overhead compared to its utility.

Most of the work happened at h2k23, so this is a belated thank you
to University of Coimbra and the portuguese usual suspects.

OK kili@
2024-01-13 19:49:16 +00:00
kili a843cb507d Use the new ghc bootstrap. 2023-12-23 22:48:33 +00:00
gnezdo 8db19f983b New bootstrap for lang/ghc by kili@
Committing with my OK as his connectivity is bad.
2023-09-27 04:59:18 +00:00
espie 93fa758565 zap remaining MASTER_SITES0...9 2023-09-25 17:07:27 +00:00
sthen 53fe2d0608 ghc: apply upstream patch to update the old vendored copy of sphinx-rtd-theme,
fixing a build failure with sphinx >= 7 reported by tb@

It's a git binary patch which neither patch nor gpatch can handle, so sadly
a BDEP on git (for git-apply) is required, but at least it can be confined
to a single Makefile chunk, and the relevant files in ghc haven't been
touched in years, so it's easy to remove again when needed.
2023-07-11 09:49:08 +00:00
kili ca18c48bad New ghc bootstrap (and ghc itself) with nobtcfi.
Tested by semarie@, thanks!
2023-07-01 20:40:47 +00:00
kili 36390c2fba New bootstrap for ghc.
Suggested and ok gnezdo@
2023-03-17 10:40:44 +00:00
kili e0bb19cd17 Remove our pledge(2) interface patch from ghc.
It's broken since OpenBSD-6.3, nothing in the ports tree is or was
using it.

When necessary, I could easily write a separate "library" interfacing
pledge(2) and unveil(2) that then should be hosted on hackage.haskell.org.

ok gnezdo@, kn@, sthen@
2023-03-14 20:05:31 +00:00
gnezdo 418a082e7f Upgrade lang/ghc 9.2.6->9.2.7
OK kili@
2023-03-08 02:30:08 +00:00
sthen dcdd674741 regen PLISTs with new sphinx 2023-02-21 23:06:54 +00:00
sthen 1773bcdc4c ghc: backport upstream commit to fix doc gen with newer sphinx 2023-02-21 23:06:52 +00:00
gnezdo e364a15988 Suppress clang warnings about unused arguments in lang/ghc
OK kili@
2023-02-20 21:17:49 +00:00
gnezdo 23c3d554c2 Upgrade lang/ghc 9.2.5->9.2.6
OK kili@
2023-02-20 00:02:34 +00:00
gnezdo b6225432eb Add xonly workaround in lang/ghc
Some kind of info tables are embedded into text making the build
process fail in freshly built ghc-cabal. The generated code reads from
ZCMain_main_info.

OK tb, kili
2023-01-20 04:45:48 +00:00
gnezdo f8aa867fbf Upgrade lang/ghc 9.2.4->9.2.5
OK kili@
2022-12-10 23:20:13 +00:00
sthen 533f76026d regen PLISTs following py-sphinx update 2022-10-31 08:47:46 +00:00
kili 6fab5af730 Switch to bootstrap distfiles that contain current shared libs.
This still uses ghc-8.10.7 for bootstrapping (ghc-9.4 can't be used
for bootstrapping, because the make dependencies are broken).
2022-09-04 20:50:36 +00:00
sthen 9be5d24900 allow the "cp /usr/lib/libc.so.96.1 ${WRKDIR}/ghc-*-shlibs-*/" to fail 2022-09-03 19:43:17 +00:00
kili 44f9ae568f Fix build by adding part of another upstream commit. 2022-09-02 18:31:16 +00:00
gnezdo ce0ec29752 Pickup an upstream patch for booting with ghc 9.2
kili@: can't get worse
2022-08-31 12:02:53 +00:00
gnezdo 58db17fa94 Repair ghc bootstrap which broke for ghc-9.2
The ffi header files should be excluded.

Moved the bootstrap.mk into a file instead of echoing into it
repeatedly.

kili@: can't get worse
2022-08-31 12:02:29 +00:00
gnezdo 3b437d5175 Remove some outdated workaround in lang/ghc
They made sense in the past but upstream fixed the related issues.

OK kili@
2022-08-30 15:38:50 +00:00
gnezdo af653c21f2 Upgrade lang/ghc 9.2.{3->4}
OK kili@
2022-07-31 19:27:03 +00:00
sthen 0b20c3f0ea temporary repair for lang/ghc binary bootstraps (copy in libc.so.96.1 from
base after extracting; syscalls were changed such that the old copy of
libc.so.96.1 is no longer usable)
2022-07-20 15:33:17 +00:00
sthen 8311c389e4 regen PLIST following sphinx update 2022-07-07 16:23:17 +00:00
gnezdo 9e904e57c5 Upgrade lang/ghc 9.2.2->9.2.3
Mostly mechanical, except for having to run ./boot per
https://gitlab.haskell.org/ghc/ghc/-/issues/21626

Removed the %n patches merged into the release. The ./configure patch
is no longer needed and wouldn't apply due to #21626 above.

OK kili@
2022-06-03 02:48:37 +00:00
gnezdo 18684b9d06 Remove USE_WXNEEDED from lang/ghc as it's no longer needed
Verified by rebuilding on a filesystem without wxneeded and running
ghci from /usr/local with wxneeded turned off.

OK kili@
2022-06-03 02:48:07 +00:00
gnezdo 38156bbbcb Remove a forgotten lang/ghc patch for no longer supported i386
OK kili@
2022-05-19 02:10:15 +00:00
gnezdo a61caa7eaf Remove i386 support from ghc-9.2.2
Our recipe for rebuilding bootstrap binaries produces binaries prone
to SEGV. The platform has limited memory and was already failing to
build haddocks for ghc.

Consolidated PLIST back into a single file.

ok kili@
2022-04-30 02:38:16 +00:00