From a5fe5a1bb7fcbfec0e096f770d82b2e9a126efb4 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Feb 23 2017 16:05:51 +0000 Subject: disable sphinx warnings-as-errors Tom Stellard: - This flag has the same problem as -Werror does for compilers. Different versions of sphinx emit different warnings. So, even though upstream has a documentation buildbot and a policy to fix all warnings, if they aren't using the same version of sphinx as Fedora, we can hit warnings that they don't see. --- diff --git a/llvm.spec b/llvm.spec index bda5bc3..f2e6878 100644 --- a/llvm.spec +++ b/llvm.spec @@ -7,7 +7,7 @@ Name: llvm Version: 3.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -157,6 +157,7 @@ cd _build -DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \ -DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \ \ + -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 make %{?_smp_mflags} @@ -213,6 +214,9 @@ make check-all || : %{_libdir}/*.a %changelog +* Thu Feb 23 2017 Josh Stone - 3.9.1-2 +- disable sphinx warnings-as-errors + * Fri Feb 10 2017 Orion Poplawski - 3.9.1-1 - llvm 3.9.1