1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[std]= Steel Bank Common Lisp
8 HOMEPAGE= http://www.sbcl.org/
11 DOWNLOAD_GROUPS= main boot ravdist
12 SITES[main]= SF/sbcl/sbcl/2.4.8
13 SITES[ravdist]= https://leaf.dragonflybsd.org/~marino/raven-distfiles/sbcl/
14 DISTFILE[1]= sbcl-2.4.8-source.tar.bz2:main
15 DISTFILE[2]= bootstrap-sbcl-2.4.4-dragonfly-x86_64.tzst:ravdist
16 DISTFILE[3]= bootstrap-sbcl-2.4.4-Linux-amd64.tzst:ravdist
17 DISTFILE[4]= bootstrap-sbcl-2.4.4-MidnightBSD-amd64.tzst:ravdist
18 DISTFILE[5]= bootstrap-sbcl-2.4.4-NetBSD-amd64.tzst:ravdist
19 DISTFILE[6]= bootstrap-sbcl-2.4.4-FreeBSD-amd64.tzst:ravdist
25 OPTIONS_AVAILABLE= DRAGONFLY FREEBSD LINUX SUNOS NETBSD MIDNIGHT MACOS
26 CONCURRENCY SIMD CLISP
27 OPTIONS_STANDARD= DRAGONFLY FREEBSD LINUX SUNOS NETBSD MIDNIGHT MACOS
28 CONCURRENCY SIMD CLISP
29 OPTGROUP_RADIO= SYSTEM
30 OPTDESCR[SYSTEM]= Operating System
31 OPTGROUP[SYSTEM]= DRAGONFLY FREEBSD LINUX SUNOS MACOS NETBSD MIDNIGHT
32 OPT_ON[freebsd]= FREEBSD CONCURRENCY
33 OPT_ON[sunos]= SUNOS CLISP
34 OPT_ON[linux]= LINUX CONCURRENCY
35 OPT_ON[darwin]= MACOS CLISP
36 OPT_ON[netbsd]= NETBSD
37 OPT_ON[dragonfly]= DRAGONFLY
38 OPT_ON[midnightbsd]= MIDNIGHT CONCURRENCY
42 BUILD_DEPENDS= gmp:dev:std
44 BUILDRUN_DEPENDS= gmp:primary:std
46 RUN_DEPENDS= asdf:primary:std
48 USES= gmake makeinfo zlib zstd
50 LICENSE= PUBDOM:primary BSD3CLAUSE:primary MIT:primary
51 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
52 LICENSE_FILE= PUBDOM:{{WRKDIR}}/LICENSE_PUBDOM
53 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
54 MIT:{{FILESDIR}}/city.cc.license
55 LICENSE_AWK= TERMS:"^===="
56 LICENSE_SOURCE= TERMS:{{WRKSRC}}/COPYING
59 FPC_EQUIVALENT= lang/sbcl
63 CMAKE_ARGS= --prefix="{{PREFIX}}"
66 --with-sb-core-compression
67 --without-sb-xref-for-internals
68 --without-sb-safepoint
69 VAR_OPSYS[netbsd]= MAKE_ENV=SBCL_PAXCTL="{{PAXCTL}} +m"
71 [NETBSD].DESCRIPTION= Build for NetBSD
72 [NETBSD].DF_INDEX_ON= 5
74 [MIDNIGHT].DESCRIPTION= Build for MidnightBSD
75 [MIDNIGHT].DF_INDEX_ON= 4
77 [SIMD].DESCRIPTION= Enable SB-SIMD (requires AVX2 CPU)
78 [SIMD].CMAKE_ARGS_OFF= --without-sb-simd
79 [SIMD].CMAKE_ARGS_ON= --with-sb-simd
81 [MACOS].DESCRIPTION= Build for MacOS
83 [DRAGONFLY].DESCRIPTION= Build for DragonFly BSD
84 [DRAGONFLY].DF_INDEX_ON= 2
86 [FREEBSD].DESCRIPTION= Build for FreeBSD
87 [FREEBSD].DF_INDEX_ON= 6
89 [SUNOS].DESCRIPTION= Build for Solaris
91 [CONCURRENCY].DESCRIPTION= Enable thread support
92 [CONCURRENCY].CMAKE_ARGS_OFF= --without-sb-thread
93 [CONCURRENCY].CMAKE_ARGS_ON= --with-sb-thread
95 [CLISP].DESCRIPTION= Bootstrap SBCL with Clisp
96 [CLISP].BUILD_DEPENDS_ON= clisp:primary:std
97 [CLISP].CMAKE_ARGS_OFF= --xc-host={{WRKDIR}}/bootstrap/bin/sbcl
98 [CLISP].CMAKE_ARGS_ON= --xc-host=clisp
100 [LINUX].DESCRIPTION= Build for Linux
101 [LINUX].DF_INDEX_ON= 3
104 # Rename installed file sbcl.core as sbcl_core
105 ${GREP} -Frl 'sbcl.core' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|sbcl\.core|sbcl_core|g'
107 ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
108 ${WRKSRC}/src/code/toplevel.lisp \
109 ${WRKSRC}/doc/sbcl.1 \
110 ${WRKSRC}/doc/manual/start-stop.texinfo
113 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make.sh ${CMAKE_ARGS} || ${TRUE})
116 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sbcl
117 ${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/dir
118 ${RM} -rf ${STAGEDIR}${STD_DOCDIR}
121 # increase datasize limits on NetBSD
122 ulimit -d 2097152 && ulimit -a
124 post-install-SIMD-ON:
125 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/sbcl/sb-simd
126 ${INSTALL_DATA} ${WRKSRC}/contrib/sb-simd/code/*.[la]* \
127 ${STAGEDIR}${PREFIX}/lib/sbcl/sb-simd/
129 pre-build-midnightbsd:
130 # MidnightBSD 3.0 code originates from FreeBSD before the addition of ASLR
131 ${REINPLACE_CMD} '/PAXCTL/d' ${WRKSRC}/src/runtime/Config.x86-64-freebsd
134 # Extract licenses into separate files
135 ${AWK} '/^;;;; Portions of LOOP/,/;;;; specification/' \
136 ${WRKSRC}/COPYING > ${WRKDIR}/LICENSE_PUBDOM
137 ${AWK} '/gerd\.moellmann/,/;;; DAMAGE/' \
138 ${WRKSRC}/COPYING > ${WRKDIR}/LICENSE_BSD
141 (cd ${WRKSRC} && ${SETENV} \
142 INSTALL_ROOT="${STAGEDIR}${PREFIX}" \
143 MAN_DIR="${STAGEDIR}${MANPREFIX}/man" \
144 INFO_DIR="${STAGEDIR}${PREFIX}/${INFO_PATH}" \
145 DOC_DIR="${STAGEDIR}${STD_DOCDIR}" \
147 .for M in asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \
148 sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr sb-posix \
149 sb-queue sb-rotate-byte sb-rt sb-simple-streams sb-sprof
150 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/sbcl/${M}
151 ${INSTALL_DATA} ${WRKSRC}/contrib/${M}/*.[la]* \
152 ${STAGEDIR}${PREFIX}/lib/sbcl/${M}/
154 ${INSTALL_DATA} ${WRKDIR}/sbclrc \
155 ${STAGEDIR}${PREFIX}/etc/sbclrc.sample
156 # build documentation
157 ${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html
159 [FILE:343:descriptions/desc.primary]
160 Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler.
161 It is open source / free software, with a permissive license. In addition
162 to the compiler and runtime system for ANSI Common Lisp, it provides an
163 interactive environment including a debugger, a statistical profiler, a
164 code coverage tool, and many other extensions.
168 fc6ecdcc538e80a14a998d530ccc384a41790f4f4fc6cd7ffe8cb126a677694c 8106067 sbcl-2.4.8-source.tar.bz2
169 2078b590523a39aa6162ce9d28e2aa641de91176a42d34a804f9b1d48841435d 9889963 bootstrap-sbcl-2.4.4-dragonfly-x86_64.tzst
170 1292fc0a8ac79b4debae4443878758a46c1a0c2f6bc7fda54c389ca0ecd28489 9920439 bootstrap-sbcl-2.4.4-Linux-amd64.tzst
171 23539b78dcfcf0448cb724abaadf368f89cd8c48c1aec13597f1dde8441f9b11 9904011 bootstrap-sbcl-2.4.4-MidnightBSD-amd64.tzst
172 6ceaa51752eeebc1f3f9545bdf738c0681ea00aaead30284e2bf6b9a20afdeee 9893648 bootstrap-sbcl-2.4.4-NetBSD-amd64.tzst
173 e665941f63f70600b78161bf95537870836677c1d178560798f03b3c3d7e4b09 9912823 bootstrap-sbcl-2.4.4-FreeBSD-amd64.tzst
176 [FILE:3727:manifests/plist.primary]
177 @sample etc/sbclrc.sample
178 %%ONLY-LINUX%%lib/sbcl/contrib/
181 %%SIMD-ON%%lib/sbcl/contrib/
184 %%SIMD-ON%%lib/sbcl/sb-simd/
186 cpu-identification.lisp
188 define-associatives.lisp
189 define-comparisons.lisp
190 define-custom-vops.lisp
191 define-fake-vops.lisp
193 define-instruction-vops.lisp
194 define-instructions.lisp
195 define-modify-macros.lisp
199 define-scalar-casts.lisp
200 define-simd-casts.lisp
203 define-vop-functions.lisp
204 define-vref-vops.lisp
206 instruction-set-case.lisp
208 missing-instruction.lisp
255 sb-simple-streams.asd
256 sb-simple-streams.fasl
267 lib/sbcl/sb-bsd-sockets/
268 constants-addrinfo.lisp
269 constants-gethostbyname.lisp
294 lib/sbcl/sb-concurrency/
310 test-data-branching-forms.lisp
312 lib/sbcl/sb-executable/
324 example-constants.lisp
327 lib/sbcl/sb-introspect/
356 lib/sbcl/sb-rotate-byte/
364 rotate-byte-tests.lisp
372 lib/sbcl/sb-simple-streams/
382 sb-simple-streams.asd
383 simple-stream-tests.lisp
400 [FILE:22:manifests/plist.man]
401 share/man/man1/sbcl.1
404 [FILE:557:patches/patch-make-config.sh]
405 Linux LARGEFILE option does not seem to build.
407 --- make-config.sh.orig 2024-07-27 09:17:57 UTC
409 @@ -301,7 +301,7 @@ case `uname` in
414 + FreeBSD|MidnightBSD)
418 @@ -577,7 +577,6 @@ case "$sbcl_os" in
419 # src/runtime/Config.foo-linux too.
421 mips | arm | x86 | x86-64)
422 - printf ' :largefile' >> $ltf
428 [FILE:1222:files/city.cc.license]
429 // Copyright (c) 2011 Google, Inc.
431 // Permission is hereby granted, free of charge, to any person obtaining a copy
432 // of this software and associated documentation files (the "Software"), to deal
433 // in the Software without restriction, including without limitation the rights
434 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
435 // copies of the Software, and to permit persons to whom the Software is
436 // furnished to do so, subject to the following conditions:
438 // The above copyright notice and this permission notice shall be included in
439 // all copies or substantial portions of the Software.
441 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
442 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
443 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
444 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
445 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
446 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
449 // CityHash, by Geoff Pike and Jyrki Alakuijala
451 // This file provides CityHash64() and related functions.
454 [FILE:39:files/sbclrc.in]
455 (load "%%PREFIX%%/etc/asdf-init.lisp")