代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/xsimd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global debug_package %{nil}
Summary: C++ wrappers for SIMD intrinsics
Name: xsimd
Version: 10.0.0
Release: 5%{?dist}
License: BSD
URL: https://xsimd.readthedocs.io/
Source0: https://github.com/xtensor-stack/xsimd/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake gcc-c++
BuildRequires: doctest-devel
%description
SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that
has been available for many years. SIMD instructions perform a single operation
on a batch of values at once, and thus provide a way to significantly accelerate
code execution. However, these instructions differ between microprocessor vendors
and compilers.
xsimd provides a unified means for using these features for library authors.
Namely, it enables manipulation of batches of numbers with the same arithmetic
operators as for single values. It also provides accelerated implementation
of common mathematical functions operating on batches.
%package devel
Summary: C++ wrappers for SIMD intrinsics
Provides: %{name} = %{version}-%{release}
Provides: %{name}-static = %{version}-%{release}
%description devel
SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that
has been available for many years. SIMD instructions perform a single operation
on a batch of values at once, and thus provide a way to significantly accelerate
code execution. However, these instructions differ between microprocessor vendors
and compilers.
xsimd provides a unified means for using these features for library authors.
Namely, it enables manipulation of batches of numbers with the same arithmetic
operators as for single values. It also provides accelerated implementation
of common mathematical functions operating on batches.
%prep
%autosetup -p1
%build
%cmake -DBUILD_TESTS=ON
%cmake_build
%install
%cmake_install
%check
%ifnarch ppc64le loongarch64
%cmake_build -- xtest
%endif
%files devel
%license LICENSE
%doc README.md
%{_includedir}/%{name}/
%{_libdir}/cmake/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Mon Jul 15 2024 Pengda Dou <doupengda@loongson> - 10.0.0-5
- [Type] other
- [DESC] fix build error for loongarch64
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 10.0.0-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 10.0.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 10.0.0-2
- Rebuilt for OpenCloudOS Stream 23
* Fri Dec 16 2022 Miaojun Dong <zoedong@tencent.com> - 10.0.0-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。