MPI/OPAL/build:

- enable DKS on Linux only
This commit is contained in:
2017-02-15 15:11:59 +01:00
parent 7b0f72d220
commit afeef58b67

View File

@@ -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}"
}