1 Star 0 Fork 2

dpd/xsimd

forked from OpenCloudOS Stream/xsimd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xsimd.spec 2.65 KB
一键复制 编辑 原始数据 按行查看 历史
dpd 提交于 2024-07-15 16:33 . fix build error for loongarch64
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dpdwaj/xsimd.git
git@gitee.com:dpdwaj/xsimd.git
dpdwaj
xsimd
xsimd
master

搜索帮助