File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${SKBUILD_MODULE_PATH})
78
78
message (STATUS "CMAKE_MODULE_PATH=" "${CMAKE_MODULE_PATH} " )
79
79
80
80
# Add packages
81
- find_package (PythonLibs REQUIRED)
82
- find_package (PythonExtensions REQUIRED)
83
- find_package (NumPy REQUIRED)
81
+ find_package (Python 3.8 REQUIRED
82
+ COMPONENTS Interpreter Development.Module NumPy)
84
83
find_package (Dpctl REQUIRED)
84
+ find_package (NumPy REQUIRED)
85
85
86
86
# Includes
87
87
include (GNUInstallDirs)
@@ -104,9 +104,6 @@ add_library(${PROJECT_NAME} MODULE ${SOURCES})
104
104
target_link_libraries (${PROJECT_NAME} ${Python_LIBRARIES} )
105
105
target_link_libraries (${PROJECT_NAME} DPCTLSyclInterface)
106
106
107
- # Build python extension module
108
- python_extension_module(${PROJECT_NAME} )
109
-
110
107
# If IS_DEVELOP, copy back the target into numba_dpex/core/runtime
111
108
if (IS_DEVELOP)
112
109
add_custom_command (
You can’t perform that action at this time.
0 commit comments