Skip to content

Commit 0ba14f5

Browse files
Remove _usmarray dependencies conditional
1 parent 331fd49 commit 0ba14f5

File tree

8 files changed

+8
-32
lines changed

8 files changed

+8
-32
lines changed

dpnp/backend/extensions/blas/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
4040
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
4141

4242
# Ensure Cython modules build first so _usmarray.h exists
43-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
44-
if(TARGET _usmarray)
45-
add_dependencies(${python_module_name} _usmarray)
46-
endif()
43+
add_dependencies(${python_module_name} _usmarray)
4744

4845
if(_dpnp_sycl_targets)
4946
# make fat binary

dpnp/backend/extensions/fft/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3434
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
3535

3636
# Ensure Cython modules build first so _usmarray.h exists
37-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
38-
if(TARGET _usmarray)
39-
add_dependencies(${python_module_name} _usmarray)
40-
endif()
37+
add_dependencies(${python_module_name} _usmarray)
4138

4239
if(_dpnp_sycl_targets)
4340
# make fat binary

dpnp/backend/extensions/indexing/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3737
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
3838

3939
# Ensure Cython modules build first so _usmarray.h exists
40-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
41-
if(TARGET _usmarray)
42-
add_dependencies(${python_module_name} _usmarray)
43-
endif()
40+
add_dependencies(${python_module_name} _usmarray)
4441

4542
if(_dpnp_sycl_targets)
4643
# make fat binary

dpnp/backend/extensions/lapack/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
5757
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
5858

5959
# Ensure Cython modules build first so _usmarray.h exists
60-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
61-
if(TARGET _usmarray)
62-
add_dependencies(${python_module_name} _usmarray)
63-
endif()
60+
add_dependencies(${python_module_name} _usmarray)
6461

6562
if(_dpnp_sycl_targets)
6663
# make fat binary

dpnp/backend/extensions/statistics/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
4242
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
4343

4444
# Ensure Cython modules build first so _usmarray.h exists
45-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
46-
if(TARGET _usmarray)
47-
add_dependencies(${python_module_name} _usmarray)
48-
endif()
45+
add_dependencies(${python_module_name} _usmarray)
4946

5047
if(_dpnp_sycl_targets)
5148
# make fat binary

dpnp/backend/extensions/ufunc/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
6868
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
6969

7070
# Ensure Cython modules build first so _usmarray.h exists
71-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
72-
if(TARGET _usmarray)
73-
add_dependencies(${python_module_name} _usmarray)
74-
endif()
71+
add_dependencies(${python_module_name} _usmarray)
7572

7673
if(WIN32)
7774
if(${CMAKE_VERSION} VERSION_LESS "3.27")

dpnp/backend/extensions/vm/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
9191
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
9292

9393
# Ensure Cython modules build first so _usmarray.h exists
94-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
95-
if(TARGET _usmarray)
96-
add_dependencies(${python_module_name} _usmarray)
97-
endif()
94+
add_dependencies(${python_module_name} _usmarray)
9895

9996
if(WIN32)
10097
if(${CMAKE_VERSION} VERSION_LESS "3.27")

dpnp/backend/extensions/window/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3737
add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
3838

3939
# Ensure Cython modules build first so _usmarray.h exists
40-
# Only add dependency if tensor module is being built (not in SKIP_TENSOR mode)
41-
if(TARGET _usmarray)
42-
add_dependencies(${python_module_name} _usmarray)
43-
endif()
40+
add_dependencies(${python_module_name} _usmarray)
4441

4542
if(_dpnp_sycl_targets)
4643
# make fat binary

0 commit comments

Comments
 (0)