Open
Conversation
Update bootstrap binaries from 9.8.3.20250914 to 9.10.3.20260203.
Patches are from darcs future release.
Relax dependency bounds for brick, vty, vty-crossplatform, data-clist, random, and aeson to support GHC 9.10.3. Update cabal.inc with new dependency versions and regenerate distinfo. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
There's no obvious place outside main git repository to get the docs.
97bdd2a to
70603e7
Compare
Owner
Author
|
To make it easy to use bootstraps: --- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -44,7 +44,7 @@ BUILD_DEPENDS = archivers/bzip2 \
TEST_DEPENDS = shells/bash
SITES = https://downloads.haskell.org/ghc/${GHC_VERSION}/
-SITES.boot = https://openbsd.dead-parrot.de/distfiles/
+SITES.boot = https://github.com/blackgnezdo/ports/releases/download/ghc-9.10.3-20260203-bootstrap/
DIST_SUBDIR = ghc
@@ -59,7 +59,7 @@ DISTFILES = ghc-${GHC_VERSION}-src.tar.xz \
DISTFILES.boot = ${BINDISTFILE-${MACHINE_ARCH}}
DISTFILES.noextract = hadrian-sources-${BIN_VER}.tar.gz
-SITES.noextract = https://openbsd.dead-parrot.de/distfiles/
+SITES.noextract = ${SITES.boot}
EXTRACT_ONLY = ${DISTFILES} ${DISTFILES.boot} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made the mistake of touching ghc upgrade before the hackathon and mere
3.5 days later it's done. This time around I had Opus record the
journey. If somebody feels inspired it's available[^1].
The full set of patches is attached. The majority of it is
machine-generated version updates. Some things are not completely boring
as git-annex and darcs needed upstream patches or even fixing things up
upstream where they didn't test it on BSDs themselves.
I'm happy to take your feedback here or in the PR if you don't mind github:
#15
Highlights beyond the usual version bumps:
from 9.8.3 to 9.10.3
removed as newer hackage versions don't include them
data-clist, random, and aeson; new patches added
All of this is tested on amd64 and I'm still building it on aarch64.
I dropped the prebuilt binaries on github so people who feel inspired
can play with them. There's a copy for kili@ in cvs:~gnezdo/snapshot
[^1] https://github.com/openbsd/ports/blob/3e2915757e9ccec8b573cf07487c0555673491df/lang/ghc/UPGRADING.md