aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDrew Hess2012-04-05 17:16:46 -0700
committerJack Nagel2012-04-17 16:50:41 -0500
commitb9baf1b37aa0d036fdfa70850b3936d5f92da0d0 (patch)
tree55e4385b0f6a14bf01d744e73542939536bc93ea /Library/Formula
parent05f15de09ede04f263a905fd7ec696b6fc5b08e6 (diff)
downloadhomebrew-b9baf1b37aa0d036fdfa70850b3936d5f92da0d0.tar.bz2
gambit-scheme: warn about build time with Clang/LLVM-GCC
Closes #11498. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gambit-scheme.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/gambit-scheme.rb b/Library/Formula/gambit-scheme.rb
index 5fa2e5c9e..07cea76fd 100644
--- a/Library/Formula/gambit-scheme.rb
+++ b/Library/Formula/gambit-scheme.rb
@@ -28,6 +28,14 @@ class GambitScheme < Formula
"--enable-single-host"]
args << "--enable-shared" if ARGV.include? '--enable-shared'
+ unless ENV.compiler == :gcc
+ opoo <<-EOS.undent
+ Compiling Gambit Scheme with Clang or LLVM-GCC takes a very long time.
+ If you have GCC, you can compile it much faster with:
+ brew install gambit-scheme --use-gcc
+ EOS
+ end
+
system "./configure", *args
system "make check" if ARGV.include? '--with-check'