mpich
- variant with use-flag 'merlin' added - build-script reviewed
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="http://www.mpich.org/static/downloads/$V/$P-$V.tar.gz"
|
||||
|
||||
pbuild::configure() {
|
||||
unset F90
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-cxx \
|
||||
--enable-fortran \
|
||||
|| exit 1
|
||||
}
|
||||
pbuild::set_download_url "http://www.mpich.org/static/downloads/$V/$P-${V_PKG}.tar.gz"
|
||||
|
||||
pbuild::add_to_group 'Compiler'
|
||||
pbuild::set_docfiles 'COPYRIGHT' 'README'
|
||||
|
||||
module use System
|
||||
|
||||
pbuild::pre_configure() {
|
||||
unset F90
|
||||
pbuild::add_configure_args "--enable-cxx"
|
||||
pbuild::add_configure_args "--enable-fortran"
|
||||
if pbuild::use_flag merlin; then
|
||||
pbuild::add_configure_args "--with-device=ch3:nemesis:mxm"
|
||||
pbuild::add_configure_args "--with-mxm=${MXM_DIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
pbuild::install_docfiles 'COPYRIGHT' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
mpich/3.2.1 stable gcc/5.5.0
|
||||
mpich/3.2.1 stable gcc/6.4.0
|
||||
mpich/3.2.1 stable gcc/7.3.0
|
||||
mpich/3.2.1 stable intel/17.4
|
||||
mpich/3.2.1 stable gcc/5.5.0
|
||||
mpich/3.2.1 stable gcc/6.4.0
|
||||
mpich/3.2.1 stable gcc/7.3.0
|
||||
mpich/3.2.1_merlin unstable gcc/7.3.0 b:binutils/2.29 b:mxm/3.6.3104
|
||||
mpich/3.2.1 stable intel/17.4
|
||||
|
||||
Reference in New Issue
Block a user