Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell hadrian alfi #8

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
877b331
ghc: Update to 9.4.8 and migrate to Hadrian
GZGavinZhao Feb 16, 2024
c18e82b
haskell-base16-bytestring: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
e972810
haskell-splitmix: update to v0.1.0.5
GZGavinZhao Apr 11, 2024
c75d5b8
haskell-zlib: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
b47c7e5
haskell-th-compat: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
c4a364f
haskell-tar: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
a6da608
haskell-network: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
a34c2b9
haskell-data-default-class: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
340bea7
haskell-setlocale: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
3efbee9
haskell-lukko: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
7b40c0e
haskell-cryptohash-sha256: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
8a13ec3
haskell-base64-bytestring: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
e62518d
haskell-ed25519: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
0bab738
haskell-data-array-byte: remove
GZGavinZhao Apr 11, 2024
34a5bf2
haskell-cabal-syntax: update to v3.8.1.0
GZGavinZhao Apr 11, 2024
dea1622
haskell-regex-base: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
78c3868
haskell-echo: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
e09ed2b
haskell-utf8-string: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
72460fd
haskell-resolv: update to v0.2.0.2
GZGavinZhao Apr 11, 2024
f810096
haskell-random: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
342385d
haskell-network-uri: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
84e2ec0
haskell-hashable: update to v1.4.3.0
GZGavinZhao Apr 11, 2024
d226ef7
haskell-x11: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
43c47b7
haskell-regex-posix: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
dac3b7b
haskell-edit-distance: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
29d5ae2
haskell-http: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
dfef576
haskell-hackage-security: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
6d73819
xmonad: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
2d326e0
haskell-x11-xft: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
8beb3ec
haskell-async: update to v2.2.5
GZGavinZhao Apr 11, 2024
6185e5a
haskell-cabal-install-solver: initial commit, v3.8.1.0
GZGavinZhao Apr 11, 2024
19f56e7
xmonad-contrib: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
3791592
haskell-safe-exceptions: Add at v0.1.7.4
GZGavinZhao Apr 11, 2024
f37e9df
haskell-cabal-install: update to v3.8.1.0
GZGavinZhao Apr 11, 2024
0441369
pandoc: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
09c80db
shellcheck: rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
fcb0b4f
pandoc-crossref: rebuild against GHC 9.4.8
malfisya Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 39 additions & 40 deletions packages/g/ghc/abi_libs
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
libHSCabal-3.6.3.0-ghc9.2.8.so
libHSarray-0.5.4.0-ghc9.2.8.so
libHSbase-4.16.4.0-ghc9.2.8.so
libHSbinary-0.8.9.0-ghc9.2.8.so
libHSbytestring-0.11.4.0-ghc9.2.8.so
libHScontainers-0.6.5.1-ghc9.2.8.so
libHSdeepseq-1.4.6.1-ghc9.2.8.so
libHSdirectory-1.3.6.2-ghc9.2.8.so
libHSexceptions-0.10.4-ghc9.2.8.so
libHSfilepath-1.4.2.2-ghc9.2.8.so
libHSghc-9.2.8-ghc9.2.8.so
libHSghc-bignum-1.2-ghc9.2.8.so
libHSghc-boot-9.2.8-ghc9.2.8.so
libHSghc-boot-th-9.2.8-ghc9.2.8.so
libHSghc-compact-0.1.0.0-ghc9.2.8.so
libHSghc-heap-9.2.8-ghc9.2.8.so
libHSghc-prim-0.8.0-ghc9.2.8.so
libHSghci-9.2.8-ghc9.2.8.so
libHShaskeline-0.8.2-ghc9.2.8.so
libHShpc-0.6.1.0-ghc9.2.8.so
libHSinteger-gmp-1.1-ghc9.2.8.so
libHSlibiserv-9.2.8-ghc9.2.8.so
libHSmtl-2.2.2-ghc9.2.8.so
libHSparsec-3.1.15.0-ghc9.2.8.so
libHSpretty-1.1.3.6-ghc9.2.8.so
libHSprocess-1.6.16.0-ghc9.2.8.so
libHSrts-ghc9.2.8.so
libHSrts_debug-ghc9.2.8.so
libHSrts_l-ghc9.2.8.so
libHSrts_thr-ghc9.2.8.so
libHSrts_thr_debug-ghc9.2.8.so
libHSrts_thr_l-ghc9.2.8.so
libHSstm-2.5.0.2-ghc9.2.8.so
libHStemplate-haskell-2.18.0.0-ghc9.2.8.so
libHSterminfo-0.4.1.5-ghc9.2.8.so
libHStext-1.2.5.0-ghc9.2.8.so
libHStime-1.11.1.1-ghc9.2.8.so
libHStransformers-0.5.6.2-ghc9.2.8.so
libHSunix-2.7.2.2-ghc9.2.8.so
libHSxhtml-3000.2.2.1-ghc9.2.8.so
libHSCabal-3.8.1.0-ghc9.4.8.so
libHSCabal-syntax-3.8.1.0-ghc9.4.8.so
libHSarray-0.5.4.0-ghc9.4.8.so
libHSbase-4.17.2.1-ghc9.4.8.so
libHSbinary-0.8.9.1-ghc9.4.8.so
libHSbytestring-0.11.5.3-ghc9.4.8.so
libHScontainers-0.6.7-ghc9.4.8.so
libHSdeepseq-1.4.8.0-ghc9.4.8.so
libHSdirectory-1.3.7.1-ghc9.4.8.so
libHSexceptions-0.10.5-ghc9.4.8.so
libHSfilepath-1.4.2.2-ghc9.4.8.so
libHSghc-9.4.8-ghc9.4.8.so
libHSghc-bignum-1.3-ghc9.4.8.so
libHSghc-boot-9.4.8-ghc9.4.8.so
libHSghc-boot-th-9.4.8-ghc9.4.8.so
libHSghc-compact-0.1.0.0-ghc9.4.8.so
libHSghc-heap-9.4.8-ghc9.4.8.so
libHSghc-prim-0.9.1-ghc9.4.8.so
libHSghci-9.4.8-ghc9.4.8.so
libHShaskeline-0.8.2-ghc9.4.8.so
libHShpc-0.6.1.0-ghc9.4.8.so
libHSinteger-gmp-1.1-ghc9.4.8.so
libHSlibiserv-9.4.8-ghc9.4.8.so
libHSmtl-2.2.2-ghc9.4.8.so
libHSparsec-3.1.16.1-ghc9.4.8.so
libHSpretty-1.1.3.6-ghc9.4.8.so
libHSprocess-1.6.18.0-ghc9.4.8.so
libHSrts-1.0.2-ghc9.4.8.so
libHSrts-1.0.2_debug-ghc9.4.8.so
libHSrts-1.0.2_thr-ghc9.4.8.so
libHSrts-1.0.2_thr_debug-ghc9.4.8.so
libHSstm-2.5.1.0-ghc9.4.8.so
libHStemplate-haskell-2.19.0.0-ghc9.4.8.so
libHSterminfo-0.4.1.5-ghc9.4.8.so
libHStext-2.0.2-ghc9.4.8.so
libHStime-1.12.2-ghc9.4.8.so
libHStransformers-0.5.6.2-ghc9.4.8.so
libHSunix-2.7.3-ghc9.4.8.so
libHSxhtml-3000.2.2.1-ghc9.4.8.so
669,204 changes: 342,091 additions & 327,113 deletions packages/g/ghc/abi_symbols

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions packages/g/ghc/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ libc.so.6:__ctype_b_loc
libc.so.6:__cxa_atexit
libc.so.6:__environ
libc.so.6:__errno_location
libc.so.6:__isoc23_strtol
libc.so.6:__isoc23_strtoull
libc.so.6:__libc_start_main
libc.so.6:__progname
libc.so.6:__stack_chk_fail
Expand Down Expand Up @@ -113,7 +115,6 @@ libc.so.6:isatty
libc.so.6:kill
libc.so.6:killpg
libc.so.6:lchown
libc.so.6:ldexp
libc.so.6:link
libc.so.6:localtime_r
libc.so.6:lseek
Expand Down Expand Up @@ -146,6 +147,7 @@ libc.so.6:openpty
libc.so.6:pathconf
libc.so.6:pause
libc.so.6:pipe
libc.so.6:pipe2
libc.so.6:poll
libc.so.6:posix_fadvise
libc.so.6:posix_fallocate
Expand Down Expand Up @@ -243,7 +245,6 @@ libc.so.6:sigdelset
libc.so.6:sigemptyset
libc.so.6:sigfillset
libc.so.6:sigismember
libc.so.6:signal
libc.so.6:sigpending
libc.so.6:sigprocmask
libc.so.6:sigsuspend
Expand All @@ -253,6 +254,7 @@ libc.so.6:sprintf
libc.so.6:stat
libc.so.6:stat64
libc.so.6:stderr
libc.so.6:stdin
libc.so.6:stdout
libc.so.6:stpcpy
libc.so.6:strcat
Expand All @@ -268,7 +270,6 @@ libc.so.6:strnlen
libc.so.6:strrchr
libc.so.6:strtod
libc.so.6:strtol
libc.so.6:strtoull
libc.so.6:symlink
libc.so.6:syscall
libc.so.6:sysconf
Expand All @@ -282,9 +283,6 @@ libc.so.6:tcsetattr
libc.so.6:tcsetpgrp
libc.so.6:telldir
libc.so.6:time
libc.so.6:timer_create
libc.so.6:timer_delete
libc.so.6:timer_settime
libc.so.6:timerfd_create
libc.so.6:timerfd_settime
libc.so.6:times
Expand All @@ -299,7 +297,6 @@ libc.so.6:uselocale
libc.so.6:utime
libc.so.6:utimensat
libc.so.6:utimes
libc.so.6:vfork
libc.so.6:vfprintf
libc.so.6:vsnprintf
libc.so.6:waitpid
Expand Down
47 changes: 35 additions & 12 deletions packages/g/ghc/package.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name : ghc
version : 9.2.8
release : 10
version : 9.4.8
release : 11
source :
- https://downloads.haskell.org/~ghc/9.2.8/ghc-9.2.8-src.tar.xz : 5f13d1786bf4fd12f4b45faa37abedb5bb3f36d5e58f7da5307e8bfe88a567a1
- https://downloads.haskell.org/~ghc/9.2.8/ghc-9.2.8-testsuite.tar.xz : 4588f913f544e20e4c285f7d87ebc2181544ca680549f9eafed2a5cd19e4b532
- https://downloads.haskell.org/~ghc/9.4.8/ghc-9.4.8-src.tar.xz : 0bf407eb67fe3e3c24b0f4c8dea8cb63e07f63ca0f76cf2058565143507ab85e
- https://downloads.haskell.org/~ghc/9.4.8/ghc-9.4.8-testsuite.tar.xz : ac45dd44b097707a2717058ab2cfff22777ec0f31bfa3f54bf60e18b2dd63c95
homepage : https://www.haskell.org/ghc/
license : BSD-3-Clause
component : programming.haskell
summary : The Glasgow Haskell Compiler
Expand All @@ -12,23 +13,45 @@ description: |
builddeps :
- ghc-devel
- haskell-cabal-install
patterns : /*
networking : yes
rundeps :
- devel:
- libffi-devel
- ncurses-devel
- libffi-devel
- ncurses-devel
environment: |
unset LD_PRELOAD
export BUILD_ROOT=~/.cache/hadrian
hadrian () {
./hadrian/build --docs=none --skip-perf --build-root=$BUILD_ROOT %JOBS% $@
}
setup : |
cp $pkgfiles/build.mk mk/
tar xvf $sources/ghc-$version-testsuite.tar.xz --strip 1
./boot

cabal v2-update

mkdir -p $BUILD_ROOT
rm -f $BUILD_ROOT/hadrian.settings

./boot.source
%configure --host=x86_64-unknown-linux \
--target=x86_64-unknown-linux \
--build=x86_64-unknown-linux \
--with-system-libffi \
--with-ffi-includes="$(pkg-config --variable=includedir libffi)"
build : |
%make V=0
hadrian binary-dist-dir --docs=no-sphinx --docs=no-haddocks --flavour=perf --prefix=/usr
install : |
%make_install
pushd $BUILD_ROOT/bindist/ghc-%version%-x86_64-unknown-linux/
%configure --host=x86_64-unknown-linux \
--target=x86_64-unknown-linux \
--build=x86_64-unknown-linux \
--with-system-libffi \
--with-ffi-includes="$(pkg-config --variable=includedir libffi)"
%make_install
popd

# This will be generated by usysconf
rm $installdir/%libdir%/ghc-*/package.conf.d/package.cache*
rm $installdir/%libdir%/ghc-*/lib/package.conf.d/package.cache*
# Our LLVM is too new, needs LLVM 14
# check : |
# hadrian test --skip-perf --test-verbose=2
Loading
Loading