mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Add guard for missing arm64 msvc runtime (#8922)
This commit is contained in:
@@ -65,11 +65,14 @@ if (OperatingSystem.current().isWindows()) {
|
||||
}
|
||||
|
||||
def arm64Folder = null
|
||||
file("$runtimeLocation\\arm64").eachFile {
|
||||
def arm64Dir = file("$runtimeLocation\\arm64")
|
||||
if (arm64Dir.exists()) {
|
||||
arm64Dir.eachFile {
|
||||
if (it.name.endsWith('.CRT')) {
|
||||
arm64Folder = it
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def arm64ZipTask = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user