Compiler/openmpi

- do not compile with CUDA support if gcc version is new then 5.4
This commit is contained in:
2018-02-19 17:48:22 +01:00
parent b45fe73c0b
commit d51910bb4d
2 changed files with 12 additions and 13 deletions

View File

@@ -11,17 +11,18 @@ openmpi/1.10.2 stable gcc/5.4.0
openmpi/1.10.2 stable gcc/6.1.0
openmpi/1.10.2 stable gcc/6.2.0
openmpi/1.10.2 unstable intel/15.3
openmpi/1.10.2 stable intel/15.3
openmpi/1.10.4 stable gcc/4.8.5
openmpi/1.10.4 stable gcc/4.9.4
openmpi/1.10.4 stable gcc/5.4.0
openmpi/1.10.4 stable gcc/6.2.0
openmpi/1.10.4 unstable gcc/6.3.0
openmpi/1.10.4 stable gcc/6.3.0
openmpi/1.10.7 unstable gcc/4.8.5 b:cuda/8.0.44
openmpi/1.10.7 unstable gcc/4.9.4 b:cuda/8.0.44
openmpi/1.10.7 unstable gcc/5.4.0 b:cuda/8.0.44
openmpi/1.10.7 unstable gcc/6.2.0 b:cuda/8.0.44
openmpi/1.10.7 unstable gcc/6.3.0 b:cuda/8.0.44
openmpi/1.10.7 unstable gcc/7.2.0 b:cuda/8.0.44
openmpi/1.10.7 stable gcc/4.8.5 b:cuda/8.0.44
openmpi/1.10.7 stable gcc/4.9.4 b:cuda/8.0.44
openmpi/1.10.7 stable gcc/5.4.0 b:cuda/8.0.44
openmpi/1.10.7 stable gcc/6.2.0
openmpi/1.10.7 stable gcc/6.3.0
openmpi/1.10.7 stable gcc/7.2.0
openmpi/1.10.7 stable gcc/7.3.0

View File

@@ -4,11 +4,9 @@ SOURCE_URL="http://www.open-mpi.org/software/ompi/v${V_MAJOR}.${V_MINOR}/downloa
pbuild::configure() {
declare -a config_args=()
case "$OS" in
Linux )
config_args+=( "--with-cuda=${CUDA_HOME}" )
;;
esac
if [[ -n "${CUDA_VERSION}" ]]; then
config_args+=( "--with-cuda=${CUDA_HOME}" )
fi
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \