|
|
1cf364 |
Name: xsimd
|
|
|
1cf364 |
Version: 7.4.9
|
|
|
1cf364 |
Release: 3%{?dist}
|
|
|
1cf364 |
Summary: C++ wrappers for SIMD intrinsics
|
|
|
1cf364 |
License: BSD
|
|
|
1cf364 |
URL: https://xsimd.readthedocs.io/
|
|
|
1cf364 |
%global github https://github.com/QuantStack/xsimd
|
|
|
1cf364 |
Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
1cf364 |
|
|
|
1cf364 |
# Fix missing include for gcc-11
|
|
|
1cf364 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1923608
|
|
|
1cf364 |
Patch1: %{github}/pull/415.patch
|
|
|
1cf364 |
|
|
|
1cf364 |
BuildRequires: cmake
|
|
|
1cf364 |
BuildRequires: gcc-c++
|
|
|
1cf364 |
BuildRequires: gtest-devel
|
|
|
1cf364 |
BuildRequires: gmock-devel
|
|
|
1cf364 |
|
|
|
1cf364 |
%ifarch %{arm}
|
|
|
1cf364 |
# Only used for testing, as it's a header-only package.
|
|
|
1cf364 |
%global optflags %(echo %{optflags} -mfpu=neon)
|
|
|
1cf364 |
%endif
|
|
|
1cf364 |
|
|
|
1cf364 |
# there is no actual arched content - this is a header only library
|
|
|
1cf364 |
%global debug_package %{nil}
|
|
|
1cf364 |
|
|
|
1cf364 |
# Get Fedora 33++ behavior on anything older
|
|
|
1cf364 |
%undefine __cmake_in_source_build
|
|
|
1cf364 |
|
|
|
1cf364 |
%global _description \
|
|
|
1cf364 |
SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that \
|
|
|
1cf364 |
has been available for many years. SIMD instructions perform a single operation \
|
|
|
1cf364 |
on a batch of values at once, and thus provide a way to significantly \
|
|
|
1cf364 |
accelerate code execution. However, these instructions differ between \
|
|
|
1cf364 |
microprocessor vendors and compilers. \
|
|
|
1cf364 |
\
|
|
|
1cf364 |
xsimd provides a unified means for using these features for library authors. \
|
|
|
1cf364 |
Namely, it enables manipulation of batches of numbers with the same arithmetic \
|
|
|
1cf364 |
operators as for single values. It also provides accelerated implementation \
|
|
|
1cf364 |
of common mathematical functions operating on batches. \
|
|
|
1cf364 |
|
|
|
1cf364 |
%description %_description
|
|
|
1cf364 |
|
|
|
1cf364 |
%package devel
|
|
|
1cf364 |
Summary: %{summary}
|
|
|
1cf364 |
Provides: %{name} = %{version}-%{release}
|
|
|
1cf364 |
Provides: %{name}-static = %{version}-%{release}
|
|
|
1cf364 |
%description devel %_description
|
|
|
1cf364 |
|
|
|
1cf364 |
|
|
|
1cf364 |
%prep
|
|
|
1cf364 |
%autosetup -p1
|
|
|
1cf364 |
|
|
|
1cf364 |
%build
|
|
|
1cf364 |
%cmake -DBUILD_TESTS=ON
|
|
|
1cf364 |
%cmake_build
|
|
|
1cf364 |
|
|
|
1cf364 |
%install
|
|
|
1cf364 |
%cmake_install
|
|
|
1cf364 |
|
|
|
1cf364 |
%check
|
|
|
1cf364 |
# Explicitly not supported upstream for simd mode. Still valuable for scalar mode layer.
|
|
|
1cf364 |
%ifnarch ppc64le s390x
|
|
|
1cf364 |
%cmake_build -- xtest
|
|
|
1cf364 |
%endif
|
|
|
1cf364 |
|
|
|
1cf364 |
%files devel
|
|
|
1cf364 |
%doc README.md
|
|
|
1cf364 |
%license LICENSE
|
|
|
1cf364 |
%{_includedir}/%{name}/
|
|
|
1cf364 |
%{_libdir}/cmake/%{name}/
|
|
|
1cf364 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
1cf364 |
|
|
|
1cf364 |
%changelog
|
|
|
1cf364 |
* Thu Jan 13 2022 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 7.4.9-3
|
|
|
1cf364 |
- rebuild from lookaside
|
|
|
1cf364 |
|
|
|
1cf364 |
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.9-2
|
|
|
1cf364 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1cf364 |
|
|
|
1cf364 |
* Mon Oct 26 2020 sguelton@redhat.com - 7.4.9-1
|
|
|
1cf364 |
- Update to latest version
|
|
|
1cf364 |
|
|
|
1cf364 |
* Sat Oct 17 2020 sguelton@redhat.com - 7.4.8-2
|
|
|
1cf364 |
- Fix missing #include for gcc-11
|
|
|
1cf364 |
|
|
|
1cf364 |
* Sat Oct 3 2020 sguelton@redhat.com - 7.4.8-1
|
|
|
1cf364 |
- Update to latest version
|
|
|
1cf364 |
|
|
|
1cf364 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.6-2
|
|
|
1cf364 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1cf364 |
|
|
|
1cf364 |
* Thu Jan 16 2020 sguelton@redhat.com - 7.4.6-1
|
|
|
1cf364 |
- Update to latest version
|
|
|
1cf364 |
|
|
|
1cf364 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.3-4
|
|
|
1cf364 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1cf364 |
|
|
|
1cf364 |
* Thu Jul 04 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-3
|
|
|
1cf364 |
- Allow all architectures
|
|
|
1cf364 |
|
|
|
1cf364 |
* Wed Jul 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-2
|
|
|
1cf364 |
- Apply upstream workaround for armv7
|
|
|
1cf364 |
- Reenable tests (commented out by mistake)
|
|
|
1cf364 |
|
|
|
1cf364 |
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-1
|
|
|
1cf364 |
- Initial package
|