Bootstrap on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
46a42ecce9
commit
06e12f39f1
11
libomp.spec
11
libomp.spec
@ -1,4 +1,6 @@
|
||||
%ifnarch riscv64
|
||||
%global toolchain clang
|
||||
%endif
|
||||
|
||||
%global maj_ver 15
|
||||
%global libomp_version %{maj_ver}.0.0
|
||||
@ -14,7 +16,7 @@
|
||||
|
||||
Name: libomp
|
||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 3%{?dist}
|
||||
Release: 3.0.riscv64%{?dist}
|
||||
Summary: OpenMP runtime for clang
|
||||
|
||||
License: NCSA
|
||||
@ -130,7 +132,7 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||
%ifnarch %{arm}
|
||||
%{_libdir}/libarcher.so
|
||||
%endif
|
||||
%ifnarch %{ix86} %{arm}
|
||||
%ifnarch %{ix86} %{arm} riscv64
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.cuda.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver}
|
||||
@ -145,7 +147,7 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||
%{_libdir}/clang/%{libomp_version}/include/ompt.h
|
||||
%{_libdir}/clang/%{libomp_version}/include/ompt-multiplex.h
|
||||
%endif
|
||||
%ifnarch %{ix86} %{arm}
|
||||
%ifnarch %{ix86} %{arm} riscv64
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||
%{_libdir}/libomptarget.rtl.cuda.so
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||
@ -160,6 +162,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||
%{_libexecdir}/tests/libomp/
|
||||
|
||||
%changelog
|
||||
* Sat Oct 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.0-3.0.riscv64
|
||||
- Bootstrap on riscv64
|
||||
|
||||
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
|
||||
- Re-enable LTO build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user