netcdf/build reviewd, build Fortran interface
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user