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.
This commit is contained in:
Josh Stone 2017-01-06 17:56:22 -08:00 committed by tstellar@redhat.com
parent 6448f2fb83
commit a5fe5a1bb7
1 changed files with 5 additions and 1 deletions

View File

@ -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 <jistone@redhat.com> - 3.9.1-2
- disable sphinx warnings-as-errors
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
- llvm 3.9.1