From 09a5a2ccab5102b6e8723a9810507242266b06f2 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 16 Oct 2024 16:55:34 +0300 Subject: [PATCH] Add support for riscv64 Signed-off-by: David Abdurachmanov --- libomp18.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libomp18.spec b/libomp18.spec index 23a2b6b..393278d 100644 --- a/libomp18.spec +++ b/libomp18.spec @@ -51,7 +51,7 @@ Name: %{pkg_name} Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}} -Release: 3%{?dist} +Release: 3.0.riscv64%{?dist} Summary: OpenMP runtime for clang License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -164,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} @@ -184,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 @@ -196,6 +196,9 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a %endif %changelog +* Wed Oct 16 2024 David Abdurachmanov - 18.1.8-3.0.riscv64 +- Add support for riscv64 + * Sat Oct 05 2024 Timm Bäder - 18.1.8-3 - Update to 18.1.8