File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,8 @@ function(generate_type_stubs MODULE_NAME DEPENDS_TARGET MLIR_DEPENDS_TARGET OUTP
138138 --recursive
139139 --include -private
140140 --output -dir
141- "${OUTPUT_DIR} " )
141+ "${OUTPUT_DIR} "
142+ --quiet )
142143
143144 list (TRANSFORM ARG_OUTPUTS PREPEND "${OUTPUT_DIR} /" OUTPUT_VARIABLE _generated_type_stubs)
144145 add_custom_command (
@@ -307,14 +308,14 @@ function(add_mlir_python_modules name)
307308 ${_module_name}
308309 ${_extension_target}
309310 ${name}
310- "${CMAKE_CURRENT_SOURCE_DIR} /mlir /_mlir_libs"
311+ "${CMAKE_CURRENT_BINARY_DIR} /_mlir_libs"
311312 OUTPUTS "${_generate_type_stubs} "
312313 )
313314 add_dependencies ("${modules_target} " "${NB_STUBGEN_CUSTOM_TARGET} " )
314315 set (_stubgen_target "${MLIR_PYTHON_PACKAGE_PREFIX} .${_module_name} _type_stub_gen" )
315316 declare_mlir_python_sources(
316317 ${_stubgen_target}
317- ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR} /mlir /_mlir_libs"
318+ ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR} /_mlir_libs"
318319 ADD_TO_PARENT "${sources_target} "
319320 SOURCES "${_generate_type_stubs} "
320321 )
You can’t perform that action at this time.
0 commit comments