Name: x86-simd-sort Version: 1.0 Release: %autorelease Summary: C++ header file library for high performance SIMD based sorting algorithms License: BSD-3-Clause URL: https://github.com/intel/x86-simd-sort Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: meson-build.patch # C++ header file library for x86 processors. ExclusiveArch: x86_64 BuildRequires: gcc-c++ BuildRequires: gtest-devel BuildRequires: meson %description C++ header file library for SIMD based 16-bit, 32-bit and 64-bit data type sorting on x86 processors. Source header files are available in src directory. We currently only have AVX-512 based implementation of quicksort. This repository also includes a test suite which can be built and run to test the sorting algorithms for correctness. It also has benchmarking code to compare its performance relative to std::sort. %package devel Summary: Development files for %{name} BuildArch: noarch Provides: %{name}-static = %{version}-%{release} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for applications that use %{name}. %prep %autosetup -p1 %build %meson %meson_build %install %meson_install install -pDm755 %{_vpath_builddir}/testexe %{buildroot}%{_bindir}/simd-avx512-tester %check %meson_test %files %license LICENSE.md %doc README.md %{_bindir}/simd-avx512-tester %files devel %{_includedir}/* %{_datadir}/pkgconfig/%{name}.pc %changelog %autochangelog