File tree Expand file tree Collapse file tree 8 files changed +8
-32
lines changed
Expand file tree Collapse file tree 8 files changed +8
-32
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
4040add_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
4845if (_dpnp_sycl_targets)
4946 # make fat binary
Original file line number Diff line number Diff line change @@ -34,10 +34,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3434add_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
4239if (_dpnp_sycl_targets)
4340 # make fat binary
Original file line number Diff line number Diff line change @@ -37,10 +37,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3737add_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
4542if (_dpnp_sycl_targets)
4643 # make fat binary
Original file line number Diff line number Diff line change @@ -57,10 +57,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
5757add_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
6562if (_dpnp_sycl_targets)
6663 # make fat binary
Original file line number Diff line number Diff line change @@ -42,10 +42,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
4242add_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
5047if (_dpnp_sycl_targets)
5148 # make fat binary
Original file line number Diff line number Diff line change @@ -68,10 +68,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
6868add_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
7673if (WIN32 )
7774 if (${CMAKE_VERSION} VERSION_LESS "3.27" )
Original file line number Diff line number Diff line change @@ -91,10 +91,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
9191add_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
9996if (WIN32 )
10097 if (${CMAKE_VERSION} VERSION_LESS "3.27" )
Original file line number Diff line number Diff line change @@ -37,10 +37,7 @@ pybind11_add_module(${python_module_name} MODULE ${_module_src})
3737add_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
4542if (_dpnp_sycl_targets)
4643 # make fat binary
You can’t perform that action at this time.
0 commit comments