mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Don't cross-build gazebo for raspbian (#1747)
This commit is contained in:
committed by
Peter Johnson
parent
eedb3a1adc
commit
852d1b9cad
@@ -5,5 +5,5 @@ repositories {
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
compile "edu.wpi.first:native-utils:2020.0.1"
|
||||
compile "edu.wpi.first:native-utils:2020.0.2"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user