Skip to content

Commit ef04bab

Browse files
committed
Remove pybind dependence
1 parent 693645c commit ef04bab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

python/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,9 @@ if (AIE_ENABLE_PYTHON_PASSES)
151151
# Missed one...
152152
get_target_property(RegisterEverythingSources MLIRPythonExtension.RegisterEverything INTERFACE_SOURCES)
153153

154-
set(PYBINDINGS_SRC "${MLIR_INSTALL_PREFIX}/src/python/MLIRPythonExtension.Core")
155-
156154
set(_py_srcs
157155
${CMAKE_CURRENT_SOURCE_DIR}/AIEMLIRModule.cpp
158156
# Python passes
159-
${CMAKE_CURRENT_SOURCE_DIR}/PybindTypes.cpp
160157
${CMAKE_CURRENT_SOURCE_DIR}/PythonPass.cpp
161158
${CMAKE_CURRENT_SOURCE_DIR}/RouterPass.cpp
162159

@@ -197,7 +194,6 @@ if (AIE_ENABLE_PYTHON_PASSES)
197194
)
198195
target_include_directories(
199196
AIEPythonExtensions.MLIR
200-
INTERFACE $<BUILD_INTERFACE:${PYBINDINGS_SRC}>
201197
)
202198
if (AIE_ENABLE_XRT_PYTHON_BINDINGS)
203199
target_include_directories(AIEPythonExtensions.MLIR INTERFACE ${XRT_INCLUDE_DIR})

0 commit comments

Comments
 (0)