simde: update to 0.8.2.

This commit is contained in:
classabbyamp 2024-05-11 20:28:46 -04:00
parent 4e9fcd2645
commit 0d9a82aaa3
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 6 additions and 24 deletions

View File

@ -1,18 +0,0 @@
This workaround patch should be removable when musl implements C23
functions (technically this isn't a __GLIBC__-only quirk, but used
due to lack of anything better beside running a build test for it).
https://bugs.gentoo.org/926488
https://github.com/simd-everywhere/simde/issues/1001
--- a/simde/simde-math.h
+++ b/simde/simde-math.h
@@ -1182,3 +1182,3 @@
#if \
- (!defined(HEDLEY_EMSCRIPTEN_VERSION) && HEDLEY_HAS_BUILTIN(__builtin_roundeven)) || \
+ (defined (__GLIBC__) && !defined(HEDLEY_EMSCRIPTEN_VERSION) && HEDLEY_HAS_BUILTIN(__builtin_roundeven)) || \
HEDLEY_GCC_VERSION_CHECK(10,0,0)
@@ -1202,3 +1202,3 @@
#if \
- (!defined(HEDLEY_EMSCRIPTEN_VERSION) && HEDLEY_HAS_BUILTIN(__builtin_roundevenf)) || \
+ (defined(__GLIBC__) && !defined(HEDLEY_EMSCRIPTEN_VERSION) && HEDLEY_HAS_BUILTIN(__builtin_roundevenf)) || \
HEDLEY_GCC_VERSION_CHECK(10,0,0)

View File

@ -1,6 +1,6 @@
# Template file for 'simde'
pkgname=simde
version=0.8.0
version=0.8.2
revision=1
build_style=meson
short_desc="Implementations of SIMD instruction sets"
@ -9,12 +9,12 @@ license="MIT"
homepage="https://github.com/simd-everywhere/simde"
changelog="https://github.com/simd-everywhere/simde/releases"
distfiles="https://github.com/simd-everywhere/simde/archive/refs/tags/v${version}.tar.gz"
checksum=d7c1aef6dd9ef0fbe6f521d1ca3e79afc26deda7d8f857544ca020b42a4b9b97
checksum=ed2a3268658f2f2a9b5367628a85ccd4cf9516460ed8604eed369653d49b25fb
if [ "$XBPS_TARGET_LIBC" = musl ]; then
# /usr/bin/ld: <artificial>:(.text+0x1105): undefined reference to `roundeven'
make_check=no
fi
# if [ "$XBPS_TARGET_LIBC" = musl ]; then
# # /usr/bin/ld: <artificial>:(.text+0x1105): undefined reference to `roundeven'
# make_check=no
# fi
if [ "$XBPS_CHECK_PKGS" ] && [ "$XBPS_TARGET_LIBC" != musl ]; then
configure_args+=" -Dtests=true"