[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:15:53 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG99020b3c73c1: workflows/llvm-project-tests: Workaround an issue with lldb builds on Windows (authored by tstellar).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132280/new/

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.454169.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220820/6a10f969/attachment.bin>


More information about the llvm-commits mailing list