diff options
Diffstat (limited to 'homebrew/scalapack/.beer')
-rw-r--r-- | homebrew/scalapack/.beer | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/scalapack/.beer b/homebrew/scalapack/.beer new file mode 100644 index 000000000..f83c5047a --- /dev/null +++ b/homebrew/scalapack/.beer @@ -0,0 +1,38 @@ +{ + "name": "Scalapack", + "description": "High-performance linear algebra for distributed memory machines", + "url": "https://www.netlib.org/scalapack/scalapack-2.0.2.tgz", + "mirror": null, + "homepage": "https://www.netlib.org/scalapack/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "gcc", + "build-depend": false + }, + { + "depend": "open-mpi", + "build-depend": false + }, + { + "depend": "openblas", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "mkdir \"build\" do", + "blas = \"-L#{Formula[\"openblas\"].opt_lib} -lopenblas\"", + "system \"cmake\", \"..\", *std_cmake_args, \"-DBUILD_SHARED_LIBS=ON\",", + "\"-DBLAS_LIBRARIES=#{blas}\", \"-DLAPACK_LIBRARIES=#{blas}\"", + "system \"make\", \"all\"", + "system \"make\", \"install\"" + ], + "version": "2.0.2", + "file": "scalapack.rb" +}
\ No newline at end of file |