From 25c04950e59da06b6cffb444d04f40e77e5c621d Mon Sep 17 00:00:00 2001 From: Filip Krikava Date: Fri, 27 Jan 2012 16:23:05 +0100 Subject: [PATCH] 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 --- Library/Formula/simgrid.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Library/Formula/simgrid.rb diff --git a/Library/Formula/simgrid.rb b/Library/Formula/simgrid.rb new file mode 100644 index 000000000000..4e17ba80574e --- /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