Compare commits
8 Commits
rawhide
...
f38-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 2c78cf9254 | |
David Abdurachmanov | 0b8683f681 | |
Tulio Magno Quites Machado Filho | b0e0d8b005 | |
Tulio Magno Quites Machado Filho | 561c1d2554 | |
Tulio Magno Quites Machado Filho | c47cf621db | |
Tulio Magno Quites Machado Filho | cf6760974f | |
David Abdurachmanov | c618024be2 | |
David Abdurachmanov | 9d994ab523 |
27
libomp.spec
27
libomp.spec
|
@ -5,7 +5,7 @@
|
|||
%undefine _include_frame_pointers
|
||||
|
||||
%global maj_ver 16
|
||||
%global libomp_version %{maj_ver}.0.1
|
||||
%global libomp_version %{maj_ver}.0.5
|
||||
#global rc_ver 4
|
||||
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
%global cmake_srcdir cmake-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
Name: libomp
|
||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 3%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: OpenMP runtime for clang
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||
|
@ -87,6 +87,10 @@ mv %{cmake_srcdir} cmake
|
|||
%autosetup -n %{libomp_srcdir} -p2
|
||||
|
||||
%build
|
||||
%ifarch riscv64
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
||||
%cmake -GNinja \
|
||||
-DLIBOMP_INSTALL_ALIASES=OFF \
|
||||
|
@ -146,12 +150,14 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||
%endif
|
||||
%ifnarch %{ix86} %{arm}
|
||||
# libomptarget is not supported on 32-bit systems.
|
||||
%ifnarch riscv64
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.cuda.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver}
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so.%{maj_ver}
|
||||
%endif
|
||||
%{_libdir}/libomptarget.so.%{maj_ver}
|
||||
%endif
|
||||
|
||||
|
@ -165,12 +171,14 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||
%endif
|
||||
%ifnarch %{ix86} %{arm}
|
||||
# libomptarget is not supported on 32-bit systems.
|
||||
%ifnarch riscv64
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so
|
||||
%{_libdir}/libomptarget.rtl.cuda.so
|
||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so
|
||||
%endif
|
||||
%{_libdir}/libomptarget.devicertl.a
|
||||
%{_libdir}/libomptarget-amdgpu-*.bc
|
||||
%{_libdir}/libomptarget-nvptx-*.bc
|
||||
|
@ -182,6 +190,21 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||
%{_libexecdir}/tests/libomp/
|
||||
|
||||
%changelog
|
||||
* Sun Jun 25 2023 David Abdurachmanov <davidlt@rivosinc.com> - 16.0.5-1.0.riscv64
|
||||
- Add support for riscv64
|
||||
|
||||
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
|
||||
- Update to LLVM 16.0.5
|
||||
|
||||
* Fri May 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
|
||||
- Update to LLVM 16.0.4
|
||||
|
||||
* Wed May 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
|
||||
- Update to LLVM 16.0.3
|
||||
|
||||
* Thu Apr 27 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
|
||||
- Update to LLVM 16.0.2
|
||||
|
||||
* Wed Apr 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-3
|
||||
- Bump the release. Fix rhbz#2187642.
|
||||
|
||||
|
|
8
sources
8
sources
|
@ -1,4 +1,4 @@
|
|||
SHA512 (cmake-16.0.1.src.tar.xz) = 7a0f01a82660a953e06b1df267918542205ac46f151d284dca74255c36fe5ccd995266638a85ce502a81cdd5e76ff3311e5f8488e09d0abbf22ee07cec186f5f
|
||||
SHA512 (cmake-16.0.1.src.tar.xz.sig) = 8d49050e9b04df253a5bb2fa3b27796f204d085610432826bef6bb6cab876990d67e7fd5267fc89fadf21d88da73c535c82ae6ea0e1c867f7cd5efac244b0fa2
|
||||
SHA512 (openmp-16.0.1.src.tar.xz) = 9c22ce1c7a2d12d266d5ce88d610d5bbbbf1da9ce9ad27be10f875ad238c5353b8cac7a64a84b7b0477387f3f60577eff49cde8b4521ab66509c9cd3d90c881f
|
||||
SHA512 (openmp-16.0.1.src.tar.xz.sig) = b625b5a9394109bbb46763997914b0ba8bfe80b702c8685e7ffcec19126732a8cce7b959507682bacd6c5db3d4f6b6974cc9ba9daab68504058badd5fb1e305d
|
||||
SHA512 (openmp-16.0.5.src.tar.xz) = 88517ba4bc2088526e22847ae0031581c255fe89f8f43fc0a8cd83a929e0e2c62178b061fbb4273d7b23916f2300009d271dc4167a98c25d2084b6ff4da1f7ca
|
||||
SHA512 (openmp-16.0.5.src.tar.xz.sig) = a320760eb4fcece71a240470d34a04cb7bb4a5df4fd591290b53625356781465c73b9d106d8e57937e59d7c1f3306810a36578015f77cba8a34dd3ffeacddf48
|
||||
SHA512 (cmake-16.0.5.src.tar.xz) = 0b81399c872dc886f486568537dab7033de347ba9ea68243db7df6f5651b22c5e3034a5a505185e076de2091b0d8721d35136450d1e1d1ab821bfdd6c5992df2
|
||||
SHA512 (cmake-16.0.5.src.tar.xz.sig) = 12659c47e1ff4215f0bfe2354bd3a07618f560df0c3098f469c06c04825112cd0bf5610f0e58d7de3ee84d57adbb57a60a5de20b2c8bad9ff70c64e78c3dc3e5
|
||||
|
|
Loading…
Reference in New Issue