aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/simgrid.rb
diff options
context:
space:
mode:
authorJack Nagel2012-04-01 12:49:14 -0500
committerJack Nagel2012-04-01 12:49:14 -0500
commitb04899ec22e35c003cfc97091940b5e76a309f17 (patch)
treea6920f6f7742acaf3e948935f52cbe2ec851ad2c /Library/Formula/simgrid.rb
parente978cd3cd0b1232d6c59defa6cf2001101c05960 (diff)
downloadhomebrew-b04899ec22e35c003cfc97091940b5e76a309f17.tar.bz2
simgrid: fails with clang
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/simgrid.rb')
-rw-r--r--Library/Formula/simgrid.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/simgrid.rb b/Library/Formula/simgrid.rb
index 4e17ba805..e133bf7c0 100644
--- a/Library/Formula/simgrid.rb
+++ b/Library/Formula/simgrid.rb
@@ -9,13 +9,11 @@ class Simgrid < Formula
depends_on 'pcre'
depends_on 'graphviz'
- def install
- # FIXME This should be replaced with fails_with_clang once available
- if ENV.compiler == :clang
- opoo "Formula will not build with Clang, using LLVM."
- ENV.llvm
- end
+ fails_with :clang do
+ build 318
+ end
+ def install
system "cmake -Denable_debug=on -Denable_compile_optimizations=off #{std_cmake_parameters} ."
system "make install"
end