Compare commits

...

8 Commits

Author SHA1 Message Date
David Abdurachmanov 2c78cf9254
Fix Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-06-25 09:47:12 +03:00
David Abdurachmanov 0b8683f681
Merge remote-tracking branch 'up/f38' into f38-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-06-25 08:40:39 +03:00
Tulio Magno Quites Machado Filho b0e0d8b005 Update to LLVM 16.0.5 2023-06-06 11:46:13 -03:00
Tulio Magno Quites Machado Filho 561c1d2554 Update to LLVM 16.0.4 2023-05-19 19:08:11 -03:00
Tulio Magno Quites Machado Filho c47cf621db Update to LLVM 16.0.3 2023-05-10 14:54:36 -03:00
Tulio Magno Quites Machado Filho cf6760974f Update to LLVM 16.0.2 2023-04-27 10:15:26 -03:00
David Abdurachmanov c618024be2
Fix files for riscv64
[..]
error: Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/libomptarget.so.16-16.0.1-1.fc38.riscv64.debug
   /usr/lib64/libomptarget.so.16
    Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/libomptarget.so.16-16.0.1-1.fc38.riscv64.debug
   /usr/lib64/libomptarget.so.16
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-25 10:16:13 +03:00
David Abdurachmanov 9d994ab523
Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-25 09:15:59 +03:00
2 changed files with 29 additions and 6 deletions

View File

@ -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.

View File

@ -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