| 67 | |
| 68 | if { [file isfile "${prefix}/bin/sbcl"] == 1 } then { |
| 69 | variant a_sbcl conflicts a_ccl description {Active SBCL is used to compile this.} { |
| 70 | set host_lisp "\"${prefix}/bin/sbcl --core ${prefix}/lib/sbcl/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" " |
| 71 | if { [lindex [exec file -F "" "${prefix}/bin/sbcl"] 4] ne "x86_64" } { |
| 72 | pre-fetch { |
| 73 | return -code error "active SBCL is not an x86_64 binary" |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | variant a_ccl conflicts a_sbcl description {Active CCL is used to compile this.} { |
| 80 | set host_lisp "\"${prefix}/bin/ccl64 --no-init\" " |
| 81 | depends_build path:bin/ccl64:ccl |
| 82 | } |