Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
336f3f4b85
commit
a3b588cbb0
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
Name: libomp
|
Name: libomp
|
||||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
@ -124,7 +124,7 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||||||
%ifnarch %{ix86} %{arm}
|
%ifnarch %{ix86} %{arm}
|
||||||
# libomptarget is not supported on 32-bit systems.
|
# libomptarget is not supported on 32-bit systems.
|
||||||
# s390x does not support the offloading plugins.
|
# s390x does not support the offloading plugins.
|
||||||
%ifnarch s390x
|
%ifnarch s390x riscv64
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix}
|
%{_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix}
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
|
%{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
|
||||||
@ -144,7 +144,7 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||||||
%ifnarch %{ix86} %{arm}
|
%ifnarch %{ix86} %{arm}
|
||||||
# libomptarget is not supported on 32-bit systems.
|
# libomptarget is not supported on 32-bit systems.
|
||||||
# s390x does not support the offloading plugins.
|
# s390x does not support the offloading plugins.
|
||||||
%ifnarch s390x
|
%ifnarch s390x riscv64
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so
|
%{_libdir}/libomptarget.rtl.cuda.so
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||||
@ -156,6 +156,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.1-1.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
* Wed Mar 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
* Wed Mar 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
||||||
- 18.1.1 Release
|
- 18.1.1 Release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user