Skip to content

Commit

Permalink
fix install top dialect python package bug
Browse files Browse the repository at this point in the history
- When using the install path, a symbolic link is generated in the installation
  directory. This can prevent CMake from copying the original file to the
  install directory.

Change-Id: I1d6aebe405a9cca3147d276f59a4461229b24e5d
  • Loading branch information
luluman committed Apr 2, 2023
1 parent 1d9804e commit a942a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(AddMLIRPython)

set(TOP_MLIR_PYTHON_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir")
set(TOP_MLIR_PYTHON_PACKAGES_DIR "${CMAKE_INSTALL_PREFIX}/python")
set(TOP_MLIR_PYTHON_PACKAGES_DIR "${CMAKE_BINARY_DIR}/python")

################################################################################
# Structural groupings.
Expand Down

0 comments on commit a942a1e

Please sign in to comment.