From b04899ec22e35c003cfc97091940b5e76a309f17 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 1 Apr 2012 12:49:14 -0500 Subject: simgrid: fails with clang Signed-off-by: Jack Nagel --- Library/Formula/simgrid.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3