Compare commits

...

14 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho cbf286e8a8 Revert "Be explicit about libomp-devel denpending on libomp"
This partially reverts commit f5327ee038
because it didn't fix rhbz#2187642.
We found out the issue might be related to releng changes.
We need a new release with a new NVR in order for Bodhi and pungi to
release the i686 libomp package in the x86_64 repository.
2023-04-19 17:42:47 -03:00
Tulio Magno Quites Machado Filho f5327ee038 Be explicit about libomp-devel denpending on libomp
Fix rhbz#2187642.
2023-04-18 10:39:30 -03:00
Tulio Magno Quites Machado Filho 40508e3d7e Update to LLVM 16.0.1 2023-04-13 08:45:19 -03:00
Tulio Magno Quites Machado Filho afec9af613 Update to LLVM 16.0.0
Fix an issue with the path where headers were being installed.
2023-03-21 16:01:36 -03:00
Tulio Magno Quites Machado Filho 0ceef0de65 Update to LLVM 16.0.0 RC4 2023-03-15 16:51:26 -03:00
Tulio Magno Quites Machado Filho a25fc8ff54 Improve .gitignore
Replace many entries with a few globs.
2023-03-15 14:57:31 -03:00
Tulio Magno Quites Machado Filho b2ca1b4278 Update to LLVM 16.0.0 RC3 2023-03-15 14:56:44 -03:00
Tulio Magno Quites Machado Filho 7b0c6905ec Update to LLVM 16.0.0 RC1 2023-02-15 14:35:26 -03:00
Tulio Magno Quites Machado Filho fb36333d2a Mention the Apache 2.0 license
List Apache 2.0 with LLVM exceptions in the license field.
This license got adopted in 2019.
2023-01-31 16:52:45 -03:00
Tom Stellard 742b5ab73f Omit frame pointers when building 2023-01-20 10:42:46 +01:00
Nikita Popov c1d314a4ab Fix build against GCC 13 2023-01-20 10:29:43 +01:00
Fedora Release Engineering dcbf8dbbf2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 17:04:36 +00:00
Nikita Popov 89709e18fe Update to LLVM 15.0.7 2023-01-13 17:12:20 +01:00
Nikita Popov 0c8e5de7ee Update to LLVM 15.0.6 2022-12-06 08:37:35 +01:00
3 changed files with 82 additions and 113 deletions

100
.gitignore vendored
View File

@ -1,97 +1,3 @@
/openmp-5.0.0.src.tar.xz
/openmp-5.0.1.src.tar.xz
/openmp-6.0.0rc1.src.tar.xz
/openmp-6.0.0rc2.src.tar.xz
/openmp-6.0.0.src.tar.xz
/openmp-6.0.1rc1.src.tar.xz
/openmp-6.0.1.src.tar.xz
/openmp-7.0.0rc1.src.tar.xz
/openmp-7.0.0rc3.src.tar.xz
/openmp-7.0.0.src.tar.xz
/openmp-7.0.1.src.tar.xz
/openmp-8.0.0rc1.src.tar.xz
/openmp-8.0.0rc2.src.tar.xz
/openmp-8.0.0rc4.src.tar.xz
/openmp-8.0.0.src.tar.xz
/openmp-9.0.0rc3.src.tar.xz
/openmp-9.0.0.src.tar.xz
/openmp-9.0.1.src.tar.xz
/openmp-10.0.0rc1.src.tar.xz
/openmp-10.0.0rc1.src.tar.xz.sig
/openmp-10.0.0rc2.src.tar.xz
/openmp-10.0.0rc2.src.tar.xz.sig
/openmp-10.0.0rc3.src.tar.xz
/openmp-10.0.0rc3.src.tar.xz.sig
/openmp-10.0.0rc4.src.tar.xz
/openmp-10.0.0rc4.src.tar.xz.sig
/openmp-10.0.0rc5.src.tar.xz
/openmp-10.0.0rc5.src.tar.xz.sig
/openmp-10.0.0rc6.src.tar.xz
/openmp-10.0.0rc6.src.tar.xz.sig
/openmp-10.0.0.src.tar.xz
/openmp-10.0.0.src.tar.xz.sig
/openmp-11.0.0rc1.src.tar.xz.sig
/openmp-11.0.0rc1.src.tar.xz
/openmp-11.0.0rc2.src.tar.xz
/openmp-11.0.0rc2.src.tar.xz.sig
/libomp-10.0.0-0.3.rc3.fc33.src.rpm
/libomp-8.0.0-0.3.rc3.fc29.src.rpm
/openmp-11.0.0rc3.src.tar.xz
/openmp-11.0.0rc3.src.tar.xz.sig
/openmp-8.0.0rc3.src.tar.xz
/openmp-11.0.0rc5.src.tar.xz
/openmp-11.0.0rc5.src.tar.xz.sig
/openmp-11.0.0rc6.src.tar.xz
/openmp-11.0.0rc6.src.tar.xz.sig
/openmp-11.0.0.src.tar.xz
/openmp-11.0.0.src.tar.xz.sig
/openmp-11.0.1rc1.src.tar.xz
/openmp-11.0.1rc1.src.tar.xz.sig
/openmp-11.0.1rc2.src.tar.xz
/openmp-11.0.1rc2.src.tar.xz.sig
/openmp-11.0.1.src.tar.xz
/openmp-11.0.1.src.tar.xz.sig
/openmp-11.1.0rc1.src.tar.xz
/openmp-11.1.0rc1.src.tar.xz.sig
/openmp-11.1.0rc2.src.tar.xz
/openmp-11.1.0rc2.src.tar.xz.sig
/openmp-12.0.0rc1.src.tar.xz
/openmp-12.0.0rc1.src.tar.xz.sig
/openmp-12.0.0rc2.src.tar.xz
/openmp-12.0.0rc2.src.tar.xz.sig
/openmp-12.0.0rc3.src.tar.xz
/openmp-12.0.0rc3.src.tar.xz.sig
/openmp-12.0.0rc4.src.tar.xz
/openmp-12.0.0rc4.src.tar.xz.sig
/openmp-12.0.0rc5.src.tar.xz
/openmp-12.0.0rc5.src.tar.xz.sig
/openmp-12.0.0.src.tar.xz
/openmp-12.0.0.src.tar.xz.sig
/openmp-12.0.1rc1.src.tar.xz
/openmp-12.0.1rc1.src.tar.xz.sig
/openmp-12.0.1rc3.src.tar.xz
/openmp-12.0.1rc3.src.tar.xz.sig
/openmp-12.0.1.src.tar.xz
/openmp-12.0.1.src.tar.xz.sig
/openmp-13.0.0rc1.src.tar.xz
/openmp-13.0.0rc1.src.tar.xz.sig
/openmp-13.0.0rc3.src.tar.xz
/openmp-13.0.0rc3.src.tar.xz.sig
/openmp-13.0.0.src.tar.xz
/openmp-13.0.0.src.tar.xz.sig
/openmp-13.0.1rc1.src.tar.xz
/openmp-13.0.1rc1.src.tar.xz.sig
/openmp-13.0.1rc2.src.tar.xz
/openmp-13.0.1rc2.src.tar.xz.sig
/openmp-13.0.1rc3.src.tar.xz
/openmp-13.0.1rc3.src.tar.xz.sig
/openmp-13.0.1.src.tar.xz
/openmp-13.0.1.src.tar.xz.sig
/openmp-14.0.0.src.tar.xz
/openmp-14.0.0.src.tar.xz.sig
/openmp-14.0.5.src.tar.xz
/openmp-14.0.5.src.tar.xz.sig
/openmp-15.0.0.src.tar.xz
/openmp-15.0.0.src.tar.xz.sig
/openmp-15.0.4.src.tar.xz
/openmp-15.0.4.src.tar.xz.sig
/*.tar.xz
/*.tar.xz.sig
/*.src.rpm

View File

@ -1,9 +1,14 @@
%global toolchain clang
%global maj_ver 15
%global libomp_version %{maj_ver}.0.4
#global rc_ver 3
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
%undefine _include_frame_pointers
%global maj_ver 16
%global libomp_version %{maj_ver}.0.1
#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
%ifarch ppc64le
@ -14,16 +19,18 @@
Name: libomp
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 3%{?dist}
Summary: OpenMP runtime for clang
License: NCSA
License: Apache-2.0 WITH LLVM-exception OR NCSA
URL: http://openmp.llvm.org
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
Source2: release-keys.asc
Source3: run-lit-tests
Source4: lit.fedora.cfg.py
Source5: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
Source6: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
BuildRequires: clang
# For clang-offload-packager
@ -71,21 +78,28 @@ OpenMP regression tests
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE6}' --data='%{SOURCE5}'
%setup -T -q -b 5 -n %{cmake_srcdir}
# TODO: It would be more elegant to set -DLLVM_COMMON_CMAKE_UTILS=%{_builddir}/%{cmake_srcdir},
# but this is not a CACHED variable, so we can't actually set it externally :(
cd ..
mv %{cmake_srcdir} cmake
%autosetup -n %{libomp_srcdir} -p2
%build
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
%cmake -GNinja \
-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
-DOPENMP_LIBDIR_SUFFIX= \
%endif
-DCMAKE_SKIP_RPATH:BOOL=ON
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DLIBOMP_HAVE_VERSION_SCRIPT_FLAG:BOOL=ON
%cmake_build
@ -131,35 +145,82 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libdir}/libarcher.so
%endif
%ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems.
%{_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}
%endif
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so.%{maj_ver}
%{_libdir}/libomptarget.so.%{maj_ver}
%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.
%{_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
%{_libdir}/libomptarget.devicertl.a
%{_libdir}/libomptarget-amdgpu-*.bc
%{_libdir}/libomptarget-nvptx-*.bc
%endif
%{_libdir}/libomptarget.so
%endif
%files test
%{_datadir}/libomp
%{_libexecdir}/tests/libomp/
%changelog
* Wed Apr 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-3
- Bump the release. Fix rhbz#2187642.
* Tue Apr 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-2
- Be explicit about libomp-devel denpending on libomp. Fix rhbz#2187642.
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- Update to LLVM 16.0.1
* 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
* Thu Feb 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
- Update to LLVM 16.0.0 RC3
* Tue Feb 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc1-1
- Update to LLVM 16.0.0 RC1
* Tue Jan 31 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-5
- Include the Apache license adopted in 2019.
* Fri Jan 20 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-4
- Omit frame pointers when building
* Fri Jan 20 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-3
- Fix build against GCC 13
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
- Update to LLVM 15.0.7
* Tue Dec 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
- Update to LLVM 15.0.6
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
- Update to LLVM 15.0.4

View File

@ -1,2 +1,4 @@
SHA512 (openmp-15.0.4.src.tar.xz) = e87d2051721fd16ca21bbea8f365dc1874f308338320e003b62142006864c2d79d196f6d49c6fac0193d13a914e6ebe2d110b3313cabcfb961e667afb68b2b5b
SHA512 (openmp-15.0.4.src.tar.xz.sig) = 0ec87f22f9d208b560a4d2ecb01587e0ff22afaa1db811e9f1557de9cb47d43025152f7464686b725927e143072699605670228d0d1b2af9a12694a77a6f4f2b
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