From da90ffd24a41568d1e9feeb74ce4abf945551e73 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 1 Jan 2025 16:30:23 -0800 Subject: [PATCH] [wpical] Disable systemcore target (#7620) --- wpical/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpical/build.gradle b/wpical/build.gradle index eea250c903..b135e98109 100644 --- a/wpical/build.gradle +++ b/wpical/build.gradle @@ -1,6 +1,6 @@ import org.gradle.internal.os.OperatingSystem -if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxarm32') || project.hasProperty('onlylinuxarm64')) { +if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxsystemcore') || project.hasProperty('onlylinuxarm32') || project.hasProperty('onlylinuxarm64')) { return; } @@ -152,7 +152,7 @@ model { } } binaries.all { - if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio || it.targetPlatform.name.startsWith("linuxarm")) { + if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio || it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore || it.targetPlatform.name.startsWith("linuxarm")) { it.buildable = false return } @@ -203,7 +203,7 @@ model { } } binaries.all { - if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio || it.targetPlatform.name.startsWith("linuxarm")) { + if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio || it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore || it.targetPlatform.name.startsWith("linuxarm")) { it.buildable = false return }