all modules in MPI: set compiler variables like CC in em.configure()

This commit is contained in:
2014-05-13 15:22:23 +02:00
parent 6ae2c7ba8c
commit 7ab284a1f4
5 changed files with 36 additions and 1 deletions

View File

@@ -3,6 +3,13 @@
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
F90=$MPIF90
FC=$MPIFC
FORTRAN=$MPIFORTRAN
rm -f CMakeCache.txt
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \