From 443b3b092ea3820516930f21fed54451eee5fd8c Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 2 Jul 2018 13:11:19 +0200 Subject: [PATCH] netcdf/build reviewd, build Fortran interface --- HDF5/netcdf/build | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/HDF5/netcdf/build b/HDF5/netcdf/build index b013a6f..52e6fc8 100755 --- a/HDF5/netcdf/build +++ b/HDF5/netcdf/build @@ -1,5 +1,7 @@ #!/usr/bin/env modbuild +SOURCE_URL="https://www.unidata.ucar.edu/downloads/$P/ftp/$P-$V.tar.gz" + pbuild::pre_configure() { : } @@ -15,12 +17,24 @@ pbuild::configure() { --prefix="${PREFIX}" \ --enable-netcdf-4 \ --with-pic \ + --enable-pnetcdf \ + --enable-remote-fortran-bootstrap \ || exit 1 } +pbuild::build() { + make check + make + make install + make build-netcdf-fortran + make install-netcdf-fortran +} + +pbuild::install() { + : +} + pbuild::add_to_group 'HDF5' -pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5' -pbuild::set_build_dependencies "${COMPILER}" "${MPI}" 'hdf5' pbuild::set_docfiles 'COPYRIGHT' 'README.md' 'RELEASE_NOTES.md' pbuild::make_all