Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / hdf5


Commits:
644e7b70 by Antonio Rojas at 2024-05-03T00:08:18+02:00
upgpkg: 1.14.4.2-2: Fix segfault in h5py test suite

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = hdf5
        pkgdesc = General purpose library and file format for storing 
scientific data
        pkgver = 1.14.4.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.hdfgroup.org/hdf5
        arch = x86_64
        license = custom
@@ -15,6 +15,8 @@ pkgbase = hdf5
        provides = hdf5-java
        replaces = hdf5-java
        source = 
https://github.com/HDFGroup/hdf5/archive/hdf5_1.14.4.2/hdf5-1.14.4.2.tar.gz
+       source = https://github.com/HDFGroup/hdf5/commit/8329ef34.patch
        sha256sums = 
44c47120e8beeb69f83b2de10203dceb6ef63f253b7859063a60205c8f48ab80
+       sha256sums = 
2cb9f19245acbaf61bb63e8f941d6c0a1fbd679c6925b9c49088e61b70ba6661
 
 pkgname = hdf5


=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
 
 pkgname=hdf5
 pkgver=1.14.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="General purpose library and file format for storing scientific data"
 arch=(x86_64)
 url="https://www.hdfgroup.org/hdf5";
@@ -16,13 +16,17 @@ makedepends=(cmake time gcc-fortran java-environment)
 replaces=(hdf5-java)
 provides=(hdf5-java)
 
#source=(https://support.hdfgroup.org/ftp/HDF5/releases/${pkgname}-${pkgver:0:4}/${pkgname}-${pkgver/_/-}/src/${pkgname}-${pkgver/_/-}.tar.bz2)
-source=(https://github.com/HDFGroup/hdf5/archive/hdf5_$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('44c47120e8beeb69f83b2de10203dceb6ef63f253b7859063a60205c8f48ab80')
+source=(https://github.com/HDFGroup/hdf5/archive/hdf5_$pkgver/$pkgname-$pkgver.tar.gz
+        https://github.com/HDFGroup/hdf5/commit/8329ef34.patch)
+sha256sums=('44c47120e8beeb69f83b2de10203dceb6ef63f253b7859063a60205c8f48ab80'
+            '2cb9f19245acbaf61bb63e8f941d6c0a1fbd679c6925b9c49088e61b70ba6661')
 
 prepare() {
     cd ${pkgname}-${pkgname}_${pkgver/_/-}
     # Don't mess with build flags
     sed -e '/-Werror/d' -i configure
+    # Fix segfault in h5py tests
+    patch -p1 -i ../8329ef34.patch
 }
 
 build() {
@@ -56,7 +60,8 @@ build() {
         --enable-java \
         --with-pic \
         --with-zlib \
-        --with-szlib
+        --with-szlib \
+        --disable-nonstandard-feature-float16
     make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/commit/644e7b70e58276aa685cdf335f68005b649c98d2

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/commit/644e7b70e58276aa685cdf335f68005b649c98d2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to