File tree Expand file tree Collapse file tree 8 files changed +5
-17
lines changed
Expand file tree Collapse file tree 8 files changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,17 @@ target_include_directories(
7272 ${CMAKE_CURRENT_SOURCE_DIR} /../common
7373 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
7474 ${CMAKE_SOURCE_DIR} /dpctl_ext/tensor/libtensor/include
75- ${CMAKE_BINARY_DIR} # For generated Cython headers
7675)
7776
7877# treat below headers as system to suppress the warnings there during the build
7978target_include_directories (
8079 ${python_module_name}
8180 SYSTEM
82- PRIVATE ${SYCL_INCLUDE_DIR} ${Dpctl_INCLUDE_DIRS} ${Dpctl_TENSOR_INCLUDE_DIR}
81+ PRIVATE
82+ ${SYCL_INCLUDE_DIR}
83+ ${Dpctl_INCLUDE_DIRS}
84+ ${Dpctl_TENSOR_INCLUDE_DIR}
85+ ${CMAKE_BINARY_DIR} # For generated Cython headers
8386)
8487
8588if (WIN32 )
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ set_target_properties(
6363target_include_directories (
6464 ${python_module_name}
6565 PRIVATE
66- ${CMAKE_BINARY_DIR} # For generated Cython headers
6766 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
6867 ${CMAKE_SOURCE_DIR} /dpctl_ext/tensor/libtensor/include
6968)
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ set_target_properties(
6666target_include_directories (
6767 ${python_module_name}
6868 PRIVATE
69- ${CMAKE_BINARY_DIR} # For generated Cython headers
7069 ${CMAKE_CURRENT_SOURCE_DIR} /../common
7170 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
7271 ${CMAKE_SOURCE_DIR} /dpctl_ext/tensor/libtensor/include
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ set(_module_src
5555
5656pybind11_add_module (${python_module_name} MODULE ${_module_src} )
5757add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
58- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
5958
6059# Ensure Cython modules build first so _usmarray.h exists
6160add_dependencies (${python_module_name} _usmarray )
@@ -87,14 +86,6 @@ set_target_properties(
8786target_include_directories (
8887 ${python_module_name}
8988 PRIVATE
90- ${CMAKE_CURRENT_SOURCE_DIR} /../common
91- ${CMAKE_BINARY_DIR} # For generated Cython headers
92- )
93-
94- target_include_directories (
95- ${python_module_name}
96- PRIVATE
97- ${CMAKE_BINARY_DIR} # For generated Cython headers
9889 ${CMAKE_CURRENT_SOURCE_DIR} /../../
9990 ${CMAKE_CURRENT_SOURCE_DIR} /../common
10091 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ set_target_properties(
7171target_include_directories (
7272 ${python_module_name}
7373 PRIVATE
74- ${CMAKE_BINARY_DIR} # For generated Cython headers
7574 ${CMAKE_CURRENT_SOURCE_DIR} /../common
7675 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
7776 ${CMAKE_SOURCE_DIR} /dpctl_ext/tensor/libtensor/include
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ set_target_properties(
8888target_include_directories (
8989 ${python_module_name}
9090 PRIVATE
91- ${CMAKE_BINARY_DIR} # For generated Cython headers
9291 ${CMAKE_CURRENT_SOURCE_DIR} /../../
9392 ${CMAKE_CURRENT_SOURCE_DIR} /../common
9493 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ set_target_properties(
111111target_include_directories (
112112 ${python_module_name}
113113 PRIVATE
114- ${CMAKE_BINARY_DIR} # For generated Cython headers
115114 ${CMAKE_CURRENT_SOURCE_DIR} /../common
116115 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
117116 ${CMAKE_SOURCE_DIR} /dpctl_ext/tensor/libtensor/include
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ set_target_properties(
6666target_include_directories (
6767 ${python_module_name}
6868 PRIVATE
69- ${CMAKE_BINARY_DIR} # For generated Cython headers
7069 ${CMAKE_CURRENT_SOURCE_DIR} /../../
7170 ${CMAKE_CURRENT_SOURCE_DIR} /../common
7271 ${CMAKE_SOURCE_DIR} /dpnp/backend/include
You can’t perform that action at this time.
0 commit comments