* update xsimd to 13.0.0-2

This commit is contained in:
Alexander Baldeck 2024-07-26 08:08:12 +02:00
parent bcabebc205
commit c44b244003
3 changed files with 32 additions and 6 deletions

14
xsimd/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = xsimd
pkgdesc = QuantStack tools library - Multi-dimensional arrays with broadcasting and lazy computing
pkgver = 13.0.0
pkgrel = 2
url = https://github.com/QuantStack/xsimd
arch = any
license = BSD-3-Clause
makedepends = cmake
makedepends = git
makedepends = gtest
source = git+https://github.com/QuantStack/xsimd#tag=13.0.0
sha512sums = 5c9f4cb16d0a2e835ebea58e15f290f8aab4f1d5bf7ae79500ad521fabfeb33892062431e7faa9b106c294de9e4f2041af228383c38d9a8f070dd7ec3c6f9c0b
pkgname = xsimd

4
xsimd/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[xsimd]
source = 'github'
github = 'xtensor-stack/xsimd'
use_max_tag = true

View File

@ -5,24 +5,32 @@
pkgname=xsimd
pkgver=13.0.0
pkgrel=1
pkgrel=2
pkgdesc='QuantStack tools library - Multi-dimensional arrays with broadcasting and lazy computing'
arch=(any)
url='https://github.com/QuantStack/xsimd'
license=(BSD)
license=(BSD-3-Clause)
depends=()
makedepends=(cmake
git
gtest)
source=(https://github.com/QuantStack/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f')
source=(git+https://github.com/QuantStack/$pkgname#tag=$pkgver)
sha512sums=('5c9f4cb16d0a2e835ebea58e15f290f8aab4f1d5bf7ae79500ad521fabfeb33892062431e7faa9b106c294de9e4f2041af228383c38d9a8f070dd7ec3c6f9c0b')
prepare() {
cd $pkgname
# Backport fixes for Krita
git cherry-pick -n 80a59235e3ffa51659aaa06f002bfd088b77023c
git cherry-pick -n 96edf0340492fa9c080f5182b38358ca85baef5e
}
build() {
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}