Skip to content

Commit 3037d58

Browse files
Fixed generate-docs workflows to pass generatro and build type to scikit-build
1 parent a6d037e commit 3037d58

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/generate-docs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ jobs:
6363
source /opt/intel/oneapi/setvars.sh
6464
wget https://github.com/vovkos/doxyrest/releases/download/doxyrest-2.1.2/doxyrest-2.1.2-linux-amd64.tar.xz
6565
tar xf doxyrest-2.1.2-linux-amd64.tar.xz
66-
python setup.py develop -- \
67-
-G "Ninja" \
68-
-DCMAKE_BUILD_TYPE=Debug \
69-
-DCMAKE_C_COMPILER:PATH=icx \
70-
-DCMAKE_CXX_COMPILER:PATH=icpx \
71-
-DDPCTL_GENERATE_DOCS=ON \
72-
-DDPCTL_ENABLE_DOXYREST=ON \
66+
python setup.py develop -G Ninja --build-type=Debug \
67+
-- \
68+
-DCMAKE_C_COMPILER:PATH=$(which icx) \
69+
-DCMAKE_CXX_COMPILER:PATH=$(which icpx) \
70+
-DDPCTL_GENERATE_DOCS=ON \
71+
-DDPCTL_ENABLE_DOXYREST=ON \
7372
-DDoxyrest_DIR=`pwd`/doxyrest-2.1.2-linux-amd64
7473
python -c "import dpctl; print(dpctl.__version__)" || exit 1
7574
cd "$(find _skbuild -name cmake-build)" || exit 1

0 commit comments

Comments
 (0)