24 lines
844 B
Bash
24 lines
844 B
Bash
# Template file for 'highway'
|
|
pkgname=highway
|
|
version=1.0.7
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DHWY_SYSTEM_GTEST=ON -DHWY_ENABLE_EXAMPLES=OFF"
|
|
checkdepends="gtest-devel"
|
|
short_desc="C++ library providing portable SIMD/vector intrinsics"
|
|
maintainer="Joshua Krämer <joshua@kraemer.link>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/google/highway"
|
|
changelog="https://raw.githubusercontent.com/google/highway/master/debian/changelog"
|
|
distfiles="https://github.com/google/highway/archive/${version}.tar.gz"
|
|
checksum=5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
|
|
|
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DBUILD_TESTING=OFF"
|
|
fi
|
|
|
|
# Workaround for i686, requires GCC 13+
|
|
# See: https://github.com/google/highway/issues/1488
|
|
CFLAGS="-fexcess-precision=standard"
|
|
CXXFLAGS="-fexcess-precision=standard"
|