The package rpms/sse2neon.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/sse2neon.git/commit/?id=8c6cd9f68f21....
Change: +ExclusiveArch: aarch64
Thanks.
Full change: ============
commit 8c6cd9f68f21daba71c65f44e5f74e3a7b6bbced Author: Dominik 'Rathann' Mierzejewski dominik@greysector.net Date: Wed Jan 1 22:51:26 2025 +0100
initial package (rhbz#2311822)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de94aa1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sse2neon-*.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..4b33ff5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sse2neon-1.8.0.tar.gz) = 3266c3ddf82770c89508ffd52998247e2b2d97029e1c68314e60a8c58563f91240528a1ebaccd5f756f5a10b98094e9e4e88db2e000d12d04ac910db911df730 diff --git a/sse2neon-run-more-tests-on-gcc.patch b/sse2neon-run-more-tests-on-gcc.patch new file mode 100644 index 0000000..f28e837 --- /dev/null +++ b/sse2neon-run-more-tests-on-gcc.patch @@ -0,0 +1,84 @@ +diff -up sse2neon-1.7.0/tests/impl.cpp.orig sse2neon-1.7.0/tests/impl.cpp +--- sse2neon-1.7.0/tests/impl.cpp.orig 2024-09-11 22:01:32.988454083 +0200 ++++ sse2neon-1.7.0/tests/impl.cpp 2024-09-11 22:34:57.437312354 +0200 +@@ -1332,7 +1332,7 @@ result_t test_mm_comieq_ss(const SSE2NEO + // The GCC does not implement _mm_comieq_ss correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const float *_a = impl.mTestFloatPointer1; +@@ -1380,7 +1380,7 @@ result_t test_mm_comile_ss(const SSE2NEO + // The GCC does not implement _mm_comile_ss correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const float *_a = impl.mTestFloatPointer1; +@@ -1401,7 +1401,7 @@ result_t test_mm_comilt_ss(const SSE2NEO + // The GCC does not implement _mm_comilt_ss correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const float *_a = impl.mTestFloatPointer1; +@@ -1423,7 +1423,7 @@ result_t test_mm_comineq_ss(const SSE2NE + // The GCC does not implement _mm_comineq_ss correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const float *_a = impl.mTestFloatPointer1; +@@ -1949,7 +1949,7 @@ result_t test_mm_extract_pi16(const SSE2 + // test when GCC fix this bug. + // see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98495 for more + // information +-#if defined(__clang__) || defined(_MSC_VER) ++#if defined(__clang__) || defined(_MSC_VER) || ( !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 11) ) + uint64_t *_a = (uint64_t *) impl.mTestIntPointer1; + const int idx = iter & 0x3; + +@@ -4289,7 +4289,7 @@ result_t test_mm_comieq_sd(const SSE2NEO + // The GCC does not implement _mm_comieq_sd correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const double *_a = (const double *) impl.mTestFloatPointer1; +@@ -4339,7 +4339,7 @@ result_t test_mm_comile_sd(const SSE2NEO + // The GCC does not implement _mm_comile_sd correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const double *_a = (const double *) impl.mTestFloatPointer1; +@@ -4361,7 +4361,7 @@ result_t test_mm_comilt_sd(const SSE2NEO + // The GCC does not implement _mm_comilt_sd correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const double *_a = (const double *) impl.mTestFloatPointer1; +@@ -4383,7 +4383,7 @@ result_t test_mm_comineq_sd(const SSE2NE + // The GCC does not implement _mm_comineq_sd correctly. + // See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98612 for more + // information. +-#if defined(__GNUC__) && !defined(__clang__) ++#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ < 11) + return TEST_UNIMPL; + #else + const double *_a = (const double *) impl.mTestFloatPointer1; diff --git a/sse2neon.spec b/sse2neon.spec new file mode 100644 index 0000000..6c8ffe7 --- /dev/null +++ b/sse2neon.spec @@ -0,0 +1,63 @@ +# This package only contains header files. +%global debug_package %{nil} +%global commit 706d3b58025364c2371cafcf9b16e32ff7e630ed +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global gitdate 20240816 +%global git 0 + +Name: sse2neon +Version: 1.8.0 +Release: %autorelease +Summary: A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation +License: MIT +URL: https://github.com/DLTcollab/sse2neon +%if 0%{?git} +Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +%else +Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +%endif +Patch: sse2neon-run-more-tests-on-gcc.patch +ExclusiveArch: aarch64 +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make + +%global common_description %{expand: +sse2neon is a translator of Intel SSE (Streaming SIMD Extensions) intrinsics to +Arm NEON, shortening the time needed to get an Arm working program that then +can be used to extract profiles and to identify hot paths in the code. The +header file sse2neon.h contains several of the functions provided by Intel +intrinsic headers such as <xmmintrin.h>, only implemented with NEON-based +counterparts to produce the exact semantics of the intrinsics.} + +%description +%{common_description} + +%package devel +Summary: %{summary} +Provides: %{name}-static = %{version}-%{release} + +%description devel +%{common_description} + +%prep +%if 0%{?git} +%autosetup -p1 -n %{name}-%{commit} +%else +%autosetup -p1 +%endif + +%install +install -dm755 %{buildroot}%{_includedir} +install -pm644 %{name}.h %{buildroot}%{_includedir} + +%check +%make_build check + +%files devel +%license LICENSE +%doc CONTRIBUTING.md README.md +%{_includedir}/%{name}.h + +%changelog +%autochangelog
arch-excludes@lists.fedoraproject.org