From f8e229a68fa7aa3c3e46759c98f27a697ea05d17 Mon Sep 17 00:00:00 2001 From: topazus Date: Fri, 17 Nov 2023 16:53:25 +0800 Subject: [PATCH 1/9] initial import (RHBZ#2225003) --- .gitignore | 1 + packit.yaml | 22 +++++++++++++++++ sources | 1 + veccore.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 .gitignore create mode 100644 packit.yaml create mode 100644 sources create mode 100644 veccore.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2889662 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/veccore-0.8.1.tar.gz diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..af66de7 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,22 @@ +upstream_package_name: veccore +upstream_project_url: https://github.com/root-project/veccore + +downstream_package_name: veccore + +specfile_path: veccore.spec + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-all \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..b5665ce --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (veccore-0.8.1.tar.gz) = c3315cadb4b7bfe1e092cd243c0ca43d8461f71d6097f11b41a2c5cd12f4cccf9bac7d7843f52000d627051434bca8c9ebe6a23e80223c645246b02d5222e161 diff --git a/veccore.spec b/veccore.spec new file mode 100644 index 0000000..1a0c77d --- /dev/null +++ b/veccore.spec @@ -0,0 +1,70 @@ +# header-only library +%global debug_package %{nil} + +%global forgeurl https://github.com/root-project/veccore +Version: 0.8.1 +%forgemeta + +Name: veccore +Release: %autorelease +Summary: C++ Library for Portable SIMD Vectorization +License: Apache-2.0 +URL: %{forgeurl} +Source0: %{forgesource} + +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: ninja-build +BuildRequires: gtest-devel + +%description +VecCore is a simple abstraction layer on top of other vectorization libraries. +It provides an architecture-independent API for expressing vector operations on +data. Code written with this API can then be dispatched to one of several +backends implemented using libraries like Vc, UME::SIMD, or a scalar +implementation. This allows one to get the best performance on platforms +supported by Vc and UME::SIMD without losing portability to unsupported +architectures like PowerPC, for example, where the scalar backends can be used +instead without requiring changes in user code. Another advantage is that, +unlike with compiler intrinsics, the same code can be compiled for SSE, AVX2, +AVX512, etc, without modifications. With the addition of new backends, such as +the new backend based on C++20 and std::experimental::simd, users can +automatically take advantage of new features and better performance. This +backend supports AVX512 on Intel/AMD64 and NEON on ARM/ARM64, with best +performance in most cases. However, it does require compiling code in C++20 +mode, which may not always be possible, so there is still an advantage in using +it via VecCore's implementation to have a fallback when C++20 is not avaialble. + +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} + +%description devel +The %{name}-devel package contains header files for developing applications that +use %{name}. + +%prep +%forgeautosetup -p1 + +%build +%cmake \ + -GNinja \ + -DBUILD_TESTING=ON \ + +%cmake_build + +%install +%cmake_install + +%check +%ctest + +%files devel +%license LICENSE +%doc README.md +%{_includedir}/VecCore/ +%dir %{_libdir}/cmake/VecCore +%{_libdir}/cmake/VecCore/*.cmake + +%changelog +%autochangelog From 514bcf2d373ef528c28ada6de794796bc2b3fedb Mon Sep 17 00:00:00 2001 From: topazus Date: Tue, 28 Nov 2023 10:16:06 +0800 Subject: [PATCH 2/9] enable packit for epel9 --- packit.yaml | 9 ++++++--- veccore.spec | 16 ++-------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/packit.yaml b/packit.yaml index af66de7..e466309 100644 --- a/packit.yaml +++ b/packit.yaml @@ -9,14 +9,17 @@ jobs: - job: pull_from_upstream trigger: release dist_git_branches: - - fedora-all + - rawhide + - epel-9 - job: koji_build trigger: commit dist_git_branches: - - fedora-all + - rawhide + - epel-9 - job: bodhi_update trigger: commit dist_git_branches: - - fedora-all \ No newline at end of file + - rawhide + - epel-9 \ No newline at end of file diff --git a/veccore.spec b/veccore.spec index 1a0c77d..f63a458 100644 --- a/veccore.spec +++ b/veccore.spec @@ -22,26 +22,14 @@ VecCore is a simple abstraction layer on top of other vectorization libraries. It provides an architecture-independent API for expressing vector operations on data. Code written with this API can then be dispatched to one of several backends implemented using libraries like Vc, UME::SIMD, or a scalar -implementation. This allows one to get the best performance on platforms -supported by Vc and UME::SIMD without losing portability to unsupported -architectures like PowerPC, for example, where the scalar backends can be used -instead without requiring changes in user code. Another advantage is that, -unlike with compiler intrinsics, the same code can be compiled for SSE, AVX2, -AVX512, etc, without modifications. With the addition of new backends, such as -the new backend based on C++20 and std::experimental::simd, users can -automatically take advantage of new features and better performance. This -backend supports AVX512 on Intel/AMD64 and NEON on ARM/ARM64, with best -performance in most cases. However, it does require compiling code in C++20 -mode, which may not always be possible, so there is still an advantage in using -it via VecCore's implementation to have a fallback when C++20 is not avaialble. +implementation. %package devel Summary: Development files for %{name} Provides: %{name}-static = %{version}-%{release} %description devel -The %{name}-devel package contains header files for developing applications that -use %{name}. +This package contains development files for %{name}. %prep %forgeautosetup -p1 From cf3400faaa23bd5688e0ce9d32c4d4a9cc1e4a2e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:36:05 +0000 Subject: [PATCH 3/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 0404b8a02ebffd66ce3e3ee8cbd46c016b547930 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:41:38 +0000 Subject: [PATCH 4/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9fb3502f544b60bf0c34411ca6b0d85810f8aa3e Mon Sep 17 00:00:00 2001 From: topazus Date: Sat, 23 Nov 2024 11:44:43 +0800 Subject: [PATCH 5/9] 0.8.2 --- .gitignore | 1 + packit.yaml | 16 ++++++---------- sources | 2 +- veccore.spec | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 2889662..4824cb1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /veccore-0.8.1.tar.gz +/veccore-0.8.2.tar.gz diff --git a/packit.yaml b/packit.yaml index e466309..6d778cb 100644 --- a/packit.yaml +++ b/packit.yaml @@ -1,25 +1,21 @@ upstream_package_name: veccore upstream_project_url: https://github.com/root-project/veccore -downstream_package_name: veccore - -specfile_path: veccore.spec - jobs: - job: pull_from_upstream trigger: release dist_git_branches: - - rawhide - - epel-9 + - fedora-rawhide - job: koji_build trigger: commit + allowed_pr_authors: ["packit", "topazus"] + allowed_committers: ["packit", "topazus"] dist_git_branches: - - rawhide - - epel-9 + - fedora-all - job: bodhi_update trigger: commit + allowed_builders: ["packit", "topazus"] dist_git_branches: - - rawhide - - epel-9 \ No newline at end of file + - fedora-branched diff --git a/sources b/sources index b5665ce..d49b919 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (veccore-0.8.1.tar.gz) = c3315cadb4b7bfe1e092cd243c0ca43d8461f71d6097f11b41a2c5cd12f4cccf9bac7d7843f52000d627051434bca8c9ebe6a23e80223c645246b02d5222e161 +SHA512 (veccore-0.8.2.tar.gz) = 9fe6793b445a1bdbdcfa19ce5c476ea22fe1a4ce25b483ca051f75aa69ed362eaeb9d222dd9f142e8bda3cdf0c5a483c94709e462ff2c831391f8091c7ad5ccd diff --git a/veccore.spec b/veccore.spec index f63a458..ba9f013 100644 --- a/veccore.spec +++ b/veccore.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} %global forgeurl https://github.com/root-project/veccore -Version: 0.8.1 +Version: 0.8.2 %forgemeta Name: veccore From b286588389be6194c4ceac213c30884b9cf8fe74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:14:59 +0000 Subject: [PATCH 6/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2bc43b0212ba489cae92e60ccd0c3bdc50f05eb9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:02:26 +0000 Subject: [PATCH 7/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From c3b6808cbf83c3dcb4b5969dc7d27a4123c3d8a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:51:39 +0000 Subject: [PATCH 8/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 5f52f5ac0d319d7e859134c69687d671746fb55a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:26:20 +0000 Subject: [PATCH 9/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild