[PATCH] D132280: workflows/llvm-project-tests: Workaround an issue with lldb builds on Windows
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 20 00:06:33 PDT 2022
tstellar created this revision.
tstellar added a reviewer: thieta.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.
For some reason cmake started selecting a 32-bit version of python on
Windows instead of the 64-bit version when building windows. Explicitly
setting the default python to 3.10 fixes this problem.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132280
Files:
.github/workflows/llvm-project-tests.yml
Index: .github/workflows/llvm-project-tests.yml
===================================================================
--- .github/workflows/llvm-project-tests.yml
+++ .github/workflows/llvm-project-tests.yml
@@ -46,6 +46,14 @@
uses: llvm/actions/setup-windows at main
with:
arch: amd64
+ # On Windows, starting with win19/20220814.1, cmake choose the 32-bit
+ # python3.10.6 libraries instead of the 64-bit libraries when building
+ # lldb. Using this setup-python action to make 3.10 the default
+ # python fixes this.
+ - name: Setup Python
+ uses: actions/setup-python at v4
+ with:
+ python-version: '3.10'
- name: Install Ninja
uses: llvm/actions/install-ninja at main
# actions/checkout deletes any existing files in the new git directory,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132280.454168.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220820/b48edd07/attachment.bin>
More information about the llvm-commits
mailing list