* update highway to 1.1.0-1
This commit is contained in:
parent
6007a45721
commit
7d61f883be
@ -2,23 +2,26 @@
|
||||
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
|
||||
|
||||
pkgname=highway
|
||||
pkgver=1.0.7
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgdesc='A C++ library for SIMD (Single Instruction, Multiple Data)'
|
||||
pkgdesc='A C++ library that provides portable SIMD/vector intrinsics'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/google/highway/'
|
||||
license=('Apache')
|
||||
license=('Apache-2.0' 'BSD-3-Clause')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('cmake' 'git')
|
||||
makedepends_powerpc64le=('gtest')
|
||||
makedepends_x86_64=('gtest')
|
||||
case "${CARCH}" in
|
||||
riscv64) options=(!lto) ;;
|
||||
esac
|
||||
source=("https://github.com/google/highway/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha256sums=('5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5')
|
||||
sha256sums=('354a8b4539b588e70b98ec70844273e3f2741302c4c377bcc4e81b3d1866f7c9')
|
||||
|
||||
build() {
|
||||
case "${CARCH}" in
|
||||
powerpc|powerpc64)
|
||||
export CXXFLAGS+=' -maltivec -latomic'
|
||||
export CXXFLAGS+=' -DHWY_COMPILE_ONLY_SCALAR -latomic'
|
||||
_cmake_options=(
|
||||
-DBUILD_TESTING:BOOL='OFF'
|
||||
-DHWY_WARNINGS_ARE_ERRORS:BOOL='OFF'
|
||||
@ -52,4 +55,5 @@ check() {
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -D -m644 "${pkgname}-${pkgver}/LICENSE-BSD3" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user