[90470] trunk/dports/lang/sbcl/Portfile
easieste at macports.org
easieste at macports.org
Tue Mar 6 08:51:36 PST 2012
Revision: 90470
http://trac.macports.org/changeset/90470
Author: easieste at macports.org
Date: 2012-03-06 08:51:36 -0800 (Tue, 06 Mar 2012)
Log Message:
-----------
lang/sbcl: Introduce +fancy variant as alternate configuration path.
SBCL's make.sh actually does a pretty good job of guessing local
compilation conventions when passed the "--fancy" flag, so this
variant uses that path to compile all available compatible modules.
This should be considered a candidate for the default SBCL variant.
Modified Paths:
--------------
trunk/dports/lang/sbcl/Portfile
Modified: trunk/dports/lang/sbcl/Portfile
===================================================================
--- trunk/dports/lang/sbcl/Portfile 2012-03-06 15:11:00 UTC (rev 90469)
+++ trunk/dports/lang/sbcl/Portfile 2012-03-06 16:51:36 UTC (rev 90470)
@@ -6,7 +6,7 @@
name sbcl
version 1.0.55
-revision 2
+revision 3
set subrevision ""
categories lang
@@ -18,7 +18,9 @@
Steel Bank Common Lisp (SBCL) is a Open Source implementation of ANSI \
Common Lisp. It provides an interactive environment including an \
integrated native compiler, interpreter, and debugger. SBCL is quite \
-suitable for creation of long running system services.
+suitable for creation of long running system services, as the compiler trades \
+trades time for a long compilation for the time and space optimization of its \
+runtime representation.
homepage http://www.sbcl.org
@@ -122,7 +124,7 @@
build {
reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk
- system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && export CC && CC=${configure.cc} && export CXX && CXX=${configure.cxx} && export CPP && CPP==${configure.cpp} && sh ./make.sh ${host_lisp} --prefix=${prefix}"
+ system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && export CC && CC=${configure.cc} && export CXX && CXX=${configure.cxx} && export CPP && CPP==${configure.cpp} && sh ./make.sh ${make_sh_options} --prefix=${prefix} --xc-host=${host_lisp}"
}
post-build {
@@ -154,6 +156,16 @@
configure.compiler llvm-gcc-4.2
}
+global make_sh_options
+set make_sh_options ""
+
+variant fancy conflicts threads description {Configure SBCL compilation with all available compatible options (including threading).} {
+ patchfiles-delete patch-use-mach-exception-handler.diff
+ set make_sh_options --fancy
+}
+
+
+
test.run yes
test.dir ${worksrcpath}/tests
test.cmd CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120306/857e871f/attachment-0001.html>
More information about the macports-changes
mailing list