19 lines
456 B
Plaintext
Executable File
19 lines
456 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
pbuild::set_download_url "http://amas.web.psi.ch/Downloads/$P/src/$P-$V.tar.bz2"
|
|
pbuild::add_to_group 'MPI'
|
|
|
|
pbuild::pre_configure_Linux() {
|
|
if (( V_MAJOR < 2)); then
|
|
pbuild::add_configure_args '-DENABLE_DKS=ON'
|
|
fi
|
|
}
|
|
|
|
# add -fopenmp to CC and CXX, if you want to compile with OpenMP
|
|
pbuild::pre_configure() {
|
|
pbuild::add_configure_args "-DCMAKE_BUILD_TYPE=Release"
|
|
pbuild::add_configure_args "-DENABLE_SAAMG_SOLVER=TRUE"
|
|
}
|
|
|
|
|