Skip to content

Commit 82ea6d7

Browse files
committed
Use updated build scripts in CI
1 parent ab77357 commit 82ea6d7

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,8 @@ jobs:
7575
source /opt/intel/oneapi/setvars.sh
7676
wget https://github.com/vovkos/doxyrest/releases/download/doxyrest-2.1.2/doxyrest-2.1.2-linux-amd64.tar.xz
7777
tar xf doxyrest-2.1.2-linux-amd64.tar.xz
78-
python setup.py build_ext --inplace --generator=Ninja --build-type=Release \
79-
-- \
80-
-DCMAKE_C_COMPILER:PATH=$(which icx) \
81-
-DCMAKE_CXX_COMPILER:PATH=$(which icpx) \
82-
-DDPCTL_GENERATE_DOCS=ON \
83-
-DDPCTL_ENABLE_DOXYREST=ON \
84-
-DDoxyrest_DIR=`pwd`/doxyrest-2.1.2-linux-amd64 \
85-
-DCMAKE_VERBOSE_MAKEFILE=ON
86-
python -m pip install -e . --no-build-isolation
78+
python scripts/gen_docs.py --c-compiler=$(which icx) --cxx-compiler=$(which icpx) \
79+
--doxyrest-root=`pwd`/doxyrest-2.1.2-linux-amd64 --verbose || exit 1
8780
python -c "import dpctl; print(dpctl.__version__)" || exit 1
8881
pushd "$(find _skbuild -name cmake-build)" || exit 1
8982
cmake --build . --target Sphinx || exit 1

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ jobs:
146146
shell: bash -l {0}
147147
run: |
148148
source set_allvars.sh
149-
CC=clang CXX=clang++ python setup.py build_ext --inplace --generator=Ninja
150-
python -m pip install -e . --no-build-isolation
149+
python scripts/build_locally.py --c-compiler=clang --cxx-compiler=clang++ \
150+
--compiler-root=${SYCL_BUNDLE_FOLDER}/dpcpp_compiler/bin || exit 1
151151
152152
- name: Run lsplatforms
153153
shell: bash -l {0}

0 commit comments

Comments
 (0)