mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Add a few rpmlint exceptions
This commit is contained in:
parent
b7f7ff0fcb
commit
3ac3f3b803
2 changed files with 17 additions and 1 deletions
|
@ -1,2 +1,18 @@
|
|||
# This library has no dependencies.
|
||||
addFilter("llvm-libs.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libRemarks.so.[0-9]+")
|
||||
addFilter("llvm-googletest.x86_64: W: devel-file-in-non-devel-package")
|
||||
|
||||
# same for llvm-test utilities
|
||||
addFilter("llvm-test.x86_64: W: no-manual-page-for-binary")
|
||||
|
||||
# Don't warn about libs in llvm-libs
|
||||
addFilter("llvm-libs.x86_64: W: devel-file-in-non-devel-package /usr/lib64/lib")
|
||||
# These is ok in the llvm gold plugin
|
||||
addFilter("llvm-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/LLVMgold.so")
|
||||
addFilter("llvm-libs.x86_64: W: no-soname /usr/lib64/LLVMgold.so")
|
||||
|
||||
# These are without documentation
|
||||
addFilter("llvm-googletest.x86_64: W: no-documentation")
|
||||
addFilter("llvm-libs.x86_64: W: no-documentation")
|
||||
addFilter("llvm-static.x86_64: W: no-documentation")
|
||||
addFilter("llvm-test.x86_64: W: no-documentation")
|
||||
|
|
|
@ -221,7 +221,7 @@ LLVM's modified googletest sources.
|
|||
%endif
|
||||
|
||||
# force off shared libs as cmake macros turns it on.
|
||||
%cmake -G Ninja \
|
||||
%cmake -G Ninja \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
|
|
Loading…
Reference in a new issue