[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, December 30, 2019 @ 13:25:17 Author: archange Revision: 544624 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 544622, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-30 13:25:16 UTC (rev 544623) +++ PKGBUILD2019-12-30 13:25:17 UTC (rev 544624) @@ -1,63 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.7.1 -pkgrel=2 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=(x86_64) -url="https://www.unidata.ucar.edu/software/netcdf/; -license=(custom) -depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) -makedepends=(cmake) -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=(inetutils) -provides=("${_pkg}") -conflicts=("${_pkg}") -options=(!makeflags) -source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz) -sha256sums=('583e6b89c57037293fc3878c9181bb89151da8c6015ecea404dd426fea219b2c') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -make test -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 544622, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-12-30 13:25:17 UTC (rev 544624) @@ -0,0 +1,63 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.7.3 +pkgrel=1 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=(x86_64) +url="https://www.unidata.ucar.edu/software/netcdf/; +license=(custom) +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) +makedepends=(cmake) +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=(inetutils) +provides=("${_pkg}") +conflicts=("${_pkg}") +options=(!makeflags) +source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz) +sha256sums=('05d064a2d55147b83feff3747bea13deb77bef390cb562df4f9f9f1ce147840d') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +make test +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, October 5, 2019 @ 16:49:53 Author: archange Revision: 512959 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 512958, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-05 16:49:20 UTC (rev 512958) +++ PKGBUILD2019-10-05 16:49:53 UTC (rev 512959) @@ -1,63 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.7.1 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=(x86_64) -url="https://www.unidata.ucar.edu/software/netcdf/; -license=(custom) -depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) -makedepends=(cmake) -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=(inetutils) -provides=("${_pkg}") -conflicts=("${_pkg}") -options=(!makeflags) -source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz) -sha256sums=('583e6b89c57037293fc3878c9181bb89151da8c6015ecea404dd426fea219b2c') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -make test -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 512958, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-05 16:49:53 UTC (rev 512959) @@ -0,0 +1,63 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.7.1 +pkgrel=2 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=(x86_64) +url="https://www.unidata.ucar.edu/software/netcdf/; +license=(custom) +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) +makedepends=(cmake) +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=(inetutils) +provides=("${_pkg}") +conflicts=("${_pkg}") +options=(!makeflags) +source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz) +sha256sums=('583e6b89c57037293fc3878c9181bb89151da8c6015ecea404dd426fea219b2c') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +make test +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, August 31, 2019 @ 17:51:38 Author: archange Revision: 505742 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 505741, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 127 ++--- 1 file changed, 63 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-31 17:51:27 UTC (rev 505741) +++ PKGBUILD2019-08-31 17:51:38 UTC (rev 505742) @@ -1,64 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.7.0 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=(x86_64) -url="https://www.unidata.ucar.edu/software/netcdf/; -license=(custom) -depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) -makedepends=(cmake) -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=(inetutils) -provides=("${_pkg}") -conflicts=("${_pkg}") -options=(!makeflags) -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('26d03164074363b3911ed79b7cddd045c22adf5ebaf978943db11a1d9f15e9d3') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 505741, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-31 17:51:38 UTC (rev 505742) @@ -0,0 +1,63 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.7.1 +pkgrel=1 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=(x86_64) +url="https://www.unidata.ucar.edu/software/netcdf/; +license=(custom) +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) +makedepends=(cmake) +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=(inetutils) +provides=("${_pkg}") +conflicts=("${_pkg}") +options=(!makeflags) +source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz) +sha256sums=('583e6b89c57037293fc3878c9181bb89151da8c6015ecea404dd426fea219b2c') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +make test +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, April 30, 2019 @ 13:04:49 Author: archange Revision: 456860 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 456859, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-04-30 13:04:39 UTC (rev 456859) +++ PKGBUILD2019-04-30 13:04:49 UTC (rev 456860) @@ -1,64 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.3 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -license=('custom') -depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=("${_pkg}") -conflicts=("${_pkg}") -options=('!makeflags') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('734a629cdaed907201084d003cfa091806d6080eeffbd4204e7c7f73ff9d3564') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 456859, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-04-30 13:04:49 UTC (rev 456860) @@ -0,0 +1,64 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.7.0 +pkgrel=1 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=(x86_64) +url="https://www.unidata.ucar.edu/software/netcdf/; +license=(custom) +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" curl) +makedepends=(cmake) +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=(inetutils) +provides=("${_pkg}") +conflicts=("${_pkg}") +options=(!makeflags) +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('26d03164074363b3911ed79b7cddd045c22adf5ebaf978943db11a1d9f15e9d3') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, February 18, 2019 @ 13:06:39 Author: archange Revision: 434232 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 434231, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-02-18 13:06:12 UTC (rev 434231) +++ PKGBUILD2019-02-18 13:06:39 UTC (rev 434232) @@ -1,64 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.2 -pkgrel=2 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('673936c76ae0c496f6dde7e077f5be480afc1e300adb2c200bf56fbe22e5a82a') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 434231, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-02-18 13:06:39 UTC (rev 434232) @@ -0,0 +1,64 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.2.1 +pkgrel=1 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +license=('custom') +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=("${_pkg}") +conflicts=("${_pkg}") +options=('!makeflags') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('f5526423f11ec6c582025710d144438a707afca0499dc00f9fe6067aa8676aac') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, December 23, 2018 @ 15:54:04 Author: archange Revision: 417642 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 417641, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-12-23 15:53:56 UTC (rev 417641) +++ PKGBUILD2018-12-23 15:54:04 UTC (rev 417642) @@ -1,64 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.2 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('673936c76ae0c496f6dde7e077f5be480afc1e300adb2c200bf56fbe22e5a82a') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 417641, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-12-23 15:54:04 UTC (rev 417642) @@ -0,0 +1,64 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.2 +pkgrel=2 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +depends=("hdf5-${_mpi}" "pnetcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=('netcdf') +conflicts=('netcdf') +options=('!makeflags') +license=('custom') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('673936c76ae0c496f6dde7e077f5be480afc1e300adb2c200bf56fbe22e5a82a') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, November 20, 2018 @ 15:15:54 Author: archange Revision: 409171 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 409170, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-20 15:15:41 UTC (rev 409170) +++ PKGBUILD2018-11-20 15:15:54 UTC (rev 409171) @@ -1,64 +0,0 @@ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.1 -pkgrel=4 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 409170, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-20 15:15:54 UTC (rev 409171) @@ -0,0 +1,64 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.2 +pkgrel=1 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=('netcdf') +conflicts=('netcdf') +options=('!makeflags') +license=('custom') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('673936c76ae0c496f6dde7e077f5be480afc1e300adb2c200bf56fbe22e5a82a') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, October 23, 2018 @ 16:13:59 Author: archange Revision: 398669 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 398668, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 129 ++--- 1 file changed, 64 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-23 16:13:51 UTC (rev 398668) +++ PKGBUILD2018-10-23 16:13:59 UTC (rev 398669) @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 237977 2017-06-17 17:10:45Z archange $ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.1 -pkgrel=3 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 398668, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-23 16:13:59 UTC (rev 398669) @@ -0,0 +1,64 @@ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.1 +pkgrel=4 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=('netcdf') +conflicts=('netcdf') +options=('!makeflags') +license=('custom') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}
[arch-commits] Commit in netcdf-openmpi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:38:33 Author: archange Revision: 354995 archrelease: copy trunk to community-x86_64 Added: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 354994, netcdf-openmpi/trunk/PKGBUILD) Deleted: netcdf-openmpi/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 15:38:07 UTC (rev 354994) +++ PKGBUILD2018-07-08 15:38:33 UTC (rev 354995) @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 237977 2017-06-17 17:10:45Z archange $ -# Maintainer: Ronald van Haren -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: damir - -_pkg=netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=4.6.1 -pkgrel=1 -pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" -arch=('x86_64') -url="https://www.unidata.ucar.edu/software/netcdf/; -depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') -makedepends=('cmake') -optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') -checkdepends=('inetutils') -provides=('netcdf') -conflicts=('netcdf') -options=('!makeflags') -license=('custom') -source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) -sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') - -prepare() { -mkdir -p build -} - -build() { -cd build -export CC=mpicc -cmake ../${_pkg}-c-${pkgver} \ --DCMAKE_INSTALL_PREFIX=/usr \ --DCMAKE_INSTALL_LIBDIR=lib \ --DCMAKE_BUILD_TYPE=Release \ --DENABLE_CDF5=ON \ --DENABLE_PNETCDF=ON \ --DENABLE_DAP_LONG_TESTS=ON \ --DENABLE_EXAMPLE_TESTS=ON \ --DENABLE_EXTRA_TESTS=ON \ --DENABLE_FAILING_TESTS=ON \ --DENABLE_FILTER_TESTING=ON \ --DENABLE_LARGE_FILE_TESTS=ON -make -} - - -check() { -cd build - -# This is required starting with OpenMPI 3.0 when trying to run more -# processes than the number of available cores -export OMPI_MCA_rmaps_base_oversubscribe=yes - -# One test failure https://github.com/Unidata/netcdf-c/issues/808 -make test || warning "Test failure" -} - -package() { -cd build -make DESTDIR="${pkgdir}" install - -cd "${srcdir}"/${_pkg}-c-${pkgver} -install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ -} Copied: netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 354994, netcdf-openmpi/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 15:38:33 UTC (rev 354995) @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 237977 2017-06-17 17:10:45Z archange $ +# Maintainer: Ronald van Haren +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: damir + +_pkg=netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=4.6.1 +pkgrel=2 +pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library with parallel support (${_mpi} version)" +arch=('x86_64') +url="https://www.unidata.ucar.edu/software/netcdf/; +depends=("hdf5-${_mpi}" "parallel-netcdf-${_mpi}" 'curl') +makedepends=('cmake') +optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') +checkdepends=('inetutils') +provides=('netcdf') +conflicts=('netcdf') +options=('!makeflags') +license=('custom') +source=(${_pkg}-${pkgver}.tar.gz::"https://github.com/Unidata/netcdf-c/archive/v${pkgver}.tar.gz;) +sha256sums=('a2fabf27c72a5ee746e3843e1debbaad37cd035767eaede2045371322211eebb') + +prepare() { +mkdir -p build +} + +build() { +cd build +export CC=mpicc +cmake ../${_pkg}-c-${pkgver} \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DCMAKE_BUILD_TYPE=Release \ +-DENABLE_CDF5=ON \ +-DENABLE_PNETCDF=ON \ +-DENABLE_DAP_LONG_TESTS=ON \ +-DENABLE_EXAMPLE_TESTS=ON \ +-DENABLE_EXTRA_TESTS=ON \ +-DENABLE_FAILING_TESTS=ON \ +-DENABLE_FILTER_TESTING=ON \ +-DENABLE_LARGE_FILE_TESTS=ON +make +} + + +check() { +cd build + +# This is required starting with OpenMPI 3.0 when trying to run more +# processes than the number of available cores +export OMPI_MCA_rmaps_base_oversubscribe=yes + +# One test failure https://github.com/Unidata/netcdf-c/issues/808 +make test || warning "Test failure" +} + +package() { +cd build +make DESTDIR="${pkgdir}" install + +cd "${srcdir}"/${_pkg}-c-${pkgver} +install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}/ +}