Skip to content

Commit f80e4d9

Browse files
Generate docs uses scikit-built setup command
1 parent 82b5855 commit f80e4d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/generate-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: ${{ !github.event.pull_request || github.event.action != 'closed' }}
5050
shell: bash -l {0}
5151
run: |
52-
pip install numpy cython setuptools sphinx sphinx_rtd_theme pydot graphviz sphinxcontrib-programoutput
52+
pip install numpy cython setuptools scikit-build sphinx sphinx_rtd_theme pydot graphviz sphinxcontrib-programoutput
5353
- name: Checkout repo
5454
uses: actions/checkout@v2
5555
with:
@@ -60,8 +60,8 @@ jobs:
6060
shell: bash -l {0}
6161
run: |
6262
source /opt/intel/oneapi/setvars.sh
63-
python setup.py develop
64-
python -c "import dpctl; print(dpctl.__version__)"
63+
python setup.py develop -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx -DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON -DDPCTL_DPCPP_HOME_DIR=${BUILD_PREFIX}
64+
python -c "import dpctl; print(dpctl.__version__)" || exit 1
6565
- name: Build docs
6666
if: ${{ !github.event.pull_request || github.event.action != 'closed' }}
6767
shell: bash -l {0}

0 commit comments

Comments
 (0)