[llvm] [Github] fix libc documentation path (PR #118514)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 08:58:49 PST 2024
https://github.com/nickdesaulniers created https://github.com/llvm/llvm-project/pull/118514
Running `ninja docs-libc-html` produces content in {build_dir}/libc/docs, not
{build_dir}/docs. Presubmit jobs for "Test documentation build" were failing as
a result of commit 97f94af3560d ("[Github] Upload built docs as artifact from
test build docs job (#118159)")
>From f92b0505cda9d93f51c74645dbc266a4631e03ba Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Tue, 3 Dec 2024 08:56:43 -0800
Subject: [PATCH] [Github] fix libc documentation path
Running `ninja docs-libc-html` produces content in {build_dir}/libc/docs, not
{build_dir}/docs. Presubmit jobs for "Test documentation build" were failing as
a result of commit 97f94af3560d ("[Github] Upload built docs as artifact from
test build docs job (#118159)")
---
.github/workflows/docs.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 2e4009994a2b0d..fe9c70cf1f5a95 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -162,7 +162,7 @@ jobs:
cmake -B libc-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libc" -DLLVM_ENABLE_SPHINX=ON ./runtimes
TZ=UTC ninja -C libc-build docs-libc-html
mkdir built-docs/libc
- cp -r libc-build/docs/* built-docs/libc/
+ cp -r libc-build/libc/docs/* built-docs/libc/
- name: Build LLD docs
if: steps.docs-changed-subprojects.outputs.lld_any_changed == 'true'
run: |
More information about the llvm-commits
mailing list