[llvm] [Github] Enable warnings as errors on flang sphinx build (PR #72723)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 17 16:03:56 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
Now that the number of warnings in the flang sphinx build has come down significantly, we can turn on warnings as errors in the sphinx build, which is the default configuration in CMake.
---
Full diff: https://github.com/llvm/llvm-project/pull/72723.diff
1 Files Affected:
- (modified) .github/workflows/docs.yml (+1-3)
``````````diff
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 6329d777a182031..1eaa76cf838c049 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -150,9 +150,7 @@ jobs:
TZ=UTC ninja -C polly-build docs-polly-html docs-polly-man
- name: Build Flang docs
if: steps.docs-changed-subprojects.outputs.flang_any_changed == 'true'
- # TODO(boomanaiden154): Remove the SPHINX_WARNINGS_AS_ERRORS from the
- # CMake invocation once the warnings in the flang docs build are fixed.
run: |
- cmake -B flang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;mlir;flang" -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF ./llvm
+ cmake -B flang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;mlir;flang" -DLLVM_ENABLE_SPHINX=ON ./llvm
TZ=UTC ninja -C flang-build docs-flang-html docs-flang-man
``````````
</details>
https://github.com/llvm/llvm-project/pull/72723
More information about the llvm-commits
mailing list