Skip to content

Commit bef2ba9

Browse files
committed
Use NumPy as python sublibrary in cmake
1 parent a62ff1a commit bef2ba9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

numba_dpex/core/runtime/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,14 @@ message(STATUS "CMAKE_MODULE_PATH=" "${CMAKE_MODULE_PATH}")
8383

8484
# Add packages
8585
find_package(Python 3.9 REQUIRED
86-
COMPONENTS Interpreter Development.Module)
86+
COMPONENTS Interpreter Development.Module NumPy)
8787
find_package(Dpctl REQUIRED)
88-
find_package(NumPy REQUIRED)
8988
find_package(IntelSYCL REQUIRED)
9089

9190
# Includes
9291
include(GNUInstallDirs)
9392
include_directories(${Python_INCLUDE_DIRS})
94-
include_directories(${NumPy_INCLUDE_DIRS})
93+
include_directories(${Python_NumPy_INCLUDE_DIRS})
9594
include_directories(${Numba_INCLUDE_DIRS})
9695
include_directories(${Dpctl_INCLUDE_DIRS})
9796
include_directories(.)

0 commit comments

Comments
 (0)