Skip to content

Commit

Permalink
Disable SmartDashboard and wpical on Linux arm64 (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson authored Jan 2, 2025
1 parent d186be7 commit 02c7921
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void apply(Project project) {
Provider<Directory> toolsFolder = project.provider(() -> frcHome.get().dir("tools"));

String toolsClassifier = project.getExtensions().getByType(WPIExtension.class).getToolsClassifier();
if (!toolsClassifier.equals("macarm64")) {
if (!toolsClassifier.equals("macarm64") && !toolsClassifier.equals("linuxarm64")) {
tools.add(new WPITool(project, "SmartDashboard", wpi.getVersions().getSmartDashboardVersion(),
"edu.wpi.first.tools", "SmartDashboard", true, toolsFolder));
}
Expand All @@ -51,8 +51,10 @@ public void apply(Project project) {
cppTools.add(new WPICppTool(project, "DataLogTool", wpi.getVersions().getDataLogToolVersion(),
"edu.wpi.first.tools:DataLogTool", toolsFolder));

cppTools.add(new WPICppTool(project, "wpical", wpi.getVersions().getwpicalToolVersion(),
"edu.wpi.first.tools:wpical", toolsFolder));
if (!toolsClassifier.equals("linuxarm64")) {
cppTools.add(new WPICppTool(project, "wpical", wpi.getVersions().getwpicalToolVersion(),
"edu.wpi.first.tools:wpical", toolsFolder));
}

project.getTasks().register("InstallAllTools", task -> {
task.setGroup("GradleRIO");
Expand Down

0 comments on commit 02c7921

Please sign in to comment.