diff --git a/CMakeLists.txt b/CMakeLists.txt index 02b01d43f..d385c1ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,9 +100,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) else() message(STATUS "Torch-MLIR in-tree build.") # In-tree build with LLVM_EXTERNAL_PROJECTS=torch-mlir - # FIXME: This should really be inherited from the LLVM tree. In particular, - # it's going to change when cross-compiling. - set(MLIR_TABLEGEN_EXE mlir-tblgen) if (TORCH_MLIR_ENABLE_MHLO) set(MLIR_PDLL_TABLEGEN_EXE mlir-pdll) endif() diff --git a/externals/llvm-external-projects/torch-mlir-dialects/CMakeLists.txt b/externals/llvm-external-projects/torch-mlir-dialects/CMakeLists.txt index 42243e198..2de2d4eba 100644 --- a/externals/llvm-external-projects/torch-mlir-dialects/CMakeLists.txt +++ b/externals/llvm-external-projects/torch-mlir-dialects/CMakeLists.txt @@ -30,7 +30,6 @@ else() # Configure CMake and tablegen. list(APPEND CMAKE_MODULE_PATH ${MLIR_MAIN_SRC_DIR}/cmake/modules) list(APPEND CMAKE_MODULE_PATH ${LLVM_MAIN_SRC_DIR}/cmake) - set(MLIR_TABLEGEN_EXE mlir-tblgen) include(TableGen) include(AddLLVM)