Update to LLVM 16.0.0

Fix an issue with the path where headers were being installed.
This commit is contained in:
Tulio Magno Quites Machado Filho 2023-03-21 16:01:36 -03:00
parent 0ceef0de65
commit afec9af613
2 changed files with 13 additions and 10 deletions

View File

@ -6,7 +6,7 @@
%global maj_ver 16
%global libomp_version %{maj_ver}.0.0
%global rc_ver 4
#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
@ -92,7 +92,7 @@ mv %{cmake_srcdir} cmake
-DLIBOMP_INSTALL_ALIASES=OFF \
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
-DLLVM_DIR=%{_libdir}/cmake/llvm \
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/clang/%{libomp_version}/include \
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/clang/%{maj_ver}/include \
%if 0%{?__isa_bits} == 64
-DOPENMP_LIBDIR_SUFFIX=64 \
%else
@ -156,12 +156,12 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%endif
%files devel
%{_libdir}/clang/%{libomp_version}/include/omp.h
%{_libdir}/clang/%{maj_ver}/include/omp.h
%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
%ifnarch %{arm}
%{_libdir}/clang/%{libomp_version}/include/omp-tools.h
%{_libdir}/clang/%{libomp_version}/include/ompt.h
%{_libdir}/clang/%{libomp_version}/include/ompt-multiplex.h
%{_libdir}/clang/%{maj_ver}/include/omp-tools.h
%{_libdir}/clang/%{maj_ver}/include/ompt.h
%{_libdir}/clang/%{maj_ver}/include/ompt-multiplex.h
%endif
%ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems.
@ -182,6 +182,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libexecdir}/tests/libomp/
%changelog
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
- Update to LLVM 16.0.0
* Wed Mar 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
- Update to LLVM 16.0.0 RC4

View File

@ -1,4 +1,4 @@
SHA512 (cmake-16.0.0rc4.src.tar.xz) = 888cd3cf6a8eeca1306ab8a45fbcf0fdc91f10e34dc29a0bf7aef5b1efc9af0ab54866584857fbfb725147c8e4bc1a11e8a1b247fe439ebf93fe6a73fb004101
SHA512 (cmake-16.0.0rc4.src.tar.xz.sig) = c2e4d7b79c5d2524449b8444eb4a9e1e625c50fc27dabcdd7410f44cc5b67cdd7931a5f31bc4b7652a034687d10d551aa9d89e3c01771d1b3e42b2b3a901745f
SHA512 (openmp-16.0.0rc4.src.tar.xz) = 858a1bad7c07dcfc18d1ab76704a6683cd2a1fe847fd04caf31ba9c851d3e0b3dcd1e8bbb8ed0a12b4e5979de0bde40d9874154e0bd541909d8d8e07e7181071
SHA512 (openmp-16.0.0rc4.src.tar.xz.sig) = 1c6e7a83f4031f7c9aee044a97b711efcf0bdb0b4957e7aa48b7f75a048216fda07afb63337617f3a54fc5432833194dea9550a1b07f00eeaa63db6971a04095
SHA512 (cmake-16.0.0.src.tar.xz) = 4f21461aa8165061dbea47dcda4f098957e16bd307484bcb66884cf5a0776197f69a74002d5601229c4630db53ac44049f3f2ce1e96a6bb16ba3df828d387932
SHA512 (cmake-16.0.0.src.tar.xz.sig) = c8e22d62b73ed56e66af6e7ce7a8f41de7cc16cd1243ebb602a3e5077141c03d64ca75295ca08b0051c887f59c7a53b871f7a45ead3275e11310f574a50856aa
SHA512 (openmp-16.0.0.src.tar.xz) = ea094cdf5ebc590ebe91c083bbef4164a3ad98861bfad2acfc7532e1c5a82411f606db9cef93dfc2bffbfc66f33b94b563e816647c127366496c15ab08bbc3ec
SHA512 (openmp-16.0.0.src.tar.xz.sig) = 5b3c1e67b326499aa11b712b4b8ac9919b2724223e0d85dfb7bae6396624543c4e8f4df9e355ea934ce52b7db5b2394b4a81b5b43a6a9784391579eec5f66007