Skip to content

Commit 1f1abda

Browse files
authored
Don't explicitly set MLIR_PDLL_TABLEGEN_EXE (#1262)
With llvm/llvm-project@91b6f76, the variable `MLIR_PDLL_TABLEGEN_EXE` is set as a cache variable in MLIR upstream. Likely requires an update of externals/mlir-hlo to tensorflow/mlir-hlo@4f2a00b or later.
1 parent 3815cfa commit 1f1abda

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
106106
else()
107107
message(STATUS "Torch-MLIR in-tree build.")
108108
# In-tree build with LLVM_EXTERNAL_PROJECTS=torch-mlir
109-
if (TORCH_MLIR_ENABLE_MHLO)
110-
set(MLIR_PDLL_TABLEGEN_EXE mlir-pdll)
111-
endif()
112109

113110
option(MLIR_ENABLE_BINDINGS_PYTHON "Enables MLIR Python Bindings" OFF)
114111
option(TORCH_MLIR_ENABLE_JIT_IR_IMPORTER "Enables JIT IR Importer" ON)

0 commit comments

Comments
 (0)