Skip to content

Commit a113d01

Browse files
committed
try using pip install -e in place of setup.py develop in CI
1 parent 74947d6 commit a113d01

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,15 @@ 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 develop -G Ninja --build-type=Release \
78+
python setup.py build_ext --inplace --generator=Ninja --build-type=Release \
7979
-- \
8080
-DCMAKE_C_COMPILER:PATH=$(which icx) \
8181
-DCMAKE_CXX_COMPILER:PATH=$(which icpx) \
8282
-DDPCTL_GENERATE_DOCS=ON \
8383
-DDPCTL_ENABLE_DOXYREST=ON \
8484
-DDoxyrest_DIR=`pwd`/doxyrest-2.1.2-linux-amd64 \
8585
-DCMAKE_VERBOSE_MAKEFILE=ON
86+
python -m pip install -e . --no-build-isolation
8687
python -c "import dpctl; print(dpctl.__version__)" || exit 1
8788
pushd "$(find _skbuild -name cmake-build)" || exit 1
8889
cmake --build . --target Sphinx || exit 1

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ jobs:
146146
shell: bash -l {0}
147147
run: |
148148
source set_allvars.sh
149-
CC=clang CXX=clang++ python setup.py develop -G Ninja
149+
CC=clang CXX=clang++ python setup.py build_ext --inplace --generator=Ninja
150+
python -m pip install -e . --no-build-isolation
150151
151152
- name: Run lsplatforms
152153
shell: bash -l {0}

0 commit comments

Comments
 (0)