View | Details | Raw Unified | Return to bug 265576 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/sbcl/Makefile (-6 / +26 lines)
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:
(-)b/lang/sbcl/pkg-plist (+31 lines)
Lines 79-84 lib/sbcl/contrib/sb-rotate-byte.asd Link Here
79
lib/sbcl/contrib/sb-rotate-byte.fasl
79
lib/sbcl/contrib/sb-rotate-byte.fasl
80
lib/sbcl/contrib/sb-rt.asd
80
lib/sbcl/contrib/sb-rt.asd
81
lib/sbcl/contrib/sb-rt.fasl
81
lib/sbcl/contrib/sb-rt.fasl
82
%%SIMD%%lib/sbcl/contrib/sb-simd.asd
83
%%SIMD%%lib/sbcl/contrib/sb-simd.fasl
82
lib/sbcl/contrib/sb-simple-streams.asd
84
lib/sbcl/contrib/sb-simple-streams.asd
83
lib/sbcl/contrib/sb-simple-streams.fasl
85
lib/sbcl/contrib/sb-simple-streams.fasl
84
lib/sbcl/contrib/sb-sprof.asd
86
lib/sbcl/contrib/sb-sprof.asd
Lines 181-186 lib/sbcl/sb-rotate-byte/x86-64-vm.lisp Link Here
181
lib/sbcl/sb-rotate-byte/x86-vm.lisp
183
lib/sbcl/sb-rotate-byte/x86-vm.lisp
182
lib/sbcl/sb-rt/rt.lisp
184
lib/sbcl/sb-rt/rt.lisp
183
lib/sbcl/sb-rt/sb-rt.asd
185
lib/sbcl/sb-rt/sb-rt.asd
186
%%SIMD%%lib/sbcl/sb-simd/constants.lisp
187
%%SIMD%%lib/sbcl/sb-simd/cpu-identification.lisp
188
%%SIMD%%lib/sbcl/sb-simd/define-arefs.lisp
189
%%SIMD%%lib/sbcl/sb-simd/define-associatives.lisp
190
%%SIMD%%lib/sbcl/sb-simd/define-comparisons.lisp
191
%%SIMD%%lib/sbcl/sb-simd/define-custom-vops.lisp
192
%%SIMD%%lib/sbcl/sb-simd/define-fake-vops.lisp
193
%%SIMD%%lib/sbcl/sb-simd/define-ifs.lisp
194
%%SIMD%%lib/sbcl/sb-simd/define-instruction-vops.lisp
195
%%SIMD%%lib/sbcl/sb-simd/define-instructions.lisp
196
%%SIMD%%lib/sbcl/sb-simd/define-modify-macros.lisp
197
%%SIMD%%lib/sbcl/sb-simd/define-reducers.lisp
198
%%SIMD%%lib/sbcl/sb-simd/define-reffers.lisp
199
%%SIMD%%lib/sbcl/sb-simd/define-rounders.lisp
200
%%SIMD%%lib/sbcl/sb-simd/define-scalar-casts.lisp
201
%%SIMD%%lib/sbcl/sb-simd/define-simd-casts.lisp
202
%%SIMD%%lib/sbcl/sb-simd/define-types.lisp
203
%%SIMD%%lib/sbcl/sb-simd/define-unequals.lisp
204
%%SIMD%%lib/sbcl/sb-simd/define-vop-functions.lisp
205
%%SIMD%%lib/sbcl/sb-simd/define-vref-vops.lisp
206
%%SIMD%%lib/sbcl/sb-simd/define-vrefs.lisp
207
%%SIMD%%lib/sbcl/sb-simd/instruction-set-case.lisp
208
%%SIMD%%lib/sbcl/sb-simd/instruction-set.lisp
209
%%SIMD%%lib/sbcl/sb-simd/missing-instruction.lisp
210
%%SIMD%%lib/sbcl/sb-simd/packages.lisp
211
%%SIMD%%lib/sbcl/sb-simd/printable.lisp
212
%%SIMD%%lib/sbcl/sb-simd/record.lisp
213
%%SIMD%%lib/sbcl/sb-simd/sb-simd.asd
214
%%SIMD%%lib/sbcl/sb-simd/utilities.lisp
184
lib/sbcl/sb-simple-streams/classes.lisp
215
lib/sbcl/sb-simple-streams/classes.lisp
185
lib/sbcl/sb-simple-streams/direct.lisp
216
lib/sbcl/sb-simple-streams/direct.lisp
186
lib/sbcl/sb-simple-streams/file.lisp
217
lib/sbcl/sb-simple-streams/file.lisp

Return to bug 265576