FreeBSD Bugzilla – Attachment 235635 Details for
Bug 265576
lang/sbcl: Unbreak build with core compression enabled, add sb-simd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sbcl.diff
sbcl.diff (text/plain), 4.63 KB, created by
Dmitri Goutnik
on 2022-08-02 14:58:08 UTC
(
hide
)
Description:
sbcl.diff
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2022-08-02 14:58:08 UTC
Size:
4.63 KB
patch
obsolete
>diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile >index 70d38dc84cc2..0634042bbdef 100644 >--- a/lang/sbcl/Makefile >+++ b/lang/sbcl/Makefile >@@ -5,6 +5,7 @@ > PORTNAME= sbcl > DISTVERSION= 2.2.7 > DISTVERSIONSUFFIX= -source >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= lang lisp > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} \ >@@ -33,8 +34,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > PORTDOCS= * > > # All options explained into file: ${WRKSRC}/base-target-features.lisp-expr >-OPTIONS_DEFINE= DOCS LINKABLE_RUNTIME QSHOW SAFEPOINT THREADS UNICODE \ >- XREF ZLIB >+OPTIONS_DEFINE= COMPRESSION DOCS LINKABLE_RUNTIME QSHOW SAFEPOINT THREADS UNICODE \ >+ XREF > OPTIONS_DEFAULT= SBCL THREADS UNICODE > > OPTIONS_SINGLE= BOOTSTRAP >@@ -45,6 +46,7 @@ ABCL_DESC= Armed Bear Common Lisp > BOOTSTRAP_DESC= Supported languages of the build host > CCL_DESC= Clozure Common Lisp > CMUCL_DESC= Carnegie Mellon University Common Lisp >+COMPRESSION_DESC= Enable core compression > LINKABLE_RUNTIME_DESC= Enable SB-LINKABLE-RUNTIME feature (experimental) > QSHOW_DESC= C runtime with low-level debugging output > SAFEPOINT_DESC= Using safepoints instead of signals >@@ -60,6 +62,11 @@ CCL_VARS= XC_HOST="ccl --no-init --batch --quiet" > CMUCL_BUILD_DEPENDS= lisp:lang/cmucl > CMUCL_VARS= XC_HOST="lisp -nositeinit -noinit -batch -quiet" > >+COMPRESSION_LIB_DEPENDS= libzstd.so:archivers/zstd >+COMPRESSION_USES= localbase:ldflags >+COMPRESSION_VARS= MAKE_SH_ARGS+="--with-sb-core-compression" >+COMPRESSION_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression" >+ > DOCS_VARS= INFO="asdf sbcl" > > LINKABLE_RUNTIME_VARS= MAKE_SH_ARGS+="--with-sb-linkable-runtime" >@@ -84,9 +91,6 @@ UNICODE_VARS_OFF= MAKE_SH_ARGS+="--without-sb-unicode" > XREF_VARS= MAKE_SH_ARGS+="--with-sb-xref-for-internals" > XREF_VARS_OFF= MAKE_SH_ARGS+="--without-sb-xref-for-internals" > >-ZLIB_VARS= MAKE_SH_ARGS+="--with-sb-core-compression" >-ZLIB_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression" >- > BOOTVERSION= 1.2.7 > CONMODULES= asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \ > sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr \ >@@ -129,7 +133,7 @@ post-patch: > ${WRKSRC}/doc/manual/start-stop.texinfo > > do-build: >- (cd ${WRKSRC} && ${SH} make.sh ${MAKE_SH_ARGS}) >+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LINKFLAGS="${LDFLAGS}" ${SH} make.sh ${MAKE_SH_ARGS}) > > post-build-DOCS-on: > ${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html >@@ -147,6 +151,10 @@ do-install: > ${INSTALL_DATA} ${WRKSRC}/contrib/${M}/*.[la]* \ > ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${M}/ > .endfor >+ # sb-simd has its code in './code' >+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/sb-simd >+ ${INSTALL_DATA} ${WRKSRC}/contrib/sb-simd/code/*.[la]* \ >+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/sb-simd/ > ${INSTALL_DATA} ${WRKDIR}/sbclrc ${STAGEDIR}${PREFIX}/etc/sbclrc.sample > > post-install: >diff --git a/lang/sbcl/pkg-plist b/lang/sbcl/pkg-plist >index 1f3ea906ccff..f90c0426ce24 100644 >--- a/lang/sbcl/pkg-plist >+++ b/lang/sbcl/pkg-plist >@@ -79,6 +79,8 @@ lib/sbcl/contrib/sb-rotate-byte.asd > lib/sbcl/contrib/sb-rotate-byte.fasl > lib/sbcl/contrib/sb-rt.asd > lib/sbcl/contrib/sb-rt.fasl >+lib/sbcl/contrib/sb-simd.asd >+lib/sbcl/contrib/sb-simd.fasl > lib/sbcl/contrib/sb-simple-streams.asd > lib/sbcl/contrib/sb-simple-streams.fasl > lib/sbcl/contrib/sb-sprof.asd >@@ -181,6 +183,35 @@ lib/sbcl/sb-rotate-byte/x86-64-vm.lisp > lib/sbcl/sb-rotate-byte/x86-vm.lisp > lib/sbcl/sb-rt/rt.lisp > lib/sbcl/sb-rt/sb-rt.asd >+lib/sbcl/sb-simd/constants.lisp >+lib/sbcl/sb-simd/cpu-identification.lisp >+lib/sbcl/sb-simd/define-arefs.lisp >+lib/sbcl/sb-simd/define-associatives.lisp >+lib/sbcl/sb-simd/define-comparisons.lisp >+lib/sbcl/sb-simd/define-custom-vops.lisp >+lib/sbcl/sb-simd/define-fake-vops.lisp >+lib/sbcl/sb-simd/define-ifs.lisp >+lib/sbcl/sb-simd/define-instruction-vops.lisp >+lib/sbcl/sb-simd/define-instructions.lisp >+lib/sbcl/sb-simd/define-modify-macros.lisp >+lib/sbcl/sb-simd/define-reducers.lisp >+lib/sbcl/sb-simd/define-reffers.lisp >+lib/sbcl/sb-simd/define-rounders.lisp >+lib/sbcl/sb-simd/define-scalar-casts.lisp >+lib/sbcl/sb-simd/define-simd-casts.lisp >+lib/sbcl/sb-simd/define-types.lisp >+lib/sbcl/sb-simd/define-unequals.lisp >+lib/sbcl/sb-simd/define-vop-functions.lisp >+lib/sbcl/sb-simd/define-vref-vops.lisp >+lib/sbcl/sb-simd/define-vrefs.lisp >+lib/sbcl/sb-simd/instruction-set-case.lisp >+lib/sbcl/sb-simd/instruction-set.lisp >+lib/sbcl/sb-simd/missing-instruction.lisp >+lib/sbcl/sb-simd/packages.lisp >+lib/sbcl/sb-simd/printable.lisp >+lib/sbcl/sb-simd/record.lisp >+lib/sbcl/sb-simd/sb-simd.asd >+lib/sbcl/sb-simd/utilities.lisp > lib/sbcl/sb-simple-streams/classes.lisp > lib/sbcl/sb-simple-streams/direct.lisp > lib/sbcl/sb-simple-streams/file.lisp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dmgk
:
maintainer-approval?
(
krion
)
Actions:
View
|
Diff
Attachments on
bug 265576
: 235635 |
235684