[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:48:18 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:

Yes. I tried doing a runtimes build similar to `libc++`/`libc`/`libunwind`, but didn't have any luck with that (didn't get past CMake configuration). The buildbot for publishing the OpenMP docs also builds with `openmp` as a project instead of as a runtime, and I suspect that's for a reason.

https://github.com/llvm/llvm-project/pull/70529


More information about the llvm-commits mailing list