From 33deff2f14f6d630ed5c9a322b1f925fe5506c30 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 6 Jan 2019 11:03:53 +0100 Subject: community/netcdf-openmpi: breaking the pnetcdf-openmpi cycle and disabling CDF5 --- community/netcdf-openmpi/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/netcdf-openmpi/PKGBUILD (limited to 'community/netcdf-openmpi/PKGBUILD') diff --git a/community/netcdf-openmpi/PKGBUILD b/community/netcdf-openmpi/PKGBUILD new file mode 100644 index 00000000..e18dbf41 --- /dev/null +++ b/community/netcdf-openmpi/PKGBUILD @@ -0,0 +1,11 @@ +# breaking a cycle with pnetcdf-openmpi +depends=(${depends[@]//"pnetcdf-${_mpi}"/}) + +# "Unable to support CDF5 feature because size_t is less than 8 bytes" +eval "$( + declare -f build | \ + sed ' + s/-DENABLE_CDF5=ON/-DENABLE_CDF5=OFF/g + s/-DENABLE_PNETCDF=ON/-DENABLE_PNETCDF=OFF/g + ' +)" -- cgit v1.2.3-70-g09d2