OPAL.build: moved to family MPI, add gcc/4.8 to supported compilers

This commit is contained in:
2014-10-09 13:54:42 +02:00
parent 7eb53f9d9b
commit 3de7360f79

View File

@@ -2,18 +2,18 @@
source "$(dirname $0)/../lib/libem.bash"
# add -fopenmp to CC and CXX, if you want to compile with OpenMP
function em.configure() {
CC="$MPICC -fopenmp" CXX="$MPICXX -fopenmp" cmake \
CC="$MPICC" CXX="$MPICXX" cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DENABLE_SAAMG_SOLVER=TRUE \
"${MODULE_SRCDIR}"
}
em.add_to_family 'Tools'
em.add_to_family 'MPI'
em.set_runtime_dependencies "${COMPILER}" "${MPI}"
em.set_build_dependencies 'cmake' "${COMPILER}" "${MPI}" 'hdf5' 'H5hut' 'trilinos' 'ippl' 'gsl'
em.set_supported_compilers 'gcc/4.7'
em.set_supported_compilers 'gcc/4.7' 'gcc/4.8'
em.make_all