Skip to content

Commit 7e01644

Browse files
authored
Update scripts/generate_llvm_version_info.cr (crystal-lang#15465)
1 parent c9518bb commit 7e01644

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/generate_llvm_version_info.cr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ LLVM_ALL_TARGETS = %w(
2323
PowerPC
2424
RISCV
2525
Sparc
26+
SPIRV
2627
SystemZ
2728
VE
2829
WebAssembly
@@ -32,7 +33,6 @@ LLVM_ALL_TARGETS = %w(
3233
CSKY
3334
DirectX
3435
M68k
35-
SPIRV
3636
Xtensa
3737
)
3838

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

7779
puts "#{major}.#{minor}.#{patch}"
7880
puts targets_built.join(' ')

0 commit comments

Comments
 (0)