* update highway to 1.2.0-1.2
This commit is contained in:
parent
27aeccc0fe
commit
34e9ab47d8
23
highway/.SRCINFO
Normal file
23
highway/.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
pkgbase = highway
|
||||||
|
pkgdesc = A C++ library that provides portable SIMD/vector intrinsics
|
||||||
|
pkgver = 1.2.0
|
||||||
|
pkgrel = 1.2
|
||||||
|
url = https://github.com/google/highway/
|
||||||
|
arch = x86_64
|
||||||
|
arch = powerpc64le
|
||||||
|
arch = powerpc64
|
||||||
|
arch = powerpc
|
||||||
|
arch = riscv64
|
||||||
|
license = Apache-2.0
|
||||||
|
license = BSD-3-Clause
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = git
|
||||||
|
depends = gcc-libs
|
||||||
|
source = https://github.com/google/highway/archive/1.2.0/highway-1.2.0.tar.gz
|
||||||
|
source = highway-disable-RVV-runtime-dispatch.patch::https://github.com/google/highway/commit/c95cc0237d2f7a0f5ca5dc3fb4b5961b2b1dcdfc.patch
|
||||||
|
sha256sums = 7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343
|
||||||
|
sha256sums = 81d2248de29b07fce1a949f7c251d8279687ee38fe8646e131ca7d1ea8a72d6a
|
||||||
|
makedepends_x86_64 = gtest
|
||||||
|
makedepends_powerpc64le = gtest
|
||||||
|
|
||||||
|
pkgname = highway
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
pkgname=highway
|
pkgname=highway
|
||||||
pkgver=1.2.0
|
pkgver=1.2.0
|
||||||
pkgrel=1.1
|
pkgrel=1.2
|
||||||
pkgdesc='A C++ library that provides portable SIMD/vector intrinsics'
|
pkgdesc='A C++ library that provides portable SIMD/vector intrinsics'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://github.com/google/highway/'
|
url='https://github.com/google/highway/'
|
||||||
@ -15,8 +15,15 @@ makedepends_x86_64=('gtest')
|
|||||||
case "${CARCH}" in
|
case "${CARCH}" in
|
||||||
riscv64) options=(!lto) ;;
|
riscv64) options=(!lto) ;;
|
||||||
esac
|
esac
|
||||||
source=("https://github.com/google/highway/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
source=("https://github.com/google/highway/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||||
sha256sums=('7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343')
|
"highway-disable-RVV-runtime-dispatch.patch::https://github.com/google/highway/commit/c95cc0237d2f7a0f5ca5dc3fb4b5961b2b1dcdfc.patch")
|
||||||
|
sha256sums=('7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343'
|
||||||
|
'81d2248de29b07fce1a949f7c251d8279687ee38fe8646e131ca7d1ea8a72d6a')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
patch -p1 -i "${srcdir}/highway-disable-RVV-runtime-dispatch.patch"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
case "${CARCH}" in
|
case "${CARCH}" in
|
||||||
@ -31,6 +38,7 @@ build() {
|
|||||||
_cmake_options=(
|
_cmake_options=(
|
||||||
-DBUILD_TESTING:BOOL='OFF'
|
-DBUILD_TESTING:BOOL='OFF'
|
||||||
-DHWY_WARNINGS_ARE_ERRORS:BOOL='OFF'
|
-DHWY_WARNINGS_ARE_ERRORS:BOOL='OFF'
|
||||||
|
-DHWY_CMAKE_RVV:BOOL='OFF'
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user