File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 49
49
uses : actions/cache@v3
50
50
id : cache-llvm-build
51
51
with :
52
- key : llvm-build-15-windows-v2
52
+ key : llvm-build-15-windows-v3
53
53
path : llvm-build
54
54
- name : Build LLVM
55
55
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