[llvm] [Github] Add OpenMP docs to Github docs action (PR #70529)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 22:09:43 PDT 2023
================
@@ -125,4 +129,9 @@ jobs:
run: |
cmake -B lld-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="lld" -DLLVM_ENABLE_SPHINX=ON ./llvm
TZ=UTC ninja -C lld-build docs-lld-html
+ - name: Build OpenMP docs
+ if: steps.docs-changed-subprojects.outputs.openmp_any_changed == 'true'
+ run: |
+ cmake -B openmp-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;openmp" -DLLVM_ENABLE_SPHINX=ON ./llvm
----------------
boomanaiden154 wrote:
The `CMake` invocation fails if you don't also build `clang`. I'm not entirely sure why the dependency tree is set up the way it is, but it's needed to get the build working.
https://github.com/llvm/llvm-project/pull/70529
More information about the llvm-commits
mailing list