mirror of
https://src.fedoraproject.org/rpms/libomp.git
synced 2024-12-01 10:10:01 +00:00
Fix RPM snapshot build for i386 and aarch64
by moving some *.bc files into a section where they are excluded from these architectures. RPM build errors: File not found: /builddir/build/BUILDROOT/libomp-14.0.0~pre20220103.g65035e0d06762a-1.fc34.i386/usr/lib/libomptarget-new-amdgpu-gfx*.bc File not found: /builddir/build/BUILDROOT/libomp-14.0.0~pre20220103.g65035e0d06762a-1.fc34.i386/usr/lib/libomptarget-new-nvptx-sm_*.bc
This commit is contained in:
parent
c54e6b982d
commit
bf9ceea26d
1 changed files with 2 additions and 2 deletions
|
@ -152,13 +152,13 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||
%{_libdir}/libomp.so
|
||||
%if %{with snapshot_build}
|
||||
%{_libdir}/libompd.so
|
||||
%{_libdir}/libomptarget-new-amdgpu-gfx*.bc
|
||||
%{_libdir}/libomptarget-new-nvptx-sm_*.bc
|
||||
%endif
|
||||
%ifnarch %{arm}
|
||||
%{_libdir}/libarcher.so
|
||||
%endif
|
||||
%ifnarch %{ix86} %{arm}
|
||||
%{_libdir}/libomptarget-new-amdgpu-gfx*.bc
|
||||
%{_libdir}/libomptarget-new-nvptx-sm_*.bc
|
||||
%{_libdir}/libomptarget-amdgcn*.bc
|
||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||
%{_libdir}/libomptarget.rtl.cuda.so
|
||||
|
|
Loading…
Reference in a new issue