mirror of https://github.com/llvm/torch-mlir
Ensure that torch-mlir-dialects is built when we're out of tree
Its unclear to me what the right layering is here: Are you expecting torch-mlir-dialects to always get built with LLVM? This is pretty breaking for us, if so.pull/628/head
parent
330042aa4c
commit
9b2613533b
|
@ -80,6 +80,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|||
|
||||
set(TORCH-MLIR_BUILT_STANDALONE 1)
|
||||
set(BACKEND_PACKAGE_STRING "LLVM ${LLVM_PACKAGE_VERSION}")
|
||||
add_subdirectory(external/llvm-external-projects/torch-mlir-dialects)
|
||||
else()
|
||||
# In-tree build with LLVM_EXTERNAL_PROJECTS=torch-mlir
|
||||
# FIXME: This should really be inherited from the LLVM tree. In particular,
|
||||
|
|
Loading…
Reference in New Issue