* update zfp to 1.0.1-1

This commit is contained in:
Alexander Baldeck 2024-04-09 19:40:52 +02:00
parent bd665a2dcc
commit d1645aad6d

View File

@ -2,23 +2,16 @@
# Maintainer: Bruno Pagani <archange@archlinux.org> # Maintainer: Bruno Pagani <archange@archlinux.org>
pkgname=zfp pkgname=zfp
pkgver=1.0.0 pkgver=1.0.1
pkgrel=2 pkgrel=1
pkgdesc="Compressed numerical arrays that support high-speed random access" pkgdesc="Compressed numerical arrays that support high-speed random access"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://computing.llnl.gov/projects/floating-point-compression" url="https://computing.llnl.gov/projects/floating-point-compression"
license=(BSD) license=(BSD)
depends=(glibc gcc-libs) depends=(glibc gcc-libs)
makedepends=(cmake gcc-fortran cython python python-numpy) makedepends=(cmake gcc-fortran cython python python-numpy)
source=(https://github.com/LLNL/zfp/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz source=(https://github.com/LLNL/zfp/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
zfp-fix-libm-check.patch::https://github.com/LLNL/zfp/commit/6d7d2424ed082eb41d696036b26831636650a614.patch) sha256sums=('4984db6a55bc919831966dd17ba5e47ca7ac58668f4fd278ebd98cd2200da66f')
sha256sums=('fe13b03141ee9b571692aed42ff76cf37c9dcda40f9a43a808870dca3558a57c'
'fb90be8fd65448a209ea18e042e91d9207ebef63320da5cda9a2902309154e48')
prepare() {
# https://github.com/LLNL/zfp/issues/169
patch -d $pkgname-$pkgver -Np1 < zfp-fix-libm-check.patch
}
build() { build() {
cmake -B build -S ${pkgname}-${pkgver} \ cmake -B build -S ${pkgname}-${pkgver} \