Files
MX_Pmodule/Compiler/openmpi/build
Achim 941f68b946 Compiler/openmpi/build
- SOURCE_URL added
- define dependencies in variants file
2016-11-10 05:24:46 -08:00

23 lines
543 B
Plaintext
Executable File

#!/usr/bin/env modbuild
SOURCE_URL="http://www.open-mpi.org/software/ompi/v${V_MAJOR}.${V_MINOR}/downloads/openmpi-$V.tar.gz"
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-mpi-cxx \
--enable-mpi-cxx-seek \
--enable-mpi-f90 \
--enable-mpi-profile \
--enable-orterun-prefix-by-default \
--enable-shared \
--enable-smp-locks \
--with-sge=yes \
--with-slurm=yes \
|| exit 1
}
pbuild::add_to_group 'Compiler'
pbuild::set_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README'
pbuild::make_all