Don't cross-build gazebo for raspbian (#1747)

This commit is contained in:
Thad House
2019-06-30 12:42:32 -07:00
committed by Peter Johnson
parent eedb3a1adc
commit 852d1b9cad
2 changed files with 1 additions and 16 deletions

View File

@@ -5,5 +5,5 @@ repositories {
}
}
dependencies {
compile "edu.wpi.first:native-utils:2020.0.1"
compile "edu.wpi.first:native-utils:2020.0.2"
}

View File

@@ -55,21 +55,6 @@ class MultiBuilds implements Plugin<Project> {
binary.buildable = false
}
@Validate
@CompileStatic
// TODO: Move this to tc plugin
void disableCrossTests(BinaryContainer binaries, ExtensionContainer extContainer) {
final ToolchainExtension ext = extContainer.getByType(ToolchainExtension.class);
for (GoogleTestTestSuiteBinarySpec binary : binaries.withType(GoogleTestTestSuiteBinarySpec.class)) {
if (ext.getCrossCompilers().findByName(binary.getTargetPlatform().getName()) != null) {
binary.tasks.withType(RunTestExecutable).each {
it.onlyIf { false }
}
}
}
}
@Mutate
@CompileStatic