Skip to content

Commit

Permalink
Skip wpical on linux arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Jan 2, 2025
1 parent 33e00b7 commit 2242741
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ def skipNewPlatformTools = [
'edu.wpi.first.tools:SmartDashboard'
]

def skipLinuxArm64PlatformTools = [
'edu.wpi.first.tools:wpical'
]

def skipTools = []

dependencies {
Expand Down Expand Up @@ -75,6 +79,16 @@ def lazyEvaluator = tasks.register('lazyModelEvaluation') {
}
}
}
if (project.hasProperty('linuxBuildArm64')) {
skipLinuxArm64PlatformTools.each { tool->
if ("$dep.groupId:$dep.artifactId" == tool) {
def depString = "$dep.groupId:$dep.artifactId:$dep.version:$dep.classifier@$dep.extension"
println "Skipping because arm " + depString
foundTool = true
return
}
}
}

if (foundTool) {
return
Expand Down

0 comments on commit 2242741

Please sign in to comment.