[all-commits] [llvm/llvm-project] 8e442b: [CMake] Ensure correct extension for llvm-lit is u...
Douglas via All-commits
all-commits at lists.llvm.org
Thu Apr 28 20:44:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e442b341c3b0bfde2947170285e1580f0cde0d7
https://github.com/llvm/llvm-project/commit/8e442b341c3b0bfde2947170285e1580f0cde0d7
Author: Douglas Gliner <dgg5503 at rit.edu>
Date: 2022-04-28 (Thu, 28 Apr 2022)
Changed paths:
M llvm/cmake/modules/CMakeLists.txt
Log Message:
-----------
[CMake] Ensure correct extension for llvm-lit is used on Windows when LLVM_INSTALL_UTILS is enabled.
D77110 initially added support for setting LLVM_CONFIG_DEFAULT_EXTERNAL_LIT
to llvm-lit in the install directory if LLVM_INSTALL_UTILS is on.
D79144 ensured that, on Windows, llvm-lit.py is correctly set for
LLVM_CONFIG_DEFAULT_EXTERNAL_LIT within the context of the build area,
however, it did not account for the install area which is the latter set
directive for this same variable.
This patch ensures that LLVM_CONFIG_DEFAULT_EXTERNAL_LIT under the install
area uses llvm-lit.py under Windows since llvm-lit without the extension
is not created.
Differential Revision: https://reviews.llvm.org/D124197
More information about the All-commits
mailing list