* update netcdf to 4.9.3-2

This commit is contained in:
Alexander Baldeck 2025-03-03 16:01:35 +01:00
parent c8e9fc46fe
commit 5a414cf125
2 changed files with 12 additions and 11 deletions

View File

@ -1,7 +1,7 @@
pkgbase = netcdf
pkgdesc = network Common Data Form interface for array-oriented data access and corresponding library
pkgver = 4.9.2
pkgrel = 6
pkgver = 4.9.3
pkgrel = 2
url = https://www.unidata.ucar.edu/software/netcdf/
arch = x86_64
arch = powerpc64le
@ -22,7 +22,7 @@ pkgbase = netcdf
optdepends = netcdf-fortran: fortran bindings
optdepends = netcdf-cxx: c++ bindings
options = !makeflags
source = https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-4.9.2.tar.gz
sha256sums = bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7
source = https://github.com/Unidata/netcdf-c/archive/v4.9.3/netcdf-4.9.3.tar.gz
sha256sums = 990f46d49525d6ab5dc4249f8684c6deeaf54de6fec63a187e9fb382cc0ffdff
pkgname = netcdf

View File

@ -4,8 +4,8 @@
# Contributor: damir <damir@archlinux.org>
pkgname=netcdf
pkgver=4.9.2
pkgrel=6
pkgver=4.9.3
pkgrel=2
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://www.unidata.ucar.edu/software/netcdf/"
@ -16,7 +16,7 @@ optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings')
options=(!makeflags)
license=(custom)
source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7')
sha256sums=('990f46d49525d6ab5dc4249f8684c6deeaf54de6fec63a187e9fb382cc0ffdff')
prepare() {
# https://github.com/Unidata/netcdf-c/issues/2188 https://github.com/Unidata/netcdf-c/issues/2242
@ -37,13 +37,12 @@ build() {
-DNETCDF_GENERATE_NCGEN=ON
)
;;
esac
esac
cmake -B build -S ${pkgname}-c-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DPLUGIN_INSTALL_DIR=/usr/lib/netcdf/plugin \
-DNETCDF_WITH_PLUGIN_DIR=/usr/lib/netcdf/plugin \
-DENABLE_BYTERANGE=ON \
-DENABLE_DAP_LONG_TESTS=ON \
-DENABLE_DAP_REMOTE_TESTS=ON \
@ -51,7 +50,9 @@ build() {
-DENABLE_EXTRA_TESTS=ON \
-DENABLE_FILTER_TESTING=ON \
-DENABLE_LARGE_FILE_TESTS=ON \
-DENABLE_UNIT_TESTS=ON ${cmake_options[@]}
-DENABLE_UNIT_TESTS=ON \
-DNETCDF_ENABLE_LOGGING=ON \
-DENABLE_PLUGIN_INSTALL=ON ${cmake_options[@]}
make -C build
}