vcpkg/ports/llvm/0006-create-destination-mlir-directory.patch
2023-10-12 10:46:42 -07:00

17 lines
617 B
Diff

mlir/python/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mlir/python/CMakeLists.txt b/mlir/python/CMakeLists.txt
index 50fbca38a08f..957a6722c21c 100644
--- a/mlir/python/CMakeLists.txt
+++ b/mlir/python/CMakeLists.txt
@@ -527,6 +527,8 @@ add_mlir_python_common_capi_library(MLIRPythonCAPI
${_ADDL_TEST_SOURCES}
)
+file(MAKE_DIRECTORY "${MLIR_BINARY_DIR}/python_packages/mlir_core/mlir/_mlir_libs")
+
################################################################################
# Custom targets.
################################################################################