aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNikhil Benesch2015-03-21 01:33:08 -0400
committerMike McQuaid2015-03-21 10:29:29 +0000
commit032090dc0c354af41d3ca1022ae3187d16a30762 (patch)
tree9c7b907215a69fa1b7f30f4be71013c6a8e8874f /Library/Formula
parent7b34e078a17e29036a7a96d6087a28487ebe6875 (diff)
downloadhomebrew-032090dc0c354af41d3ca1022ae3187d16a30762.tar.bz2
sbcl: patch in support for parallel builds
Closes #37931. Closes #36440. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sbcl.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index 4988a7594..b0e22f544 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -54,6 +54,10 @@ class Sbcl < Formula
sha1 "4d08e56e7e261db47ffdfef044149b001e6cd7c1"
end
+ # Restore parallel build support.
+ # See: https://bugs.launchpad.net/sbcl/+bug/1434768
+ patch :DATA
+
def write_features
features = []
features << ":sb-thread" if build.with? "threads"
@@ -105,3 +109,15 @@ class Sbcl < Formula
assert_equal "4", output.strip
end
end
+__END__
+--- a/contrib/asdf/Makefile
++++ b/contrib/asdf/Makefile
+@@ -8,7 +8,7 @@ $(UIOP_FASL):: uiop.lisp ../../output/sbcl.core
+ mkdir -p $(DEST)
+ $(SBCL) --eval '(compile-file #p"SYS:CONTRIB;ASDF;UIOP.LISP" :output-file (parse-native-namestring "$@"))' </dev/null
+
+-$(ASDF_FASL):: asdf.lisp ../../output/sbcl.core
++$(ASDF_FASL):: asdf.lisp ../../output/sbcl.core $(UIOP_FASL)
+ if [ -d asdf-upstream ] ; then rm -rf asdf-upstream ; fi
+ mkdir -p $(DEST)
+ $(SBCL) --eval '(compile-file #p"SYS:CONTRIB;ASDF;ASDF.LISP" :output-file (parse-native-namestring "$@"))' </dev/null