2012-01-27 15:23:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Simgrid < Formula
|
|
|
|
homepage 'http://simgrid.gforge.inria.fr'
|
|
|
|
url 'https://gforge.inria.fr/frs/download.php/29207/simgrid-3.6.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'da43c307a40fda00e31f8f1e04fe892d33cc63ed'
|
2012-01-27 15:23:05 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pcre'
|
|
|
|
depends_on 'graphviz'
|
|
|
|
|
2012-04-01 17:49:14 +00:00
|
|
|
fails_with :clang do
|
2013-01-30 17:13:53 +00:00
|
|
|
cause "Undefined symbols for architecture x86_64"
|
2012-04-01 17:49:14 +00:00
|
|
|
end
|
2012-01-27 15:23:05 +00:00
|
|
|
|
2012-04-01 17:49:14 +00:00
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".",
|
|
|
|
"-Denable_debug=on",
|
|
|
|
"-Denable_compile_optimizations=off",
|
|
|
|
*std_cmake_args
|
2012-01-27 15:23:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|