[all-commits] [llvm/llvm-project] 13498b: [clang-tools-extra][Unittest] Fix wrong reference ...

Tomohiro Kashiwada via All-commits all-commits at lists.llvm.org
Mon Oct 20 13:15:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13498bc1d16005774a62b3dd04f1d2e5dd887674
      https://github.com/llvm/llvm-project/commit/13498bc1d16005774a62b3dd04f1d2e5dd887674
  Author: Tomohiro Kashiwada <kikairoya at gmail.com>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M clang-tools-extra/clangd/unittests/lit.cfg.py
    M clang-tools-extra/include-cleaner/test/Unit/lit.cfg.py

  Log Message:
  -----------
  [clang-tools-extra][Unittest] Fix wrong reference to CMake configuration variable (#164147)

`@SHLIBDIR@` is replaced by CMake's configuration function, so it must
be in `lit.site.cfg.py.in` but not `lit.cfg.py`. `lit.cfg.py` must
reference variables in generated `lit.site.cfg.py`.

We didn't notice this problem because it only affects Windows (including
MinGW and Cygwin) that are configured with either
LLVM_LINK_LLVM_DYLIB=ON or BUILD_SHARED=ON.



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