Fix files for riscv64
[..] error: Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/lib64/libomptarget.so.16-16.0.1-1.fc38.riscv64.debug /usr/lib64/libomptarget.so.16 Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/lib64/libomptarget.so.16-16.0.1-1.fc38.riscv64.debug /usr/lib64/libomptarget.so.16 [..] Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
9d994ab523
commit
c618024be2
|
@ -148,14 +148,16 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||
%ifnarch %{arm}
|
||||
%{_libdir}/libarcher.so
|
||||
%endif
|
||||
%ifnarch %{ix86} %{arm} riscv64
|
||||
%ifnarch %{ix86} %{arm}
|
||||
# libomptarget is not supported on 32-bit systems.
|
||||
%ifnarch riscv64
|
||||
%{_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}
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so.%{maj_ver}
|
||||
%endif
|
||||
%{_libdir}/libomptarget.so.%{maj_ver}
|
||||
%endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue