Skip to content

Commit

Permalink
Update scripts/generate_llvm_version_info.cr (#15465)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Feb 14, 2025
1 parent c9518bb commit 7e01644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/generate_llvm_version_info.cr
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ LLVM_ALL_TARGETS = %w(
PowerPC
RISCV
Sparc
SPIRV
SystemZ
VE
WebAssembly
Expand All @@ -32,7 +33,6 @@ LLVM_ALL_TARGETS = %w(
CSKY
DirectX
M68k
SPIRV
Xtensa
)

Expand Down Expand Up @@ -73,6 +73,8 @@ begin
system_libs = %w(psapi shell32 ole32 uuid advapi32)
# https://github.com/llvm/llvm-project/commit/a5ffabce98a4b2e9d69009fa3e60f2b154100860
system_libs << "ws2_32" if {major, minor, patch} >= {18, 0, 0}
# https://github.com/llvm/llvm-project/commit/cb7690af09b95bb944baf1b5a9ffb18f86c12130
system_libs << "ntdll" if {major, minor, patch} >= {19, 0, 0}

puts "#{major}.#{minor}.#{patch}"
puts targets_built.join(' ')
Expand Down

0 comments on commit 7e01644

Please sign in to comment.