aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-12-28 15:39:23 +0100
committerRon Evans <[email protected]>2023-03-07 22:38:14 +0100
commit34ba0c1be1e5adc4b5095fa9d1e15a7a26e2f519 (patch)
treec83b5732e8abdb9a7fcb3337d5184533d0a81be4 /.github
parent7ca45d61fc408bd13cb644534673a32400e8d8a9 (diff)
downloadtinygo-34ba0c1be1e5adc4b5095fa9d1e15a7a26e2f519.tar.gz
tinygo-34ba0c1be1e5adc4b5095fa9d1e15a7a26e2f519.zip
ci: build LLVM with thread support on Windows
This should fix a number of concurrency/threading issues. I had to force-disable concurrency in the linker using a hack. I'm not entirely sure what the cause is, possibly the MinGW version (version 12 appears to work for me, while version 11 as used on the GitHub runner image seems to be broken). There are a few ways to fix this in a better way: * Fix the underlying cause (possibly by upgrading to MinGW-w64 12). * Add the `--threads` flag to the LLD MinGW linker, so we can use a regular parameter instead of this hack.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 95825358a..b2a3be139 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -66,7 +66,7 @@ jobs:
uses: actions/cache/restore@v3
id: cache-llvm-build
with:
- key: llvm-build-15-windows-v5
+ key: llvm-build-15-windows-v6
path: llvm-build
- name: Build LLVM
if: steps.cache-llvm-build.outputs.cache-hit != 'true'