Skip to content

Commit 68b8703

Browse files
committed
Package new libLLVMOffload.so
Package the new libLLVMOffload.so and /usr/include/offload headers introduced in llvm/llvm-project#118614.
1 parent 2ffded4 commit 68b8703

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm.spec

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,9 @@ fi
25462546
# libomptarget is not supported on 32-bit systems.
25472547
# s390x does not support the offloading plugins.
25482548
%{install_libdir}/libomptarget.so.%{so_suffix}
2549+
%if %{maj_ver} >= 20
2550+
%{install_libdir}/libLLVMOffload.so.%{so_suffix}
2551+
%endif
25492552
%endif
25502553

25512554
%files -n %{pkg_name_libomp}-devel
@@ -2563,6 +2566,10 @@ fi
25632566
%{install_libdir}/libomptarget-amdgpu-*.bc
25642567
%{install_libdir}/libomptarget-nvptx-*.bc
25652568
%{install_libdir}/libomptarget.so
2569+
%if %{maj_ver} >= 20
2570+
%{install_libdir}/libLLVMOffload.so
2571+
%{install_includedir}/offload
2572+
%endif
25662573
%endif
25672574

25682575
#endregion OPENMP files

0 commit comments

Comments
 (0)