From b9baf1b37aa0d036fdfa70850b3936d5f92da0d0 Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Thu, 5 Apr 2012 17:16:46 -0700 Subject: gambit-scheme: warn about build time with Clang/LLVM-GCC Closes #11498. Signed-off-by: Jack Nagel --- Library/Formula/gambit-scheme.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') 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' -- cgit v1.2.3