[arch-commits] Commit in pnetcdf-openmpi/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Mon Jun 27 22:01:55 UTC 2022


    Date: Monday, June 27, 2022 @ 22:01:54
  Author: archange
Revision: 1239773

Re-enable NetCDF support

Modified:
  pnetcdf-openmpi/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 21:36:38 UTC (rev 1239772)
+++ PKGBUILD	2022-06-27 22:01:54 UTC (rev 1239773)
@@ -4,12 +4,12 @@
 _mpi=openmpi
 pkgname=${_pkg}-${_mpi}
 pkgver=1.12.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Parallel I/O Library for NetCDF File Access (${_mpi} version)"
 arch=(x86_64)
 url="https://parallel-netcdf.github.io/"
 license=(custom)
-depends=("${_mpi}") # "netcdf-${_mpi}")
+depends=("${_mpi}" "netcdf-${_mpi}")
 makedepends=(gcc-fortran)
 checkdepends=(inetutils)
 provides=(parallel-netcdf parallel-netcdf-openmpi)
@@ -27,8 +27,7 @@
 build() {
   cd ${_pkg}-${pkgver}
   export CFLAGS+=" -ffat-lto-objects"
-  # https://github.com/Parallel-NetCDF/PnetCDF/issues/72
-  ./configure --prefix=/usr --enable-shared #--enable-netcdf4
+  ./configure --prefix=/usr --enable-shared --enable-netcdf4
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make LIBTOOLFLAGS=--verbose
 }



More information about the arch-commits mailing list