Ravenports generated: 04 Dec 2017 08:46
[ravenports.git] / bucket_FA / sbcl
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sbcl
4 VERSION=                1.4.2
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Steel Bank Common Lisp
8 HOMEPAGE=               http://www.sbcl.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main boot
12 SITES[main]=            SF/sbcl/sbcl/1.4.2
13 SITES[boot]=            SF/sbcl/sbcl/1.2.7
14 DISTFILE[1]=            sbcl-1.4.2-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
18 DF_INDEX=               1
19 SPKGS[standard]=        single
20
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
29
30 BUILD_DEPENDS=          gmp:static:standard
31                         mpfr:static:standard
32 BUILDRUN_DEPENDS=       gmp:shared:standard
33                         mpfr:shared:standard
34 RUN_DEPENDS=            asdf:primary:standard
35
36 USES=                   gmake makeinfo zlib
37
38 FPC_EQUIVALENT=         lang/sbcl
39
40 MAKE_ENV=               LINKFLAGS="-L{{PREFIX}}/lib -Wl,-rpath,{{PREFIX}}/lib"
41
42 SUB_FILES=              sbclrc
43
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"
46                         --without-sb-thread
47                         --without-restore-fs-segment-register-from-tls
48                         --with-sb-unicode
49                         --with-sb-core-compression
50                         --without-sb-qshow
51                         --without-sb-xref-for-internals
52                         --without-sb-safepoint
53                         --without-sb-thruption
54                         --without-sb-wtimer
55
56 [DRAGONFLY].DESCRIPTION=                Build for DragonFly BSD
57 [DRAGONFLY].DF_INDEX_ON=                2
58
59 [FREEBSD].DESCRIPTION=                  Build for FreeBSD
60 [FREEBSD].DF_INDEX_ON=                  3
61
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
67
68 [LINUX].DESCRIPTION=                    build for Linux
69 [LINUX].DF_INDEX_ON=                    4
70
71 post-patch:
72         # don't install files with "core" suffix, use "_core" instead
73         ${GREP} -Frl '.core' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|\.core|_core|g'
74         # fix paths
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
79
80 do-build:
81         (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make.sh ${CMAKE_ARGS} || ${TRUE})
82
83 post-install:
84         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sbcl
85         ${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/dir
86         ${RM} -rf ${STAGEDIR}${STD_DOCDIR}
87
88 post-extract:
89         ${MV} ${WRKDIR}/sbcl-1.2.7-* ${WRKDIR}/bootstrap
90
91 do-install:
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}" \
97         ${SH} install.sh)
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}/
104 .endfor
105         ${INSTALL_DATA} ${WRKDIR}/sbclrc \
106                 ${STAGEDIR}${PREFIX}/etc/sbclrc.sample
107         # build documentation
108         ${DO_MAKE_BUILD} -C ${WRKSRC}/doc/manual info html
109
110 post-build-linux:
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
113
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.
120
121
122 [FILE:461:distinfo]
123 8dcba54853d99e2f5f9dbbd207604471afab528d1eb5c10d24ddea65bae64717      5946122 sbcl-1.4.2-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
127
128
129 [FILE:2708:manifests/plist.single]
130 bin/sbcl
131 lib/sbcl/asdf/
132  asdf.lisp
133  uiop.lisp
134 lib/sbcl/contrib/
135  asdf.fasl
136  sb-aclrepl.asd
137  sb-aclrepl.fasl
138  sb-bsd-sockets.asd
139  sb-bsd-sockets.fasl
140  sb-cltl2.asd
141  sb-cltl2.fasl
142  sb-concurrency.asd
143  sb-concurrency.fasl
144  sb-cover.asd
145  sb-cover.fasl
146  sb-executable.asd
147  sb-executable.fasl
148  sb-gmp.asd
149  sb-gmp.fasl
150  sb-grovel.asd
151  sb-grovel.fasl
152  sb-introspect.asd
153  sb-introspect.fasl
154  sb-md5.asd
155  sb-md5.fasl
156  sb-mpfr.asd
157  sb-mpfr.fasl
158  sb-posix.asd
159  sb-posix.fasl
160  sb-queue.asd
161  sb-queue.fasl
162  sb-rotate-byte.asd
163  sb-rotate-byte.fasl
164  sb-rt.asd
165  sb-rt.fasl
166  sb-simple-streams.asd
167  sb-simple-streams.fasl
168  sb-sprof.asd
169  sb-sprof.fasl
170  uiop.fasl
171 lib/sbcl/sb-aclrepl/
172  debug.lisp
173  inspect.lisp
174  repl.lisp
175  sb-aclrepl.asd
176  tests.lisp
177  toplevel.lisp
178 lib/sbcl/sb-bsd-sockets/
179  constants.lisp
180  defpackage.lisp
181  inet.lisp
182  inet4.lisp
183  inet6.lisp
184  local.lisp
185  misc.lisp
186  name-service.lisp
187  protocol.lisp
188  sb-bsd-sockets.asd
189  sockets.lisp
190  sockopt.lisp
191  tests.lisp
192  util.lisp
193  win32-constants.lisp
194  win32-lib.lisp
195  win32-sockets.lisp
196 lib/sbcl/sb-cltl2/
197  compiler-let.lisp
198  defpackage.lisp
199  env.lisp
200  macroexpand.lisp
201  sb-cltl2.asd
202  tests.lisp
203 lib/sbcl/sb-concurrency/
204  frlock.lisp
205  gate.lisp
206  mailbox.lisp
207  package.lisp
208  queue.lisp
209  sb-concurrency.asd
210 lib/sbcl/sb-cover/
211  cover.lisp
212  sb-cover.asd
213  test-data-1.lisp
214  test-data-2.lisp
215  test-data-3.lisp
216  test-data-branching-forms.lisp
217  tests.lisp
218 lib/sbcl/sb-executable/
219  sb-executable.asd
220  sb-executable.lisp
221 lib/sbcl/sb-gmp/
222  bench.lisp
223  gmp.lisp
224  sb-gmp.asd
225  tests-stress.lisp
226  tests.lisp
227 lib/sbcl/sb-grovel/
228  def-to-lisp.lisp
229  defpackage.lisp
230  example-constants.lisp
231  foreign-glue.lisp
232  sb-grovel.asd
233 lib/sbcl/sb-introspect/
234  introspect.lisp
235  load-test.lisp
236  sb-introspect.asd
237  test-driver.lisp
238  test.lisp
239  xref-test-data.lisp
240  xref-test.lisp
241 lib/sbcl/sb-md5/
242  md5-tests.lisp
243  md5.lisp
244  sb-md5.asd
245 lib/sbcl/sb-mpfr/
246  mpfr.lisp
247  sb-mpfr.asd
248  tests.lisp
249 lib/sbcl/sb-posix/
250  constants.lisp
251  defpackage.lisp
252  designator.lisp
253  interface.lisp
254  libc-tests.lisp
255  macros.lisp
256  posix-tests.lisp
257  sb-posix.asd
258  strtod.lisp
259 lib/sbcl/sb-queue/
260  package.lisp
261  sb-queue.asd
262 lib/sbcl/sb-rotate-byte/
263  arm-vm.lisp
264  arm64-vm.lisp
265  compiler.lisp
266  package.lisp
267  ppc-vm.lisp
268  rotate-byte-tests.lisp
269  rotate-byte.lisp
270  sb-rotate-byte.asd
271  x86-64-vm.lisp
272  x86-vm.lisp
273 lib/sbcl/sb-rt/
274  rt.lisp
275  sb-rt.asd
276 lib/sbcl/sb-simple-streams/
277  classes.lisp
278  direct.lisp
279  file.lisp
280  fndb.lisp
281  impl.lisp
282  internal.lisp
283  iodefs.lisp
284  null.lisp
285  package.lisp
286  sb-simple-streams.asd
287  simple-stream-tests.lisp
288  socket.lisp
289  strategy.lisp
290  string.lisp
291  terminal.lisp
292 lib/sbcl/sb-sprof/
293  sb-sprof.asd
294  sb-sprof.lisp
295  test.lisp
296 lib/sbcl/
297  sbcl.mk
298  sbcl_core
299 share/man/man1/sbcl.1.gz
300 @sample etc/sbclrc.sample
301
302
303 [FILE:637:patches/patch-src_runtime_thread.c]
304 --- src/runtime/thread.c.orig   2017-09-30 16:30:58 UTC
305 +++ src/runtime/thread.c
306 @@ -50,7 +50,7 @@
307  
308  #ifdef LISP_FEATURE_SB_THREAD
309  
310 -#ifdef LISP_FEATURE_OPENBSD
311 +#if defined LISP_FEATURE_OPENBSD || defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
312  #include <pthread_np.h>
313  #endif
314  
315 @@ -516,7 +516,7 @@ attach_os_thread(init_thread_data *scrib
316      stack_size = pthread_get_stacksize_np(os);
317  #else
318      pthread_attr_t attr;
319 -#ifdef LISP_FEATURE_FREEBSD
320 +#if defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
321      pthread_attr_get_np(os, &attr);
322  #else
323      int pthread_getattr_np(pthread_t, pthread_attr_t *);
324
325
326 [FILE:39:files/sbclrc.in]
327 (load "%%PREFIX%%/etc/asdf-init.lisp")
328
329
330 [FILE:355:dragonfly/patch-src_runtime_interrupt.c]
331 --- src/runtime/interrupt.c.orig        2017-09-30 16:30:58 UTC
332 +++ src/runtime/interrupt.c
333 @@ -68,6 +68,10 @@
334  #include "genesis/simple-fun.h"
335  #include "genesis/cons.h"
336  
337 +#ifndef SIGRTMIN
338 +#define SIGRTMIN 50
339 +#endif
340 +
341  /*
342   * This is a workaround for some slightly silly Linux/GNU Libc
343   * behaviour: glibc defines sigset_t to support 1024 signals, which is
344
345
346 [FILE:291:dragonfly/patch-tools-for-build_grovel-headers.c]
347 --- tools-for-build/grovel-headers.c.orig       2017-01-06 07:13:57 UTC
348 +++ tools-for-build/grovel-headers.c
349 @@ -42,7 +42,7 @@
350  #ifdef LISP_FEATURE_ANDROID
351    #include <termios.h>
352  #else
353 -  #include <sys/termios.h>
354 +  #include <termios.h>
355    #include <langinfo.h>
356  #endif
357    #include <sys/time.h>
358
359
360 [FILE:361:freebsd/patch-src_runtime_x86-64-bsd-os.c]
361 --- src/runtime/x86-64-bsd-os.c.orig    2016-12-31 08:38:30 UTC
362 +++ src/runtime/x86-64-bsd-os.c
363 @@ -142,6 +142,13 @@ os_flush_icache(os_vm_address_t address,
364  {
365  }
366  
367 +#ifdef LISP_FEATURE_SB_THREAD
368 +void
369 +arch_os_load_ldt(struct thread *thread)
370 +{
371 +}
372 +#endif
373 +
374  int arch_os_thread_init(struct thread *thread) {
375      stack_t sigstack;
376  #ifdef LISP_FEATURE_SB_THREAD
377
378
379 [FILE:291:freebsd/patch-tools-for-build_grovel-headers.c]
380 --- tools-for-build/grovel-headers.c.orig       2017-01-06 07:13:57 UTC
381 +++ tools-for-build/grovel-headers.c
382 @@ -42,7 +42,7 @@
383  #ifdef LISP_FEATURE_ANDROID
384    #include <termios.h>
385  #else
386 -  #include <sys/termios.h>
387 +  #include <termios.h>
388    #include <langinfo.h>
389  #endif
390    #include <sys/time.h>
391