Remove i386 support from ghc-9.2.2
Our recipe for rebuilding bootstrap binaries produces binaries prone to SEGV. The platform has limited memory and was already failing to build haddocks for ghc. Consolidated PLIST back into a single file. ok kili@
This commit is contained in:
parent
b3c883b7f7
commit
a61caa7eaf
@ -1,5 +1,5 @@
|
||||
# Not yet ported to other architectures
|
||||
ONLY_FOR_ARCHS = i386 amd64
|
||||
# Not yet ported to other architectures (i386 bootstrap recipe is broken).
|
||||
ONLY_FOR_ARCHS = amd64
|
||||
|
||||
COMMENT = compiler for the functional language Haskell
|
||||
|
||||
@ -58,7 +58,7 @@ DISTFILES = ghc-${GHC_VERSION}-src.tar.xz \
|
||||
ghc-${GHC_VERSION}-testsuite.tar.xz \
|
||||
${BINDISTFILE}
|
||||
|
||||
.for m in amd64 i386
|
||||
.for m in amd64
|
||||
BINDISTFILE-$m = ghc-${BIN_VER}-$m-unknown-openbsd.tar.xz:0 \
|
||||
ghc-${BIN_VER}-shlibs-$m.tar.gz:0
|
||||
SUPDISTFILES += ${BINDISTFILE-$m}
|
||||
@ -150,15 +150,6 @@ post-extract:
|
||||
|
||||
BOOTSTRAP_SHLIBS = ${WRKDIR}/ghc-${BIN_VER}-shlibs-${MACHINE_ARCH}
|
||||
|
||||
# Disables haddock as it runs out of memory on i386.
|
||||
.if ${MACHINE_ARCH:Mi386}
|
||||
HADDOCK_DOCS = NO
|
||||
PKG_ARGS = -Dno_i386=0
|
||||
.else
|
||||
HADDOCK_DOCS = YES
|
||||
PKG_ARGS = -Dno_i386=1
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
cd ${WRKDIR}/ghc-${BIN_VER} && \
|
||||
LD_LIBRARY_PATH=${BOOTSTRAP_SHLIBS} \
|
||||
@ -178,7 +169,7 @@ post-patch:
|
||||
done
|
||||
cp ${WRKSRC}/mk/build.mk{.sample,}
|
||||
echo libraries/base_CONFIGURE_OPTS+=--configure-option=--with-libcharset=no >> ${WRKSRC}/mk/build.mk
|
||||
echo HADDOCK_DOCS=${HADDOCK_DOCS} >> ${WRKSRC}/mk/build.mk
|
||||
echo HADDOCK_DOCS=YES >> ${WRKSRC}/mk/build.mk
|
||||
|
||||
do-test:
|
||||
ulimit -c 0 -n 1024 && \
|
||||
|
@ -1,12 +1,8 @@
|
||||
SHA256 (ghc/ghc-8.10.7.20220419-amd64-unknown-openbsd.tar.xz) = JFa1/AJu2bhYiL80OrKWy0li7ynmO99eCnc9nA+DjSc=
|
||||
SHA256 (ghc/ghc-8.10.7.20220419-i386-unknown-openbsd.tar.xz) = w1OGu5PNN65h6Qns9ZBLsk+nsBYlQ1ztXGtXSxhGIg8=
|
||||
SHA256 (ghc/ghc-8.10.7.20220419-shlibs-amd64.tar.gz) = zjDaNaYT1AnlqEqupIxr8aoALbQao/a3dypGrDL9X7g=
|
||||
SHA256 (ghc/ghc-8.10.7.20220419-shlibs-i386.tar.gz) = qzHMmTMgCU4J2zfO5hJD6AhbeIDQup8rROBRPvCpNKY=
|
||||
SIZE (ghc/ghc-8.10.7.20220419-amd64-unknown-openbsd.tar.xz) = 35749140
|
||||
SIZE (ghc/ghc-8.10.7.20220419-i386-unknown-openbsd.tar.xz) = 35351132
|
||||
SIZE (ghc/ghc-8.10.7.20220419-shlibs-amd64.tar.gz) = 2904669
|
||||
SIZE (ghc/ghc-8.10.7.20220419-shlibs-i386.tar.gz) = 2765026
|
||||
SHA256 (ghc/ghc-9.2.2-src.tar.xz) = kCRjpMxu5Hmvk1i5+LLuMjewPpNKHqZbbR/PPg10nqY=
|
||||
SHA256 (ghc/ghc-9.2.2-testsuite.tar.xz) = KgoVu8T9iWEZB++JHoPMHSN16wtVZtlJZd/6AI6GHLI=
|
||||
SIZE (ghc/ghc-8.10.7.20220419-amd64-unknown-openbsd.tar.xz) = 35749140
|
||||
SIZE (ghc/ghc-8.10.7.20220419-shlibs-amd64.tar.gz) = 2904669
|
||||
SIZE (ghc/ghc-9.2.2-src.tar.xz) = 23461244
|
||||
SIZE (ghc/ghc-9.2.2-testsuite.tar.xz) = 3182072
|
||||
|
File diff suppressed because it is too large
Load Diff
2886
lang/ghc/pkg/PLIST
2886
lang/ghc/pkg/PLIST
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user