Lines 5-10
Link Here
|
5 |
PORTNAME= sbcl |
5 |
PORTNAME= sbcl |
6 |
DISTVERSION= 2.2.7 |
6 |
DISTVERSION= 2.2.7 |
7 |
DISTVERSIONSUFFIX= -source |
7 |
DISTVERSIONSUFFIX= -source |
|
|
8 |
PORTREVISION= 1 |
8 |
PORTEPOCH= 1 |
9 |
PORTEPOCH= 1 |
9 |
CATEGORIES= lang lisp |
10 |
CATEGORIES= lang lisp |
10 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} \ |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} \ |
Lines 33-40
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
Link Here
|
33 |
PORTDOCS= * |
34 |
PORTDOCS= * |
34 |
|
35 |
|
35 |
# All options explained into file: ${WRKSRC}/base-target-features.lisp-expr |
36 |
# All options explained into file: ${WRKSRC}/base-target-features.lisp-expr |
36 |
OPTIONS_DEFINE= DOCS LINKABLE_RUNTIME QSHOW SAFEPOINT THREADS UNICODE \ |
37 |
OPTIONS_DEFINE= COMPRESSION DOCS LINKABLE_RUNTIME QSHOW SAFEPOINT SIMD THREADS UNICODE \ |
37 |
XREF ZLIB |
38 |
XREF |
38 |
OPTIONS_DEFAULT= SBCL THREADS UNICODE |
39 |
OPTIONS_DEFAULT= SBCL THREADS UNICODE |
39 |
|
40 |
|
40 |
OPTIONS_SINGLE= BOOTSTRAP |
41 |
OPTIONS_SINGLE= BOOTSTRAP |
Lines 45-53
ABCL_DESC= Armed Bear Common Lisp
Link Here
|
45 |
BOOTSTRAP_DESC= Supported languages of the build host |
46 |
BOOTSTRAP_DESC= Supported languages of the build host |
46 |
CCL_DESC= Clozure Common Lisp |
47 |
CCL_DESC= Clozure Common Lisp |
47 |
CMUCL_DESC= Carnegie Mellon University Common Lisp |
48 |
CMUCL_DESC= Carnegie Mellon University Common Lisp |
|
|
49 |
COMPRESSION_DESC= Enable core compression |
48 |
LINKABLE_RUNTIME_DESC= Enable SB-LINKABLE-RUNTIME feature (experimental) |
50 |
LINKABLE_RUNTIME_DESC= Enable SB-LINKABLE-RUNTIME feature (experimental) |
49 |
QSHOW_DESC= C runtime with low-level debugging output |
51 |
QSHOW_DESC= C runtime with low-level debugging output |
50 |
SAFEPOINT_DESC= Using safepoints instead of signals |
52 |
SAFEPOINT_DESC= Using safepoints instead of signals |
|
|
53 |
SIMD_DESC= Enable SB-SIMD (requires CPUs supporting AVX2) |
51 |
SBCL_DESC= Steel Bank Common Lisp |
54 |
SBCL_DESC= Steel Bank Common Lisp |
52 |
XREF_DESC= XREF data for SBCL internals |
55 |
XREF_DESC= XREF data for SBCL internals |
53 |
|
56 |
|
Lines 60-65
CCL_VARS= XC_HOST="ccl --no-init --batch --quiet"
Link Here
|
60 |
CMUCL_BUILD_DEPENDS= lisp:lang/cmucl |
63 |
CMUCL_BUILD_DEPENDS= lisp:lang/cmucl |
61 |
CMUCL_VARS= XC_HOST="lisp -nositeinit -noinit -batch -quiet" |
64 |
CMUCL_VARS= XC_HOST="lisp -nositeinit -noinit -batch -quiet" |
62 |
|
65 |
|
|
|
66 |
COMPRESSION_LIB_DEPENDS= libzstd.so:archivers/zstd |
67 |
COMPRESSION_USES= localbase:ldflags |
68 |
COMPRESSION_VARS= MAKE_SH_ARGS+="--with-sb-core-compression" |
69 |
COMPRESSION_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression" |
70 |
|
63 |
DOCS_VARS= INFO="asdf sbcl" |
71 |
DOCS_VARS= INFO="asdf sbcl" |
64 |
|
72 |
|
65 |
LINKABLE_RUNTIME_VARS= MAKE_SH_ARGS+="--with-sb-linkable-runtime" |
73 |
LINKABLE_RUNTIME_VARS= MAKE_SH_ARGS+="--with-sb-linkable-runtime" |
Lines 75-80
SAFEPOINT_VARS_OFF= MAKE_SH_ARGS+="--without-sb-safepoint --without-sb-thruption
Link Here
|
75 |
SBCL_DISTFILES= ${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}-binary${EXTRACT_SUFX}:binaries |
83 |
SBCL_DISTFILES= ${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}-binary${EXTRACT_SUFX}:binaries |
76 |
SBCL_VARS= XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/sbcl.core --noinform --disable-debugger --no-sysinit --no-userinit" |
84 |
SBCL_VARS= XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/sbcl.core --noinform --disable-debugger --no-sysinit --no-userinit" |
77 |
|
85 |
|
|
|
86 |
SIMD_VARS= MAKE_SH_ARGS+="--with-sb-simd" |
87 |
SIMD_VARS_OFF= MAKE_SH_ARGS+="--without-sb-simd" |
88 |
|
78 |
THREADS_VARS= MAKE_SH_ARGS+="--with-sb-thread" |
89 |
THREADS_VARS= MAKE_SH_ARGS+="--with-sb-thread" |
79 |
THREADS_VARS_OFF= MAKE_SH_ARGS+="--without-sb-thread" |
90 |
THREADS_VARS_OFF= MAKE_SH_ARGS+="--without-sb-thread" |
80 |
|
91 |
|
Lines 84-92
UNICODE_VARS_OFF= MAKE_SH_ARGS+="--without-sb-unicode"
Link Here
|
84 |
XREF_VARS= MAKE_SH_ARGS+="--with-sb-xref-for-internals" |
95 |
XREF_VARS= MAKE_SH_ARGS+="--with-sb-xref-for-internals" |
85 |
XREF_VARS_OFF= MAKE_SH_ARGS+="--without-sb-xref-for-internals" |
96 |
XREF_VARS_OFF= MAKE_SH_ARGS+="--without-sb-xref-for-internals" |
86 |
|
97 |
|
87 |
ZLIB_VARS= MAKE_SH_ARGS+="--with-sb-core-compression" |
|
|
88 |
ZLIB_VARS_OFF= MAKE_SH_ARGS+="--without-sb-core-compression" |
89 |
|
90 |
BOOTVERSION= 1.2.7 |
98 |
BOOTVERSION= 1.2.7 |
91 |
CONMODULES= asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \ |
99 |
CONMODULES= asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \ |
92 |
sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr \ |
100 |
sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr \ |
Lines 112-117
PLIST_SUB+= LINKABLE_RUNTIME=""
Link Here
|
112 |
PLIST_SUB+= LINKABLE_RUNTIME="@comment " |
120 |
PLIST_SUB+= LINKABLE_RUNTIME="@comment " |
113 |
.endif |
121 |
.endif |
114 |
|
122 |
|
|
|
123 |
.if ${PORT_OPTIONS:MSIMD} |
124 |
PLIST_SUB+= SIMD="" |
125 |
.else |
126 |
PLIST_SUB+= SIMD="@comment " |
127 |
.endif |
128 |
|
115 |
# for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1" |
129 |
# for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1" |
116 |
.if defined (PLUS_BOOTSTRAPS) |
130 |
.if defined (PLUS_BOOTSTRAPS) |
117 |
. for B in ${SBCL_BOOT_LIST} |
131 |
. for B in ${SBCL_BOOT_LIST} |
Lines 129-135
post-patch:
Link Here
|
129 |
${WRKSRC}/doc/manual/start-stop.texinfo |
143 |
${WRKSRC}/doc/manual/start-stop.texinfo |
130 |
|
144 |
|
131 |
do-build: |
145 |
do-build: |
132 |
(cd ${WRKSRC} && ${SH} make.sh ${MAKE_SH_ARGS}) |
146 |
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LINKFLAGS="${LDFLAGS}" ${SH} make.sh ${MAKE_SH_ARGS}) |
133 |
|
147 |
|
134 |
post-build-DOCS-on: |
148 |
post-build-DOCS-on: |
135 |
${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html |
149 |
${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html |
Lines 147-152
do-install:
Link Here
|
147 |
${INSTALL_DATA} ${WRKSRC}/contrib/${M}/*.[la]* \ |
161 |
${INSTALL_DATA} ${WRKSRC}/contrib/${M}/*.[la]* \ |
148 |
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${M}/ |
162 |
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${M}/ |
149 |
.endfor |
163 |
.endfor |
|
|
164 |
.if ${PORT_OPTIONS:MSIMD} |
165 |
# sb-simd has its code in './code' |
166 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/sb-simd |
167 |
${INSTALL_DATA} ${WRKSRC}/contrib/sb-simd/code/*.[la]* \ |
168 |
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/sb-simd/ |
169 |
.endif |
150 |
${INSTALL_DATA} ${WRKDIR}/sbclrc ${STAGEDIR}${PREFIX}/etc/sbclrc.sample |
170 |
${INSTALL_DATA} ${WRKDIR}/sbclrc ${STAGEDIR}${PREFIX}/etc/sbclrc.sample |
151 |
|
171 |
|
152 |
post-install: |
172 |
post-install: |