File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 66
66
uses : actions/cache/restore@v3
67
67
id : cache-llvm-build
68
68
with :
69
- key : llvm-build-15-windows-v5
69
+ key : llvm-build-15-windows-v6
70
70
path : llvm-build
71
71
- name : Build LLVM
72
72
if : steps.cache-llvm-build.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -120,10 +120,8 @@ ifeq ($(OS),Windows_NT)
120
120
START_GROUP = -Wl,--start-group
121
121
END_GROUP = -Wl,--end-group
122
122
123
- # LLVM compiled using MinGW on Windows appears to have problems with threads.
124
- # Without this flag, linking results in errors like these:
125
- # libLLVMSupport.a(Threading.cpp.obj):Threading.cpp:(.text+0x55): undefined reference to `std::thread::hardware_concurrency()'
126
- LLVM_OPTION += -DLLVM_ENABLE_THREADS=OFF -DLLVM_ENABLE_PIC=OFF
123
+ # PIC needs to be disabled for libclang to work.
124
+ LLVM_OPTION += -DLLVM_ENABLE_PIC=OFF
127
125
128
126
CGO_CPPFLAGS += -DCINDEX_NO_EXPORTS
129
127
CGO_LDFLAGS += -static -static-libgcc -static-libstdc++
You can’t perform that action at this time.
0 commit comments