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 test #9

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
d3dcea4
ghc: Update to 9.4.8 and migrate to Hadrian
GZGavinZhao Feb 16, 2024
b1d5d01
haskell-base16-bytestring: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
3bea814
haskell-splitmix: Update to v0.1.0.5
GZGavinZhao Apr 11, 2024
0545b28
haskell-zlib: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
6a50e5d
haskell-th-compat: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
4e73163
haskell-tar: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
598a227
haskell-network: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
7c49225
haskell-data-default-class: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
8e27819
haskell-setlocale: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
47fa39f
haskell-lukko: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
cbf6b64
haskell-cryptohash-sha256: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
34696a6
haskell-base64-bytestring: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
9759247
haskell-ed25519: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
f7efabe
haskell-cabal-syntax: Update to v3.8.1.0
GZGavinZhao Apr 11, 2024
693b788
haskell-regex-base: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
0677d3f
haskell-echo: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
918767f
haskell-utf8-string: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
6ad0c7b
haskell-resolv: Update to v0.2.0.2
GZGavinZhao Apr 11, 2024
738d12f
haskell-random: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
b3eb0f8
haskell-network-uri: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
31aa08c
haskell-hashable: Update to v1.4.3.0
GZGavinZhao Apr 11, 2024
15fb0e2
haskell-x11: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
43ebbab
haskell-regex-posix: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
9733f94
haskell-edit-distance: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
582ed96
haskell-http: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
32c79b9
haskell-hackage-security: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
709a4f8
xmonad: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
5f7da26
haskell-x11-xft: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
05915a7
haskell-async: Update to v2.2.5
GZGavinZhao Apr 11, 2024
bcee710
haskell-cabal-install-solver: Add at v3.8.1.0
GZGavinZhao Apr 11, 2024
82f644e
xmonad-contrib: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
9306a5a
haskell-safe-exceptions: Add at v0.1.7.4
GZGavinZhao Apr 11, 2024
606c82e
haskell-cabal-install: Update to v3.8.1.0
GZGavinZhao Apr 11, 2024
04503b6
pandoc: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
c8bb83d
shellcheck: Rebuild against GHC 9.4.8
GZGavinZhao Apr 11, 2024
942ac72
pandoc-crossref: Rebuild against GHC 9.4.8
malfisya Aug 23, 2024
06d3068
haskell-data-array-byte: Deprecate
GZGavinZhao Apr 11, 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
4 changes: 0 additions & 4 deletions packages/g/ghc/MAINTAINERS.md

This file was deleted.

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
6 changes: 6 additions & 0 deletions packages/g/ghc/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
id: 906
rss: https://gitlab.haskell.org/ghc/ghc/-/tags?format=atom
# No known CPE, checked 2024-08-23
security:
cpe: ~
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