diff options
| author | Jack Nagel | 2012-04-01 12:49:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-01 12:49:14 -0500 |
| commit | b04899ec22e35c003cfc97091940b5e76a309f17 (patch) | |
| tree | a6920f6f7742acaf3e948935f52cbe2ec851ad2c /Library/Formula/simgrid.rb | |
| parent | e978cd3cd0b1232d6c59defa6cf2001101c05960 (diff) | |
| download | homebrew-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.rb | 10 |
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 |
