Skip to content

Commit

Permalink
Do not try to build LLVM with Zlib on Windows
Browse files Browse the repository at this point in the history
CMake is accidentally picking up zlib from the CI environment, see actions/runner-images#6627 (comment).

Disable zlib on Windows since we don't want the dependency there, this is also what Rust did a while back: rust-lang/rust#85762
  • Loading branch information
akoeplinger committed Dec 13, 2022
1 parent f297c5a commit 9134ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm.proj
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
<_LLVMBuildArgs Condition="'$(BuildOS)' == 'Windows_NT' and '$(Configuration)' == 'Release'" Include='-DLLVM_USE_CRT_RELEASE=MT' />
<_LLVMBuildArgs Condition="'$(BuildOS)' == 'Windows_NT' and '$(Configuration)' == 'Debug'" Include='-DLLVM_USE_CRT_DEBUG=MTd' />
<_LLVMBuildArgs Condition="'$(BuildOS)' == 'Windows_NT' and '$(Configuration)' == 'Debug'" Include='-DLLVM_USE_CRT_RELEASE=MTd' />
<_LLVMBuildArgs Condition="'$(BuildOS)' == 'Windows_NT'" Include='-DLLVM_ENABLE_ZLIB=OFF' />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9134ceb

Please sign in to comment.