Skip to content

Commit fe55ce3

Browse files
committed
build cython examples in the project directory
With -w, cython writes its depfile relative to the source directory, which fails when the temporary build directory is on another drive.
1 parent e520a55 commit fe55ce3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎examples/cython/sycl_buffer/pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ name = "syclbuffer"
2929
version = "0.0.0"
3030

3131
[tool.scikit-build]
32+
# cython -w fails to write its depfile if the build is on another drive
33+
build-dir = "build/{wheel_tag}"
3234
# the Visual Studio generator ignores CC and CXX
3335
cmake.args = ["-GNinja"]

‎examples/cython/use_dpctl_sycl/pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ name = "use_dpctl_sycl"
2929
version = "0.0.0"
3030

3131
[tool.scikit-build]
32+
# cython -w fails to write its depfile if the build is on another drive
33+
build-dir = "build/{wheel_tag}"
3234
# the Visual Studio generator ignores CC and CXX
3335
cmake.args = ["-GNinja"]

0 commit comments

Comments
 (0)