Compare commits

...

6 Commits

Author SHA1 Message Date
09a5a2ccab
Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-16 16:55:34 +03:00
Timm Bäder
82ac8fbd23 Update to 18.1.8 2024-10-09 19:59:25 +02:00
Tim Flink
edbb21d522 fixing changelog and bumping release 2024-10-04 07:46:55 +02:00
Tim Flink
a378d547ca adding provides for libomp(major) and libomp-devel(major) 2024-10-04 07:46:50 +02:00
Timm Bäder
20151adea9 Conflict with next major version of non-compat package 2024-09-27 19:07:46 +02:00
Timm Bäder
29987002c4 Remove conflict with libomp = 18
This was part of a plan that didn't work out.
2024-09-23 11:39:51 +02:00
3 changed files with 25 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
/openmp-18.1.7.src.tar.xz
/openmp-18.1.7.src.tar.xz.sig
/openmp-18.1.8.src.tar.xz
/openmp-18.1.8.src.tar.xz.sig

View File

@ -9,7 +9,7 @@
%global maj_ver 18
%global min_ver 1
%global libomp_version %{maj_ver}.%{min_ver}.7
%global libomp_version %{maj_ver}.%{min_ver}.8
#global rc_ver 4
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
%global so_suffix %{maj_ver}.%{min_ver}
@ -51,7 +51,7 @@
Name: %{pkg_name}
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 5%{?dist}
Release: 3.0.riscv64%{?dist}
Summary: OpenMP runtime for clang
License: Apache-2.0 WITH LLVM-exception OR NCSA
@ -71,6 +71,7 @@ BuildRequires: %{llvm_pkg_name}-cmake-utils = %{version}
%if %{with compat_build}
BuildRequires: clang%{maj_ver}
BuildRequires: clang%{maj_ver}-tools-extra
Conflicts: libomp < %{lua: return tonumber(macros['maj_ver']) + 1}
%else
BuildRequires: clang >= %{maj_ver}
# For clang-offload-packager
@ -90,12 +91,11 @@ BuildRequires: gnupg2
# libomptarget needs the llvm cmake files
BuildRequires: %{llvm_pkg_name}-devel = %{version}
%if %{with compat_build}
Conflicts: libomp = %{maj_ver}
%endif
Requires: elfutils-libelf%{?isa}
Provides:libomp(major) = %{maj_ver}
%description
OpenMP runtime for clang.
@ -108,6 +108,8 @@ Requires: clang%{maj_ver}-resource-filesystem%{?isa} = %{version}
Requires: clang-resource-filesystem%{?isa} = %{version}
%endif
Provides:libomp-devel(major) = %{maj_ver}
%description devel
OpenMP header files.
@ -162,7 +164,7 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
%ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems.
# s390x does not support the offloading plugins.
%ifnarch s390x
%ifnarch s390x riscv64
%{install_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix}
%{install_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
%{install_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
@ -182,7 +184,7 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
%ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems.
# s390x does not support the offloading plugins.
%ifnarch s390x
%ifnarch s390x riscv64
%{install_libdir}/libomptarget.rtl.amdgpu.so
%{install_libdir}/libomptarget.rtl.cuda.so
%{install_libdir}/libomptarget.rtl.%{libomp_arch}.so
@ -194,6 +196,18 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
%endif
%changelog
* Wed Oct 16 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.8-3.0.riscv64
- Add support for riscv64
* Sat Oct 05 2024 Timm Bäder <tbaeder@redhat.com> - 18.1.8-3
- Update to 18.1.8
* Thu Oct 03 2024 Tim Flink <tflink@fedoraproject.org> - 18.1.7-8
- add provides for libomp(major) and libomp-devel(major)
* Fri Sep 27 2024 Timm Bäder <tbaeder@redhat.com> - 18.1.7-7
- Add conflicts with next major version of non-compat package
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (openmp-18.1.7.src.tar.xz) = 5f6da5f4c63515e0332a72b48da60c07da3c0ea5671df29917001df4ea90bf93a9810a203f2cd1d625438aca4a7159823087c8a12d4c9681c2a8b4c455fedd93
SHA512 (openmp-18.1.7.src.tar.xz.sig) = 4384445b220a7c4c4ac374f308fb3c9a8e888ff411968355e7e6d88321f12e5c58c9bd4d6554643e6bee8bf65ec8881391d17e784de0225038b7ed001c51b9cb
SHA512 (openmp-18.1.8.src.tar.xz) = 7c2ca736524fb741112be247ac6be39cfe1dc92381c5e2997d97044ab9705c224ae5eabcf43b59cdec9a715a14227c6fb02cb2d1829ebc47b82d3af6e4d197d3
SHA512 (openmp-18.1.8.src.tar.xz.sig) = a7f4d5a1e439de1b6387605fd9ef36ec19ed4303555678328c7bdadf44e84592d90ee2c06858de0bb7d78e1e79195c3fa78157dd277e875ed4ece4f35ab5be15