- version 1.10.2 with gcc/5.5.0,6.4.0,7.3.0 and intel/18.2 added - release old versions as stable - fix SOURCE_URL in build script
24 lines
520 B
Plaintext
Executable File
24 lines
520 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
SOURCE_URL="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${V_MAJOR}.${V_MINOR}/hdf5-$V/src/hdf5-$V.tar.bz2"
|
|
|
|
pbuild::configure() {
|
|
test "$(basename "$CPP")" = "pgprepro" && {
|
|
CPP=cpp
|
|
CXX=g++
|
|
echo "INFO: substituted pgprepro with cpp, and pgc++ with g++!"
|
|
}
|
|
"${MODULE_SRCDIR}"/configure \
|
|
--prefix="${PREFIX}" \
|
|
--enable-shared \
|
|
--enable-cxx \
|
|
--enable-unsupported \
|
|
--enable-threadsafe \
|
|
--with-pic \
|
|
|| exit 1
|
|
}
|
|
|
|
pbuild::add_to_group 'Compiler'
|
|
pbuild::make_all
|
|
|