aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNikhil Benesch2014-03-04 22:44:27 -0500
committerAdam Vandenberg2014-03-09 14:02:02 -0700
commit50d7a9169c6dc4ea30d4ab7298b971e3df954186 (patch)
tree3b42117bc495f2eae74e0ba3d76f55a33269f73e /Library/Formula
parentf2c3c1b783de746dcea7ef832d6a8f7cb036488e (diff)
downloadhomebrew-50d7a9169c6dc4ea30d4ab7298b971e3df954186.tar.bz2
sbcl: compile with core-compression unless disabled
Core compression support allows SBCL to save compressed cores, which reduce on-disk footprint of compressed cores. Adds a dependency on zlib, but OS X-provided zlib works just fine. For details: http://xach.livejournal.com/295584.html
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sbcl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index 59786e48f..5177e2c42 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -20,6 +20,7 @@ class Sbcl < Formula
option "32-bit"
option "without-threads", "Build SBCL without support for native threads"
+ option "without-core-compression", "Build SBCL without support for compressed cores and without a dependency on zlib"
option "with-ldb", "Include low-level debugger in the build"
option "with-internal-xref", "Include XREF information for SBCL internals (increases core size by 5-6MB)"
@@ -47,6 +48,7 @@ class Sbcl < Formula
def write_features
features = []
features << ":sb-thread" if build.with? "threads"
+ features << ":sb-core-compression" if build.with? "core-compression"
features << ":sb-ldb" if build.with? "ldb"
features << ":sb-xref-for-internals" if build.with? "internal-xref"