SHA256
1
0
forked from pool/llvm17

Compare commits

...

35 Commits

Author SHA256 Message Date
Ana Guerrero
565a32c49b Accepting request 1224682 from devel:tools:compiler
- Apply clang-shlib-symbol-versioning.patch to add symbol versions
  to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/request/show/1224682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=13
2024-11-18 18:57:19 +00:00
Aaron Puchert
cb9cd7e85c - Apply clang-shlib-symbol-versioning.patch to add symbol versions
to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=38
2024-11-17 14:25:02 +00:00
Ana Guerrero
ca4f5d8da4 Accepting request 1223461 from devel:tools:compiler
- Require libffi when we build openmp for offloading.
- Update llvm17.keyring from upstream.
- Correct target name for libomptarget in file list (backport from llvm18)
- Enable lldb on s390x and ppc64le (bsc#1232906).

OBS-URL: https://build.opensuse.org/request/show/1223461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=12
2024-11-13 14:26:56 +00:00
Aaron Puchert
86dc7fdb49 - Update llvm17.keyring from upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=36
2024-11-12 01:16:04 +00:00
Aaron Puchert
87dace81ba - Require libffi when we build openmp for offloading.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=35
2024-11-12 00:58:30 +00:00
Aaron Puchert
c01d14e999 - Correct target name for libomptarget in file list (backport from llvm18)
- Enable lldb on s390x and ppc64le (bsc#1232906).

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=34
2024-11-12 00:51:01 +00:00
Dominique Leuenberger
3e64c73865 Accepting request 1198145 from devel:tools:compiler
- Add clang-Fix-build-with-GCC-14-on-ARM.patch to fix build with
  GCC 14 on aarch64. (boo#1229868, gh#llvm/llvm-project#78691)

OBS-URL: https://build.opensuse.org/request/show/1198145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=11
2024-09-02 11:13:21 +00:00
Ana Guerrero
74ed294ef8 Accepting request 1195706 from devel:tools:compiler
- Add minor version to Python shebangs. (boo#1212476)
- Remove shebang and executable bit where not needed.

OBS-URL: https://build.opensuse.org/request/show/1195706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=10
2024-08-25 10:09:51 +00:00
Ana Guerrero
7c4387a5a0 Accepting request 1164599 from devel:tools:compiler
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/request/show/1164599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=9
2024-04-05 18:24:15 +00:00
Aaron Puchert
ceafba1a42 - Use old conflicts/provides for python3-clang on Leap.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=26
2024-04-03 21:10:17 +00:00
Ana Guerrero
d057388aad Accepting request 1156029 from devel:tools:compiler
- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
  pulled in by cmake in SLE-15-SP6.
- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Require 8 GB memory for 64-bit architectures to prevent OOM.
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1156029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=8
2024-03-08 17:08:00 +00:00
Aaron Puchert
b3859f32b9 - More consistent placement of -DPython3_EXECUTABLE.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=24
2024-03-07 01:09:55 +00:00
Aaron Puchert
e6076495e9 Accepting request 1155404 from home:mgorse:branches:devel:tools:compiler
- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
  pulled in by cmake in SLE-15-SP6.

OBS-URL: https://build.opensuse.org/request/show/1155404
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=23
2024-03-07 01:03:49 +00:00
Aaron Puchert
5f7199f9df - Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Require 8 GB memory for 64-bit architectures to prevent OOM.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=22
2024-03-04 21:50:51 +00:00
Aaron Puchert
843a71a34f - Use %patch -P N instead of deprecated %patchN.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=21
2024-03-03 23:47:45 +00:00
Ana Guerrero
4a1da54d51 Accepting request 1138185 from devel:tools:compiler
- Use %_target_* for determining the compiler host triple (boo#1218701)

OBS-URL: https://build.opensuse.org/request/show/1138185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=7
2024-01-17 21:14:18 +00:00
Aaron Puchert
225f8d30f2 Accepting request 1138113 from home:favogt:branches:devel:tools:compiler
- Use %_target_* for determining the compiler host triple (boo#1218701)

OBS-URL: https://build.opensuse.org/request/show/1138113
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=19
2024-01-11 23:36:55 +00:00
Ana Guerrero
8ef3a8cf17 Accepting request 1130464 from devel:tools:compiler
- Update to version 17.0.6.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
- Use major version only instead of full (patch-level) version for
  versioned executables: we don't support parallel installation of
  multiple versions of the same LLVM major version. (boo#1217450)
  Also drop the clang-X.Y symlink that was introduced for
  boo#1012260, because Y is always 0.
- Manage clang-cpp with update-alternatives like other binaries.

OBS-URL: https://build.opensuse.org/request/show/1130464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=6
2023-12-03 19:48:20 +00:00
Aaron Puchert
56861a2a4e Accepting request 1130357 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 17.0.6.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
- Use major version only instead of full (patch-level) version for
  versioned executables: we don't support parallel installation of
  multiple versions of the same LLVM major version. (boo#1217450)
  Also drop the clang-X.Y symlink that was introduced for
  boo#1012260, because Y is always 0.
- Manage clang-cpp with update-alternatives like other binaries.

OBS-URL: https://build.opensuse.org/request/show/1130357
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=17
2023-12-01 21:32:44 +00:00
Ana Guerrero
1a2815f887 Accepting request 1127717 from devel:tools:compiler
- Update to version 17.0.5.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Also test clang-tools-extra (at least most parts) and lld.
- Adapt test in lld-default-sha1.patch.
- Don't disable testing if qemu_user_space_build has been set to 0.

OBS-URL: https://build.opensuse.org/request/show/1127717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=5
2023-11-21 20:28:21 +00:00
Aaron Puchert
e3aeb42953 - Expect some test failures on i586.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=15
2023-11-19 22:49:29 +00:00
Aaron Puchert
2499b5cbde - Update to version 17.0.5.
* This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Also test clang-tools-extra (at least most parts) and lld.
- Adapt test in lld-default-sha1.patch.
- Don't disable testing if qemu_user_space_build has been set to 0.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=14
2023-11-18 22:31:29 +00:00
Ana Guerrero
8cc7cce17c Accepting request 1123592 from devel:tools:compiler
- Update to version 17.0.4.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Include libomptarget.devicertl.a in libomp*-devel, which is
  required for (GPU) offloading.

OBS-URL: https://build.opensuse.org/request/show/1123592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=4
2023-11-07 20:25:35 +00:00
Aaron Puchert
7ae42df45a - Silence rpmlint complaint about missing object code in
libomptarget.devicertl.a.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=12
2023-11-06 01:51:22 +00:00
Aaron Puchert
2c374c3b41 - Update to version 17.0.4.
* This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Include libomptarget.devicertl.a in libomp*-devel, which is
  required for (GPU) offloading.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=11
2023-11-05 20:25:15 +00:00
Ana Guerrero
e1b1c52dad Accepting request 1119122 from devel:tools:compiler
- Update to version 17.0.3.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Disable zstd support for now regardless of whether libzstd-devel
  is installed. (boo#1216121)
- Limit number of LTO threads on 32-bit architectures to prevent
  out-of-memory during linking.

OBS-URL: https://build.opensuse.org/request/show/1119122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=3
2023-10-26 15:11:52 +00:00
Aaron Puchert
7d21854ac4 - Improve commit message.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=9
2023-10-20 00:34:48 +00:00
Aaron Puchert
1d2123c8ae - Fix commit email address.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=8
2023-10-20 00:21:27 +00:00
Aaron Puchert
8069b78f38 - Add bug reference.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=7
2023-10-20 00:18:31 +00:00
Aaron Puchert
644b9dbba1 - Update to version 17.0.3.
* This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Disable zstd regardless of whether it's available for now.
- Limit number of LTO threads on 32-bit architectures to prevent
  out-of-memory during linking.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=6
2023-10-20 00:12:26 +00:00
Ana Guerrero
20230ac39a Accepting request 1116228 from devel:tools:compiler
- Update to version 17.0.2.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1116228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=2
2023-10-08 10:17:24 +00:00
Aaron Puchert
61cd8731b9 - Update to version 17.0.2.
* This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=4
2023-10-07 14:33:21 +00:00
Dominique Leuenberger
3735e4c959 Accepting request 1112901 from devel:tools:compiler
- Initial release based on version 17.0.1.
  * For details, see the release notes:
    - https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html
- Rebase patches:
  * libcxx-test-library-path.patch
  * llvm_build_tablegen_component_as_shared_library.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
  * llvm-remove-clang-only-flags.patch
  * opt-viewer-Find-style-css-in-usr-share.patch
- Simplify check-no-llvm-exegesis.patch by removing test directory.
- Drop patches that have landed upstream:
  * openmp-drop-rpath.patch
- Add openmp-dont-run-gpu-arch.patch: the binaries are not
  available in our build, and neither are the toolchains they test
  for (NV CUDA and AMD HSA).

OBS-URL: https://build.opensuse.org/request/show/1112901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=1
2023-09-27 22:24:20 +00:00
Aaron Puchert
c7e2b79360 - Fix file names with optional sosuffix.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=2
2023-09-21 20:06:38 +00:00
Aaron Puchert
b497fbd409 Accepting request 1112838 from home:aaronpuchert:llvm-next
- Initial release based on version 17.0.1.
  * For details, see the release notes:
    - https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html
- Rebase patches:
  * libcxx-test-library-path.patch
  * llvm_build_tablegen_component_as_shared_library.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
  * llvm-remove-clang-only-flags.patch
  * opt-viewer-Find-style-css-in-usr-share.patch
- Simplify check-no-llvm-exegesis.patch by removing test directory.
- Drop patches that have landed upstream:
  * openmp-drop-rpath.patch
- Add openmp-dont-run-gpu-arch.patch: the binaries are not
  available in our build, and neither are the toolchains they test
  for (NV CUDA and AMD HSA).

OBS-URL: https://build.opensuse.org/request/show/1112838
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=1
2023-09-21 15:06:33 +00:00
4 changed files with 187 additions and 29 deletions

View File

@ -0,0 +1,26 @@
diff --git a/clang/tools/clang-shlib/CMakeLists.txt b/clang/tools/clang-shlib/CMakeLists.txt
index aa7fcd1efed4..054c7d59ec34 100644
--- a/clang/tools/clang-shlib/CMakeLists.txt
+++ b/clang/tools/clang-shlib/CMakeLists.txt
@@ -48,6 +48,14 @@ add_clang_library(clang-cpp
${_OBJECTS}
LINK_LIBS
${_DEPS})
+
+configure_file(simple_version_script.map.in simple_version_script.map)
+
+if (NOT LLVM_LINKER_IS_SOLARISLD AND NOT MINGW)
+ # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
+ target_link_options(clang-cpp PRIVATE LINKER:--version-script,${CMAKE_CURRENT_BINARY_DIR}/simple_version_script.map)
+endif()
+
# Optimize function calls for default visibility definitions to avoid PLT and
# reduce dynamic relocations.
if (NOT APPLE AND NOT MINGW)
diff --git a/clang/tools/clang-shlib/simple_version_script.map.in b/clang/tools/clang-shlib/simple_version_script.map.in
new file mode 100644
index 000000000000..cb2306d1f596
--- /dev/null
+++ b/clang/tools/clang-shlib/simple_version_script.map.in
@@ -0,0 +1 @@
+@LLVM_SHLIB_SYMBOL_VERSION@ { global: *; };

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Nov 16 22:38:02 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Apply clang-shlib-symbol-versioning.patch to add symbol versions
to libclang-cpp.so similar to libLLVM.so. This is required when
multiple versions of the library are loaded into the same
process. (boo#1219405, boo#1221183, boo#1233220)
-------------------------------------------------------------------
Mon Nov 11 22:53:32 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Require libffi when we build openmp for offloading.
- Update llvm17.keyring from upstream.
-------------------------------------------------------------------
Thu Nov 7 13:58:40 UTC 2024 - Michal Suchanek <msuchanek@suse.de>
- Correct target name for libomptarget in file list (backport from llvm18)
-------------------------------------------------------------------
Wed Nov 6 15:24:59 UTC 2024 - Michal Suchanek <msuchanek@suse.de>
- Enable lldb on s390x and ppc64le (bsc#1232906).
-------------------------------------------------------------------
Sat Aug 31 21:29:58 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -1,3 +1,4 @@
# Tobias Hieta <tobias@hieta.se>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
@ -39,6 +40,8 @@ w2nCoGWkAcfeuih+jfyEjN24NK+sE/bM+krwVv430ewJwm1bVUqKrbOb9aa6V9gP
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
=Lvw+
-----END PGP PUBLIC KEY BLOCK-----
# Tom Stellard <tstellar@redhat.com>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFrqgT0BEAC7xo0WH+eNrLlU5LrCk59KmImn1abFcmWNd8kYr5XfqmJKyVqo
@ -66,18 +69,18 @@ nlbLdMY08vNlxSx8LNyG0krFxJw/rq260+73yc+qjENeG68fozTEy/4jSVrF4t3m
LiN9Vjl+Rr2YuU26DjFYkCNEA2kNflYCWPJi5I0eodTPZrIPBWJ+H0YTRX31bMH9
X88FnWJuCwaqAMN3rWlX/lXNCouWDdCuPWseZApISAMnVDE2mM+JAlYEEwEIAEAC
GwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgBYhBEdOIjFqv0eFqIxujqLHlKmG
QZ2KBQJgkytfBQkJaxEiAAoJEKLHlKmGQZ2Kv8YP/jNPjcMAP0ZTpUcYV46mGKwf
aQ0g5FUMSfxP7uJHtctj2dUckPGpA9SAH+ApiJutVgTQpWqNJKPd2vVxOiu5sywN
iDKCOMlKug5m6lgLX5h3zBvSN90Hpn4I0qHRA3rgENLoPs/UYBxohvFPIhOOjPqO
HIUuSPhAIuIZawxtqlADswHiKPy38Ao5GnWRb60zKfrB+N+ZiOtg7ITrlTGYm2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AAKCRAv/GKd
P1Y73KmXAP0R/TCQcZy3E2eqgBhVUY3/0N0amRWDjssxw/O/7P/PcwD/aFQdB9Vt
f9xntjl+EcZ58U5mbwhBTYLmHpCqZUP+ugk=
=s2el
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -46,7 +46,7 @@
%bcond_without use_lld
%endif
%ifarch aarch64 x86_64
%ifarch aarch64 ppc64le s390x x86_64
%bcond_without lldb
%bcond_without lldb_python
%else
@ -95,6 +95,12 @@
%global llvm_experimental_targets ""
%endif
%ifnarch ppc64le
%global openmp_cpu %{target_cpu}
%else
%global openmp_cpu ppc64
%endif
%define _plv %{!?product_libs_llvm_ver:%{_sonum}}%{?product_libs_llvm_ver}
# Expands to -n if we're providing the distribution default for the given package.
@ -412,6 +418,8 @@ Patch24: opt-viewer-Find-style-css-in-usr-share.patch
Patch25: check-no-llvm-exegesis.patch
# PATCH-FIX-OPENSUSE lld-default-sha1.patch
Patch26: lld-default-sha1.patch
# PATCH-FIX-UPSTREAM: Use symbol versioning also for libclang-cpp.so.
Patch27: clang-shlib-symbol-versioning.patch
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4
BuildRequires: fdupes
@ -428,7 +436,7 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives
# llvm does not work on s390
ExcludeArch: s390
%if %{with ffi}
%if %{with ffi} || %{with openmp}
BuildRequires: pkgconfig(libffi)
%endif
%if %{with valgrind}
@ -853,6 +861,7 @@ pushd clang-%{_version}.src
%patch -P 6 -p1
%patch -P 7 -p2
%patch -P 9 -p2
%patch -P 27 -p2
# We hardcode openSUSE
rm unittests/Driver/DistroTest.cpp
@ -1694,8 +1703,8 @@ fi
%{_libdir}/libomptarget-nvptx-*.bc
%ifarch aarch64 ppc64le x86_64
%{_libdir}/libomptarget.devicertl.a
%{_libdir}/libomptarget.rtl.{%{target_cpu},amdgpu,cuda}.so
%{_libdir}/libomptarget.rtl.{%{target_cpu},amdgpu,cuda}.so.%{_soname}
%{_libdir}/libomptarget.rtl.{%{openmp_cpu},amdgpu,cuda}.so
%{_libdir}/libomptarget.rtl.{%{openmp_cpu},amdgpu,cuda}.so.%{_soname}
%endif
%endif
%{_libdir}/cmake/openmp