[packages/llvm] disable sphinx warnings as errors

glen glen at pld-linux.org
Wed Oct 5 10:12:01 CEST 2016


commit e962ba729dfab5d5af44c7e01db1db3f8a3d145e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 4 23:01:44 2016 +0300

    disable sphinx warnings as errors
    
    those are for llvm developers, not us
    
    cmake/modules/FindSphinx.cmake:option(SPHINX_WARNINGS_AS_ERRORS "When building documentation treat warnings as errors" ON)

 llvm.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/llvm.spec b/llvm.spec
index cfa1d50..d290576 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -515,6 +515,7 @@ CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
 %endif
 %if %{with doc}
 	-DLLVM_ENABLE_SPHINX:BOOL=ON \
+	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
 %endif
 	-DLLVM_ENABLE_PIC:BOOL=ON \
 	-DLLVM_ENABLE_ASSERTIONS:BOOL=OFF \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/e962ba729dfab5d5af44c7e01db1db3f8a3d145e



More information about the pld-cvs-commit mailing list