From da435d2efd40809128058f3cb72036f2e69f1829 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Wed, 5 Jun 2024 02:28:20 +0000 Subject: [PATCH] fix build error for loongarch64 --- openmp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openmp.spec b/openmp.spec index c48e70d..a593cf2 100644 --- a/openmp.spec +++ b/openmp.spec @@ -32,7 +32,7 @@ Name: %{pkg_name} Version: %{openmp_version} -Release: 1 +Release: 2 Summary: OpenMP runtime for clang License: Apache License 2.0 @@ -111,7 +111,7 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a %ifnarch %{arm} %{install_libdir}/libarcher.so %endif -%ifnarch %{ix86} %{arm} riscv64 +%ifnarch %{ix86} %{arm} riscv64 loongarch64 %{install_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver} %{install_libdir}/libomptarget.rtl.cuda.so.%{maj_ver} %{install_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver} @@ -127,7 +127,7 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a %{install_libdir}/clang/%{maj_ver}/include/ompt-multiplex.h %endif %ifnarch %{ix86} %{arm} -%ifnarch riscv64 +%ifnarch riscv64 loongarch64 %{install_libdir}/libomptarget.rtl.amdgpu.so %{install_libdir}/libomptarget.rtl.cuda.so %{install_libdir}/libomptarget.rtl.%{libomp_arch}.so @@ -139,6 +139,9 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a %{install_libdir}/libomptarget.so %changelog +* Wed Jun 05 2024 Wenlong Zhang - 17.0.6-2 +- fix build error for loongarch64 + * Mon Dec 4 2023 zhoujing - 17.0.6-1 - Update to 17.0.6 -- Gitee