[all-commits] [llvm/llvm-project] 9325f2: [MLIR] Normalize path separator in MLIRConfig.cmak...

Michael Kruse via All-commits all-commits at lists.llvm.org
Mon Jul 13 05:52:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9325f22f1cf17a6f192519163dd449d684700d2a
      https://github.com/llvm/llvm-project/commit/9325f22f1cf17a6f192519163dd449d684700d2a
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

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

  Log Message:
  -----------
  [MLIR] Normalize path separator in MLIRConfig.cmake (#208659)

Under Windows, the paths may contain `\` path separators.
`MLIR_TABLEGEN_EXE` is added into MLIRConfig.cmake where backslashes are
interpreted as escape characters. This results in syntax errors during
`find_package(MLIR)`.

Fix by using CMake-normalized paths (`/` separator under all platforms).
LLVM/Clang do not put their tablegen paths in their config files.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list