Skip to content

Commit

Permalink
ghc: bump to 9.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
echawk committed Aug 10, 2024
1 parent 0b77bf8 commit 9b72325
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 23 deletions.
22 changes: 2 additions & 20 deletions langs/ghc/build
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
#!/bin/sh -e

cp mk/build.mk.sample mk/build.mk
cat >> mk/build.mk << EOF
BuildFlavor = perf-llvm
INTEGER_LIBRARY = integer-gmp
BeConservative = YES
GhcStage3HcOpts += -O3
SplitSections = YES
EOF

ffi_lib=$(pkg-config libffi --libs-only-L)
ffi_lib="${ffi_lib%% }"

./configure \
--prefix="/usr" \
--with-system-libffi \
${ffi_lib:+--with-ffi-libraries="${ffi_lib#-L}"} \
--with-ar=ar \
--with-nm=nm \
--with-objdump=objdump \
--disable-ld-override \
CONF_CC_OPTS_STAGE0=" $ffi_lib "
--disable-ld-override

sed -e 's/unknown/pc/g' llvm-targets > _
mv -f _ llvm-targets

make
make DESTDIR="$1" install
./hadrian/build install --prefix="$1/usr" -j --flavour=quickest+no_profiled_libs --docs=none --skip-depends
2 changes: 1 addition & 1 deletion langs/ghc/checksums
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f90c8d45f3a49e41ef5fc1fa89326803da4ebc185faad224e20a961932b25e388a
32f331a002001115338dfc80e4582192cc796ec6f3a6ed94dbea038a48298c35e1
1 change: 1 addition & 0 deletions langs/ghc/depends
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bash make
gmp
gnugrep make
libffi
Expand Down
2 changes: 1 addition & 1 deletion langs/ghc/sources
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://downloads.haskell.org/~ghc/9.2.7/ghc-9.2.7-src.tar.xz
https://downloads.haskell.org/~ghc/9.6.6/ghc-9.6.6-src.tar.xz
2 changes: 1 addition & 1 deletion langs/ghc/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.2.7 1
9.6.6 1

0 comments on commit 9b72325

Please sign in to comment.