From 7ae42df45a5a3bb1c6609e3c389709b20081f6a455fa895c9bbe6cac73a568b1 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Mon, 6 Nov 2023 01:51:22 +0000 Subject: [PATCH] - 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 --- llvm17-rpmlintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm17-rpmlintrc b/llvm17-rpmlintrc index d2395d7..f681649 100644 --- a/llvm17-rpmlintrc +++ b/llvm17-rpmlintrc @@ -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")