highway: update to 1.2.0, build shared libs
This commit is contained in:
parent
38c0aab456
commit
7ee600e95e
3 changed files with 19 additions and 7 deletions
|
@ -4518,3 +4518,4 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
|
|||
libopenrazer.so.0 libopenrazer-0.2.0_1
|
||||
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
|
||||
libbox2d.so.2 box2d-2.4.1_1
|
||||
libhwy.so.1 highway-1.2.0_1
|
||||
|
|
1
srcpkgs/highway-devel
Symbolic link
1
srcpkgs/highway-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
highway
|
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'highway'
|
||||
pkgname=highway
|
||||
version=1.1.0
|
||||
version=1.2.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DHWY_SYSTEM_GTEST=ON -DHWY_ENABLE_EXAMPLES=OFF"
|
||||
configure_args="-DHWY_SYSTEM_GTEST=ON -DHWY_ENABLE_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON"
|
||||
checkdepends="gtest-devel"
|
||||
short_desc="C++ library providing portable SIMD/vector intrinsics"
|
||||
maintainer="Joshua Krämer <joshua@kraemer.link>"
|
||||
|
@ -11,13 +11,23 @@ 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=354a8b4539b588e70b98ec70844273e3f2741302c4c377bcc4e81b3d1866f7c9
|
||||
checksum=7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343
|
||||
|
||||
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"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) configure_args+=" -DHWY_CMAKE_SSE2=ON";;
|
||||
esac
|
||||
|
||||
highway-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue