From 19c0c13f2334e1ca5c0e9c4193b12feb7179452a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 6 May 2015 18:34:05 +0200 Subject: [PATCH] System/mdtest: added --- scripts/System/mdtest/build | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 scripts/System/mdtest/build diff --git a/scripts/System/mdtest/build b/scripts/System/mdtest/build new file mode 100755 index 0000000..8395fcd --- /dev/null +++ b/scripts/System/mdtest/build @@ -0,0 +1,24 @@ +#!/bin/bash + +source "$(dirname $0)/../../../lib/libem.bash" + +function em.configure() { + : +} + +function em.build() { + cd "${MODULE_SRCDIR}" + + make -j ${JOBS} +} + +function em.install() { + cd "${MODULE_SRCDIR}" + mkdir -p ${PREFIX}/bin + install -m 0755 mdtest "${PREFIX}/bin" +} + +#em.supported_os 'Linux' +em.add_to_family 'System' +em.set_build_dependencies "${COMPILER}" "${MPI}" +em.make_all