- 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
This commit is contained in:
Aaron Puchert 2023-11-06 01:51:22 +00:00 committed by Git OBS Bridge
parent 2c374c3b41
commit 7ae42df45a

View File

@ -14,6 +14,9 @@ addFilter("SUSE_Backports_policy-SLE_conflict")
# Archive seems to be deliberately empty on some architectures.
addFilter("lto-no-text-in-archive .*/lib.*/clang/.*/lib/linux/libclang_rt.asan_static-.*.a")
# LLVM IR archive for OpenMP offloading, deliberately contains no object code.
addFilter("lto-no-text-in-archive .*/lib.*/libomptarget.devicertl.a")
# Different versions of LLVM can produce the same SONAME, so we'll have to use
# non-standard names sometimes. (Leap's rpmlint complains, Tumbleweed's doesn't.)
addFilter("shlib-policy-name-error")