mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/netcdf to 4.8.1-3
This commit is contained in:
parent
d04f47e45c
commit
82f3686b43
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=netcdf
|
||||
pkgver=4.8.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
|
||||
arch=(x86_64)
|
||||
url="https://www.unidata.ucar.edu/software/netcdf/"
|
||||
|
@ -21,6 +21,7 @@ source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${pkgname}-${pkgv
|
|||
sha256sums=('bc018cc30d5da402622bf76462480664c6668b55eb16ba205a0dfb8647161dd0')
|
||||
|
||||
build() {
|
||||
# Disabling remote tests because of https://github.com/Unidata/netcdf-c/issues/2188
|
||||
[[ $CARCH != "aarch64" ]] && CDFS="OFF" || CDFS="ON"
|
||||
cmake -B build -S ${pkgname}-c-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
@ -29,6 +30,7 @@ build() {
|
|||
-DENABLE_BYTERANGE=ON \
|
||||
-DENABLE_CDF5=${CDFS} \
|
||||
-DENABLE_DAP_LONG_TESTS=OFF \
|
||||
-DENABLE_DAP_REMOTE_TESTS=OFF \
|
||||
-DENABLE_EXAMPLE_TESTS=ON \
|
||||
-DENABLE_EXTRA_TESTS=ON \
|
||||
-DENABLE_FILTER_TESTING=ON \
|
||||
|
|
Loading…
Reference in a new issue