aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFilip Krikava2012-01-27 16:23:05 +0100
committerAdam Vandenberg2012-04-01 08:58:59 -0700
commit25c04950e59da06b6cffb444d04f40e77e5c621d (patch)
treef48fc9da18b42ddac488ee572d63afd78fdc4dbf /Library/Formula
parent386d78d0aff2c34864b7e69641aafc65b7cb8db1 (diff)
downloadhomebrew-25c04950e59da06b6cffb444d04f40e77e5c621d.tar.bz2
simgrid 3.6.2
SimGrid is a toolkit that provides core functionalities for the simulation of distributed applications in heterogeneous distributed environments. The specific goal of the project is to facilitate research in the area of parallel and distributed large scale systems, such as Grids, P2P systems and clouds. Its use cases encompass heuristic evaluation, application prototyping or even real application development and tuning. (from the project homepage http://simgrid.gforge.inria.fr/) Closes #9809. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/simgrid.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/simgrid.rb b/Library/Formula/simgrid.rb
new file mode 100644
index 000000000..4e17ba805
--- /dev/null
+++ b/Library/Formula/simgrid.rb
@@ -0,0 +1,22 @@
+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'
+ md5 '35b10c0fb6d47bdbbf19417ab0ab2e6c'
+
+ depends_on 'cmake' => :build
+ 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
+
+ system "cmake -Denable_debug=on -Denable_compile_optimizations=off #{std_cmake_parameters} ."
+ system "make install"
+ end
+end