Skip to content

Commit acb4584

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

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/generate-docs.yml

Lines changed: 9 additions & 8 deletions
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 \
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
78+
CMAKE_ARGS="-G Ninja \
79+
-DCMAKE_BUILD_TYPE=Release \
80+
-DCMAKE_C_COMPILER=$(which icx) \
81+
-DCMAKE_CXX_COMPILER=$(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
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ 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+
CMAKE_ARGS="-G Ninja \
150+
-DCMAKE_C_COMPILER=clang \
151+
-DCMAKE_CXX_COMPILER=clang++" \
152+
python -m pip install -e . --no-build-isolation
150153
151154
- name: Run lsplatforms
152155
shell: bash -l {0}

0 commit comments

Comments
 (0)