Skip to content

Commit c85c6ad

Browse files
author
Alexander Batashev
committed
React to comments
Signed-off-by: Alexander Batashev <[email protected]>
1 parent b97f3cc commit c85c6ad

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/gh_pages.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,20 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212
with:
13-
ref: 'sycl'
13+
ref: sycl
1414
path: repo
15+
- uses: actions/checkout@v2
16+
with:
17+
repository: intel/llvm-docs
18+
path: docs
1519
- name: Install deps
1620
run: sudo apt-get install -y doxygen graphviz ssh
1721
- name: Build Docs
1822
run: |
1923
mkdir -p $GITHUB_WORKSPACE/build
2024
cd $GITHUB_WORKSPACE/build
21-
cmake -DCMAKE_BUILD_TYPE=Release \
22-
-DLLVM_EXTERNAL_PROJECTS="llvm-spirv;sycl" \
23-
-DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl" \
24-
-DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$GITHUB_WORKSPACE/repo/sycl \
25-
-DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$GITHUB_WORKSPACE/repo/llvm-spirv \
26-
-DLLVM_ENABLE_DOXYGEN=ON \
27-
$GITHUB_WORKSPACE/repo/llvm
25+
python $GITHUB_WORKSPACE/repo/buildbot/configure.py -w $GITHUB_WORKSPACE \
26+
-s $GITHUB_WORKSPACE/repo -o $GITHUB_WORKSPACE/build -t Release
2827
cmake --build . --target doxygen-sycl
2928
- name: Deploy
3029
env:
@@ -35,9 +34,7 @@ jobs:
3534
chmod 600 ~/.ssh/id_rsa
3635
eval "$(ssh-agent -s)"
3736
ssh-add -k ~/.ssh/id_rsa
38-
mkdir -p $GITHUB_WORKSPACE/docs
3937
cd $GITHUB_WORKSPACE/docs
40-
git clone --single-branch --branch gh-pages [email protected]:intel/llvm-docs.git .
4138
yes | \cp -rf $GITHUB_WORKSPACE/build/tools/sycl/doc/doxygen/html/* .
4239
git config --global user.name "iclsrc"
4340
git config --global user.email "[email protected]"

buildbot/configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def do_configure(args):
5252
"-DSYCL_ENABLE_WERROR=ON",
5353
"-DCMAKE_INSTALL_PREFIX={}".format(install_dir),
5454
"-DSYCL_INCLUDE_TESTS=ON", # Explicitly include all kinds of SYCL tests.
55+
"-DLLVM_ENABLE_DOXYGEN=ON",
5556
llvm_dir
5657
]
5758

0 commit comments

Comments
 (0)