Ravenports generated: 02 Apr 2018 18:22
[ravenports.git] / bucket_FA / sbcl
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sbcl
4 VERSION=                1.4.6
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.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
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 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
127
128
129 [FILE:2799:manifests/plist.single]
130 @sample etc/sbclrc.sample
131 bin/sbcl
132 lib/sbcl/asdf/
133  asdf.lisp
134  uiop.lisp
135 lib/sbcl/contrib/
136  asdf.fasl
137  sb-aclrepl.asd
138  sb-aclrepl.fasl
139  sb-bsd-sockets.asd
140  sb-bsd-sockets.fasl
141  sb-cltl2.asd
142  sb-cltl2.fasl
143  sb-concurrency.asd
144  sb-concurrency.fasl
145  sb-cover.asd
146  sb-cover.fasl
147  sb-executable.asd
148  sb-executable.fasl
149  sb-gmp.asd
150  sb-gmp.fasl
151  sb-grovel.asd
152  sb-grovel.fasl
153  sb-introspect.asd
154  sb-introspect.fasl
155  sb-md5.asd
156  sb-md5.fasl
157  sb-mpfr.asd
158  sb-mpfr.fasl
159  sb-posix.asd
160  sb-posix.fasl
161  sb-queue.asd
162  sb-queue.fasl
163  sb-rotate-byte.asd
164  sb-rotate-byte.fasl
165  sb-rt.asd
166  sb-rt.fasl
167  sb-simple-streams.asd
168  sb-simple-streams.fasl
169  sb-sprof.asd
170  sb-sprof.fasl
171  uiop.fasl
172 lib/sbcl/sb-aclrepl/
173  debug.lisp
174  inspect.lisp
175  repl.lisp
176  sb-aclrepl.asd
177  tests.lisp
178  toplevel.lisp
179 lib/sbcl/sb-bsd-sockets/
180  constants.lisp
181  defpackage.lisp
182  inet.lisp
183  inet4.lisp
184  inet6.lisp
185  local.lisp
186  misc.lisp
187  name-service.lisp
188  protocol.lisp
189  sb-bsd-sockets.asd
190  sockets.lisp
191  sockopt.lisp
192  tests.lisp
193  util.lisp
194  win32-constants.lisp
195  win32-lib.lisp
196  win32-sockets.lisp
197 lib/sbcl/sb-cltl2/
198  compiler-let.lisp
199  defpackage.lisp
200  env.lisp
201  macroexpand.lisp
202  sb-cltl2.asd
203  tests.lisp
204 lib/sbcl/sb-concurrency/
205  frlock.lisp
206  gate.lisp
207  mailbox.lisp
208  package.lisp
209  queue.lisp
210  sb-concurrency.asd
211 lib/sbcl/sb-cover/
212  cover.lisp
213  sb-cover.asd
214  test-data-1.lisp
215  test-data-2.lisp
216  test-data-3.lisp
217  test-data-branching-forms.lisp
218  tests.lisp
219 lib/sbcl/sb-executable/
220  sb-executable.asd
221  sb-executable.lisp
222 lib/sbcl/sb-gmp/
223  bench.lisp
224  gmp.lisp
225  sb-gmp.asd
226  tests-stress.lisp
227  tests.lisp
228 lib/sbcl/sb-grovel/
229  def-to-lisp.lisp
230  defpackage.lisp
231  example-constants.lisp
232  foreign-glue.lisp
233  sb-grovel.asd
234 lib/sbcl/sb-introspect/
235  introspect.lisp
236  load-test.lisp
237  sb-introspect.asd
238  test-driver.lisp
239  test.lisp
240  xref-test-data.lisp
241  xref-test.lisp
242 lib/sbcl/sb-md5/
243  md5-tests.lisp
244  md5.lisp
245  sb-md5.asd
246 lib/sbcl/sb-mpfr/
247  mpfr.lisp
248  sb-mpfr.asd
249  tests.lisp
250 lib/sbcl/sb-posix/
251  constants.lisp
252  defpackage.lisp
253  designator.lisp
254  interface.lisp
255  libc-tests.lisp
256  macros.lisp
257  posix-tests.lisp
258  sb-posix.asd
259  strtod.lisp
260 lib/sbcl/sb-queue/
261  package.lisp
262  sb-queue.asd
263 lib/sbcl/sb-rotate-byte/
264  arm-vm.lisp
265  arm64-vm.lisp
266  compiler.lisp
267  package.lisp
268  ppc-vm.lisp
269  rotate-byte-tests.lisp
270  rotate-byte.lisp
271  sb-rotate-byte.asd
272  x86-64-vm.lisp
273  x86-vm.lisp
274 lib/sbcl/sb-rt/
275  rt.lisp
276  sb-rt.asd
277 lib/sbcl/sb-simple-streams/
278  classes.lisp
279  direct.lisp
280  file.lisp
281  fndb.lisp
282  impl.lisp
283  internal.lisp
284  iodefs.lisp
285  null.lisp
286  package.lisp
287  sb-simple-streams.asd
288  simple-stream-tests.lisp
289  socket.lisp
290  strategy.lisp
291  string.lisp
292  terminal.lisp
293 lib/sbcl/sb-sprof/
294  call-counting.lisp
295  disassemble.lisp
296  graph.lisp
297  interface.lisp
298  package.lisp
299  record.lisp
300  report.lisp
301  sb-sprof.asd
302  test.lisp
303 lib/sbcl/
304  sbcl.mk
305  sbcl_core
306 share/man/man1/sbcl.1.gz
307
308
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
312 @@ -50,7 +50,7 @@
313  
314  #ifdef LISP_FEATURE_SB_THREAD
315  
316 -#ifdef LISP_FEATURE_OPENBSD
317 +#if defined LISP_FEATURE_OPENBSD || defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
318  #include <pthread_np.h>
319  #endif
320  
321 @@ -516,7 +516,7 @@ attach_os_thread(init_thread_data *scrib
322      stack_size = pthread_get_stacksize_np(os);
323  #else
324      pthread_attr_t attr;
325 -#ifdef LISP_FEATURE_FREEBSD
326 +#if defined LISP_FEATURE_FREEBSD || defined LISP_FEATURE_DRAGONFLY
327      pthread_attr_get_np(os, &attr);
328  #else
329      int pthread_getattr_np(pthread_t, pthread_attr_t *);
330
331
332 [FILE:39:files/sbclrc.in]
333 (load "%%PREFIX%%/etc/asdf-init.lisp")
334
335
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
339 @@ -68,6 +68,10 @@
340  #include "genesis/simple-fun.h"
341  #include "genesis/cons.h"
342  
343 +#ifndef SIGRTMIN
344 +#define SIGRTMIN 50
345 +#endif
346 +
347  /*
348   * This is a workaround for some slightly silly Linux/GNU Libc
349   * behaviour: glibc defines sigset_t to support 1024 signals, which is
350
351
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
355 @@ -42,7 +42,7 @@
356  #ifdef LISP_FEATURE_ANDROID
357    #include <termios.h>
358  #else
359 -  #include <sys/termios.h>
360 +  #include <termios.h>
361    #include <langinfo.h>
362  #endif
363    #include <sys/time.h>
364
365
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,
370  {
371  }
372  
373 +#ifdef LISP_FEATURE_SB_THREAD
374 +void
375 +arch_os_load_ldt(struct thread *thread)
376 +{
377 +}
378 +#endif
379 +
380  int arch_os_thread_init(struct thread *thread) {
381      stack_t sigstack;
382  #ifdef LISP_FEATURE_SB_THREAD
383
384
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
388 @@ -42,7 +42,7 @@
389  #ifdef LISP_FEATURE_ANDROID
390    #include <termios.h>
391  #else
392 -  #include <sys/termios.h>
393 +  #include <termios.h>
394    #include <langinfo.h>
395  #endif
396    #include <sys/time.h>
397