1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Steel Bank Common Lisp
8 HOMEPAGE= http://www.sbcl.org/
11 DOWNLOAD_GROUPS= main boot
12 SITES[main]= SF/sbcl/sbcl/1.4.6
13 SITES[boot]= SF/sbcl/sbcl/1.2.7
14 DISTFILE[1]= sbcl-1.4.6-source.tar.bz2:main
15 DISTFILE[2]= sbcl-1.2.7-x86-64-dragonfly-binary.tar.bz2:boot
16 DISTFILE[3]= sbcl-1.2.7-x86-64-freebsd-binary.tar.bz2:boot
17 DISTFILE[4]= sbcl-1.2.7-x86-64-linux-binary.tar.bz2:boot
19 SPKGS[standard]= single
21 OPTIONS_AVAILABLE= DRAGONFLY FREEBSD LINUX CONCURRENCY
22 OPTIONS_STANDARD= DRAGONFLY FREEBSD LINUX CONCURRENCY
23 OPTGROUP_RADIO= SYSTEM
24 OPTDESCR[SYSTEM]= Operating System
25 OPTGROUP[SYSTEM]= DRAGONFLY FREEBSD LINUX
26 OPT_ON[freebsd]= FREEBSD CONCURRENCY
27 OPT_ON[linux]= LINUX CONCURRENCY
28 OPT_ON[dragonfly]= DRAGONFLY
30 BUILD_DEPENDS= gmp:static:standard
32 BUILDRUN_DEPENDS= gmp:shared:standard
34 RUN_DEPENDS= asdf:primary:standard
36 USES= gmake makeinfo zlib
38 FPC_EQUIVALENT= lang/sbcl
40 MAKE_ENV= LINKFLAGS="-L{{PREFIX}}/lib -Wl,-rpath,{{PREFIX}}/lib"
44 CMAKE_ARGS= --prefix="{{PREFIX}}"
45 --xc-host="{{WRKDIR}}/bootstrap/src/runtime/sbcl --core {{WRKDIR}}/bootstrap/output/sbcl.core --noinform --disable-debugger --no-sysinit --no-userinit"
47 --without-restore-fs-segment-register-from-tls
49 --with-sb-core-compression
51 --without-sb-xref-for-internals
52 --without-sb-safepoint
53 --without-sb-thruption
56 [DRAGONFLY].DESCRIPTION= Build for DragonFly BSD
57 [DRAGONFLY].DF_INDEX_ON= 2
59 [FREEBSD].DESCRIPTION= Build for FreeBSD
60 [FREEBSD].DF_INDEX_ON= 3
62 [CONCURRENCY].DESCRIPTION= Enable thread support
63 [CONCURRENCY].CMAKE_ARGS_OFF= --without-sb-thread
64 --without-restore-fs-segment-register-from-tls
65 [CONCURRENCY].CMAKE_ARGS_ON= --with-sb-thread
66 --with-restore-fs-segment-register-from-tls
68 [LINUX].DESCRIPTION= build for Linux
69 [LINUX].DF_INDEX_ON= 4
72 # don't install files with "core" suffix, use "_core" instead
73 ${GREP} -Frl '.core' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|\.core|_core|g'
75 ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
76 ${WRKSRC}/src/code/toplevel.lisp \
77 ${WRKSRC}/doc/sbcl.1 \
78 ${WRKSRC}/doc/manual/start-stop.texinfo
81 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make.sh ${CMAKE_ARGS} || ${TRUE})
84 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sbcl
85 ${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/dir
86 ${RM} -rf ${STAGEDIR}${STD_DOCDIR}
89 ${MV} ${WRKDIR}/sbcl-1.2.7-* ${WRKDIR}/bootstrap
92 (cd ${WRKSRC} && ${SETENV} \
93 INSTALL_ROOT="${STAGEDIR}${PREFIX}" \
94 MAN_DIR="${STAGEDIR}${MANPREFIX}/man" \
95 INFO_DIR="${STAGEDIR}${PREFIX}/${INFO_PATH}" \
96 DOC_DIR="${STAGEDIR}${STD_DOCDIR}" \
98 .for M in asdf sb-aclrepl sb-bsd-sockets sb-cltl2 sb-concurrency sb-cover \
99 sb-executable sb-gmp sb-grovel sb-introspect sb-md5 sb-mpfr sb-posix \
100 sb-queue sb-rotate-byte sb-rt sb-simple-streams sb-sprof
101 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/sbcl/${M}
102 ${INSTALL_DATA} ${WRKSRC}/contrib/${M}/*.[la]* \
103 ${STAGEDIR}${PREFIX}/lib/sbcl/${M}/
105 ${INSTALL_DATA} ${WRKDIR}/sbclrc \
106 ${STAGEDIR}${PREFIX}/etc/sbclrc.sample
107 # build documentation
108 ${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html
111 # sb-posix fails on linux, tests might be bogus. skip testing this module
112 ${TOUCH} ${WRKSRC}/obj/asdf-cache/sb-posix/test-passed.test-report
114 [FILE:343:descriptions/desc.single]
115 Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler.
116 It is open source / free software, with a permissive license. In addition
117 to the compiler and runtime system for ANSI Common Lisp, it provides an
118 interactive environment including a debugger, a statistical profiler, a
119 code coverage tool, and many other extensions.
123 4411b01329d4dd531c8a0cb4036462fb4fd5f6e7abe2d521c6aa2a3adefb8678 6025790 sbcl-1.4.6-source.tar.bz2
124 4d8d589909d1b003afc5d58276affe2202f4a75d3760737f2ac6ce046a1f905c 10586301 sbcl-1.2.7-x86-64-dragonfly-binary.tar.bz2
125 c61f5e777e56921d2452d0fa6b71024ccd9b99bc659676498d398b8663176492 10463348 sbcl-1.2.7-x86-64-freebsd-binary.tar.bz2
126 92094d7a5ea19891a6245064b12d4e1125aa065634ad24b6607ab08c37e95b40 10528686 sbcl-1.2.7-x86-64-linux-binary.tar.bz2
129 [FILE:2799:manifests/plist.single]
130 @sample etc/sbclrc.sample
167 sb-simple-streams.asd
168 sb-simple-streams.fasl
179 lib/sbcl/sb-bsd-sockets/
204 lib/sbcl/sb-concurrency/
217 test-data-branching-forms.lisp
219 lib/sbcl/sb-executable/
231 example-constants.lisp
234 lib/sbcl/sb-introspect/
263 lib/sbcl/sb-rotate-byte/
269 rotate-byte-tests.lisp
277 lib/sbcl/sb-simple-streams/
287 sb-simple-streams.asd
288 simple-stream-tests.lisp
306 share/man/man1/sbcl.1.gz
309 [FILE:637:patches/patch-src_runtime_thread.c]
310 --- src/runtime/thread.c.orig 2017-09-30 16:30:58 UTC
311 +++ src/runtime/thread.c
314 #ifdef LISP_FEATURE_SB_THREAD
316 -#ifdef LISP_FEATURE_OPENBSD
317 +#if defined LISP_FEATURE_OPENBSD || defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
318 #include <pthread_np.h>
321 @@ -516,7 +516,7 @@ attach_os_thread(init_thread_data *scrib
322 stack_size = pthread_get_stacksize_np(os);
325 -#ifdef LISP_FEATURE_FREEBSD
326 +#if defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
327 pthread_attr_get_np(os, &attr);
329 int pthread_getattr_np(pthread_t, pthread_attr_t *);
332 [FILE:39:files/sbclrc.in]
333 (load "%%PREFIX%%/etc/asdf-init.lisp")
336 [FILE:355:dragonfly/patch-src_runtime_interrupt.c]
337 --- src/runtime/interrupt.c.orig 2017-09-30 16:30:58 UTC
338 +++ src/runtime/interrupt.c
340 #include "genesis/simple-fun.h"
341 #include "genesis/cons.h"
348 * This is a workaround for some slightly silly Linux/GNU Libc
349 * behaviour: glibc defines sigset_t to support 1024 signals, which is
352 [FILE:291:dragonfly/patch-tools-for-build_grovel-headers.c]
353 --- tools-for-build/grovel-headers.c.orig 2017-01-06 07:13:57 UTC
354 +++ tools-for-build/grovel-headers.c
356 #ifdef LISP_FEATURE_ANDROID
359 - #include <sys/termios.h>
360 + #include <termios.h>
361 #include <langinfo.h>
363 #include <sys/time.h>
366 [FILE:361:freebsd/patch-src_runtime_x86-64-bsd-os.c]
367 --- src/runtime/x86-64-bsd-os.c.orig 2016-12-31 08:38:30 UTC
368 +++ src/runtime/x86-64-bsd-os.c
369 @@ -142,6 +142,13 @@ os_flush_icache(os_vm_address_t address,
373 +#ifdef LISP_FEATURE_SB_THREAD
375 +arch_os_load_ldt(struct thread *thread)
380 int arch_os_thread_init(struct thread *thread) {
382 #ifdef LISP_FEATURE_SB_THREAD
385 [FILE:291:freebsd/patch-tools-for-build_grovel-headers.c]
386 --- tools-for-build/grovel-headers.c.orig 2017-01-06 07:13:57 UTC
387 +++ tools-for-build/grovel-headers.c
389 #ifdef LISP_FEATURE_ANDROID
392 - #include <sys/termios.h>
393 + #include <termios.h>
394 #include <langinfo.h>
396 #include <sys/time.h>