From 258a795f5420c866ecae8ac59f4650f624c4c9ca Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 23 Apr 2015 17:51:25 +0200 Subject: [PATCH] scripts/Compiler/mpich/build: - added --- scripts/Compiler/mpich/build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 scripts/Compiler/mpich/build diff --git a/scripts/Compiler/mpich/build b/scripts/Compiler/mpich/build new file mode 100755 index 0000000..5b18de7 --- /dev/null +++ b/scripts/Compiler/mpich/build @@ -0,0 +1,19 @@ +#!/bin/bash + +source "$(dirname $0)/../../../lib/libem.bash" + +function em.configure() { + unset F90 + "${MODULE_SRCDIR}"/configure \ + --prefix="${PREFIX}" \ + --enable-cxx \ + --enable-fortran \ + || exit 1 +} + + +em.add_to_family 'Compiler' +em.set_runtime_dependencies "${COMPILER}" +em.set_build_dependencies "${COMPILER}" +em.set_docfiles 'COPYRIGHT' 'README' +em.make_all