From 9b72325d9fe5545ab46871ed52291cc199cd9d45 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 10 Aug 2024 12:15:57 -0500 Subject: [PATCH] ghc: bump to 9.6.6 --- langs/ghc/build | 22 ++-------------------- langs/ghc/checksums | 2 +- langs/ghc/depends | 1 + langs/ghc/sources | 2 +- langs/ghc/version | 2 +- 5 files changed, 6 insertions(+), 23 deletions(-) diff --git a/langs/ghc/build b/langs/ghc/build index 005316f3..85312a83 100755 --- a/langs/ghc/build +++ b/langs/ghc/build @@ -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 diff --git a/langs/ghc/checksums b/langs/ghc/checksums index 0cc8b2a6..96868f86 100644 --- a/langs/ghc/checksums +++ b/langs/ghc/checksums @@ -1 +1 @@ -f90c8d45f3a49e41ef5fc1fa89326803da4ebc185faad224e20a961932b25e388a +32f331a002001115338dfc80e4582192cc796ec6f3a6ed94dbea038a48298c35e1 diff --git a/langs/ghc/depends b/langs/ghc/depends index a1cb50cd..71a8553c 100644 --- a/langs/ghc/depends +++ b/langs/ghc/depends @@ -1,3 +1,4 @@ +bash make gmp gnugrep make libffi diff --git a/langs/ghc/sources b/langs/ghc/sources index 6eec0f08..8a71b984 100644 --- a/langs/ghc/sources +++ b/langs/ghc/sources @@ -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 diff --git a/langs/ghc/version b/langs/ghc/version index 80b05ff6..066f8883 100644 --- a/langs/ghc/version +++ b/langs/ghc/version @@ -1 +1 @@ -9.2.7 1 +9.6.6 1