- variants for versions 1.0.2 and 1.1.0 added
- compile version 1.1.0 with DKS_FULL=ON
This commit is contained in:
2017-04-24 08:00:03 +02:00
parent b161db7b82
commit baebfef4e0
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
dks/1.0.1 unstable gcc/4.8.5 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.0.1 unstable gcc/4.9.4 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.0.1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.0.2 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.1.0 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3

View File

@@ -1,10 +1,19 @@
#!/usr/bin/env modbuild
declare -ra vers=( ${V//./ } )
conf=()
if (( ${vers[0]} >= 1 && ${vers[1]} >= 1 )); then
conf+=("-DDKS_FULL=ON")
fi
pbuild::configure() {
export CXX=mpicxx
export CC=mpicc
cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" "${MODULE_SRCDIR}" \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
"${conf[@]}" \
"${MODULE_SRCDIR}" \
|| exit 1
}