diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-01-26 21:53:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 21:53:11 +0100 |
commit | 82afd9b19aa4b41be98ebec517bd390f33906fae (patch) | |
tree | 1159f2bee29c7b92160cb3e545b3232aa00bda91 /runtimes/CMakeLists.txt | |
parent | e4afffbe8cc31278a9006712e7323d49eae9dbb6 (diff) | |
download | llvm-82afd9b19aa4b41be98ebec517bd390f33906fae.zip llvm-82afd9b19aa4b41be98ebec517bd390f33906fae.tar.gz llvm-82afd9b19aa4b41be98ebec517bd390f33906fae.tar.bz2 |
[libc++] Use GitHub-provided runners for the windows CI (#79326)
Co-authored-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'runtimes/CMakeLists.txt')
-rw-r--r-- | runtimes/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 7423343..634ffe7 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -155,6 +155,9 @@ set(LLVM_COMPILER_CHECKED ON) include(AddLLVM) include(HandleLLVMOptions) +# Loot at the PATH first to avoid a version mismatch between the command-line +# python and the CMake-found version +set(Python3_FIND_REGISTRY LAST) find_package(Python3 REQUIRED COMPONENTS Interpreter) # Host triple is used by tests to check if they are running natively. |