You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build MLIR & StableHLO via a single cmake configure & build command.
This will make the build_mlir.sh script unecessary.
This should simplify setting cmake values to be consistent across MLIR
and StableHLO builds such as PYTHON_BINDINGS.
message(SEND_ERROR "Failed to read LLVM_VERSION_MAJOR property on LLVM directory. Should have been set since https://github.com/llvm/llvm-project/pull/83346.")
124
+
endif()
125
+
list(POP_BACK CMAKE_MESSAGE_INDENT)
126
+
127
+
# Set some CMake variables that mirror things exported in the find_package
128
+
# world. Source of truth for these is in an installed LLVMConfig.cmake,
129
+
# MLIRConfig.cmake, LLDConfig.cmake (etc) and in the various standalone
130
+
# build segments of each project's top-level CMakeLists.
message(SEND_ERROR "Could not find AddMLIR.cmake in ${MLIR_CMAKE_DIR}: LLVM sub-projects may have changed their layout. See the mlir_cmake_builddir variable in mlir/cmake/modules/CMakeLists.txt")
0 commit comments