Date: Thursday, June 22, 2017 @ 12:17:20 Author: archange Revision: 239545
archrelease: copy trunk to community-x86_64, community-i686 Added: parallel-netcdf-openmpi/repos/community-i686/ parallel-netcdf-openmpi/repos/community-i686/PKGBUILD (from rev 239538, parallel-netcdf-openmpi/trunk/PKGBUILD) parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 239544, parallel-netcdf-openmpi/trunk/PKGBUILD) Deleted: parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 39 -------------------------------------- 3 files changed, 90 insertions(+), 39 deletions(-) Copied: parallel-netcdf-openmpi/repos/community-i686/PKGBUILD (from rev 239538, parallel-netcdf-openmpi/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-06-22 12:17:20 UTC (rev 239545) @@ -0,0 +1,45 @@ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> + +_pkg=parallel-netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=1.8.1 +pkgrel=3 +pkgdesc="A Parallel I/O Library for NetCDF File Access" +arch=('x86_64' 'i686') +url="https://trac.mcs.anl.gov/projects/parallel-netcdf" +license=('custom') +depends=('openmpi') +makedepends=('gcc-fortran') +checkdepends=('inetutils') +provides=('parallel-netcdf') +conflicts=('parallel-netcdf') +replaces=('parallel-netcdf') +options=('!makeflags') +source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz") +sha1sums=('2a8179158731f3fa24c9b183b4b1442e8853d229') + +build() { + cd ${_pkg}-${pkgver} + + export CPPFLAGS="${CPPFLAGS} -fPIC" + ./configure --prefix=/usr + make +} + +check() { + cd ${_pkg}-${pkgver} + # Tests failing with i686: https://github.com/open-mpi/ompi/issues/3195 + if [ ${CARCH} = 'x86_64' ]; then + make check + make ptest + fi + # Tests crashing (but no failure) with x86_64: https://github.com/open-mpi/ompi/issues/3695 +} + +package() { + cd ${_pkg}-${pkgver} + make prefix="${pkgdir}/usr" install + + install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg} +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-06-22 12:10:47 UTC (rev 239544) +++ community-x86_64/PKGBUILD 2017-06-22 12:17:20 UTC (rev 239545) @@ -1,39 +0,0 @@ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> - -_pkg=parallel-netcdf -_mpi=openmpi -pkgname=${_pkg}-${_mpi} -pkgver=1.8.1 -pkgrel=2 -pkgdesc="A Parallel I/O Library for NetCDF File Access" -arch=('x86_64') # Tests fail for 'i686' -url="https://trac.mcs.anl.gov/projects/parallel-netcdf" -license=('custom') -depends=('openmpi') -makedepends=('gcc-fortran') -checkdepends=('inetutils') -provides=('parallel-netcdf') -conflicts=('parallel-netcdf') -replaces=('parallel-netcdf') -options=('!makeflags') -source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz") -sha1sums=('2a8179158731f3fa24c9b183b4b1442e8853d229') - -build() { - cd ${_pkg}-${pkgver} - ./configure --prefix=/usr - make -} - -check() { - cd ${_pkg}-${pkgver} - make check - make ptest -} - -package() { - cd ${_pkg}-${pkgver} - make prefix="${pkgdir}/usr" install - - install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg} -} Copied: parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 239544, parallel-netcdf-openmpi/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-06-22 12:17:20 UTC (rev 239545) @@ -0,0 +1,45 @@ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> + +_pkg=parallel-netcdf +_mpi=openmpi +pkgname=${_pkg}-${_mpi} +pkgver=1.8.1 +pkgrel=3 +pkgdesc="A Parallel I/O Library for NetCDF File Access" +arch=('x86_64' 'i686') +url="https://trac.mcs.anl.gov/projects/parallel-netcdf" +license=('custom') +depends=('openmpi') +makedepends=('gcc-fortran') +checkdepends=('inetutils') +provides=('parallel-netcdf') +conflicts=('parallel-netcdf') +replaces=('parallel-netcdf') +options=('!makeflags') +source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz") +sha1sums=('2a8179158731f3fa24c9b183b4b1442e8853d229') + +build() { + cd ${_pkg}-${pkgver} + + export CPPFLAGS="${CPPFLAGS} -fPIC" + ./configure --prefix=/usr + make +} + +check() { + cd ${_pkg}-${pkgver} + # Tests failing with i686: https://github.com/open-mpi/ompi/issues/3195 + if [ ${CARCH} = 'x86_64' ]; then + make check + make ptest + fi + # Tests crashing (but no failure) with x86_64: https://github.com/open-mpi/ompi/issues/3695 +} + +package() { + cd ${_pkg}-${pkgver} + make prefix="${pkgdir}/usr" install + + install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg} +}