Files
MX_Pmodule/MPI/hdf5/build
2016-07-27 19:20:29 +02:00

35 lines
544 B
Plaintext
Executable File

#!/usr/bin/env modbuild
pbuild::configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
F90=$MPIF90
FC=$MPIFC
FORTRAN=$MPIFORTRAN
local conf=''
conf+=' --enable-shared'
conf+=' --enable-parallel'
conf+=' --enable-cxx'
conf+=' --enable-fortran'
conf+=' --enable-unsupported'
#conf+=' --enable-threadsafe'
conf+=' --with-pic'
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
${conf} \
|| exit 1
}
pbuild::add_to_group 'MPI'
pbuild::set_docfiles \
ACKNOWLEDGMENTS \
COPYING \
MANIFEST \
README.txt
pbuild::make_all