From afeef58b67466b6163a59ecbb2bb7532a0860ac3 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 15 Feb 2017 15:11:59 +0100 Subject: [PATCH] MPI/OPAL/build: - enable DKS on Linux only --- MPI/OPAL/build | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/MPI/OPAL/build b/MPI/OPAL/build index 6c4ff61..0f730d0 100755 --- a/MPI/OPAL/build +++ b/MPI/OPAL/build @@ -1,5 +1,15 @@ #!/usr/bin/env modbuild +config_args=() + +case ${OS} in +Darwin ) + : + ;; +Linux ) + : #config_args+=( '-DENABLE_DKS=ON' ) + ;; +esac # add -fopenmp to CC and CXX, if you want to compile with OpenMP pbuild::configure() { @@ -7,7 +17,7 @@ pbuild::configure() { -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ -DCMAKE_BUILD_TYPE=RELEASE \ -DENABLE_SAAMG_SOLVER=TRUE \ - -DENABLE_DKS=ON \ + "${config_args[@]}" \ "${MODULE_SRCDIR}" }