[all-commits] [llvm/llvm-project] 352387: Fix exported MLIR_TABLEGEN_EXE

stephenneuendorffer via All-commits all-commits at lists.llvm.org
Sun Jan 9 23:27:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3523876873b25bbb8225fed45e4db79e7d250a4f
      https://github.com/llvm/llvm-project/commit/3523876873b25bbb8225fed45e4db79e7d250a4f
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2022-01-09 (Sun, 09 Jan 2022)

  Changed paths:
    M mlir/cmake/modules/CMakeLists.txt
    M mlir/cmake/modules/MLIRConfig.cmake.in

  Log Message:
  -----------
  Fix exported MLIR_TABLEGEN_EXE

LLVM_OPTIMIZED_TABLEGEN results in MLIR_TABLEGEN_EXE pointing to
an absolute path in the build directory.  This doesn't work
when exporting to an install directory.  This patch fixes the exported
information for an install directory to refer to the installed
mlir-tblgen.  (Note that this is probably a debug version if
LLVM_OPTIMIZED_TABLEGEN is set)




More information about the All-commits mailing list