Files
MX_Pmodule/MPI/OPAL/build
Achim Gsell fb0a397e04 MPI/OPAL/build
- DKS enabled
- dependencies are now defined in variants files
2016-12-16 17:22:07 +01:00

18 lines
384 B
Plaintext
Executable File

#!/usr/bin/env modbuild
# add -fopenmp to CC and CXX, if you want to compile with OpenMP
pbuild::configure() {
cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DENABLE_SAAMG_SOLVER=TRUE \
-DENABLE_DKS=ON \
"${MODULE_SRCDIR}"
}
pbuild::add_to_group 'MPI'
pbuild::set_supported_compilers 'gcc/4.7' 'gcc/4.8' 'gcc/4.9' 'gcc/5.4'
pbuild::make_all