Skip to content

Commit 18580ec

Browse files
Execute first conanInstall before running all three others in parallel
1 parent 8be45be commit 18580ec

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,18 @@ abstract class ConanInstallTask extends Exec {
4343
}
4444
}
4545

46-
["armv7", "armv8", "x86", "x86_64"].each { architecture ->
46+
["armv8", "armv7", "x86", "x86_64"].each { architecture ->
4747
tasks.register('conanInstall-' + architecture, ConanInstallTask) {
4848
setArch(architecture)
4949
setArchBuildDirPath(new File(project.layout.buildDirectory.get().toString(), 'conan/' + architecture).absolutePath)
5050
dependsOn(tasks.named("conanProfile"))
51+
52+
// Execute at least one conanInstall before running all three others in parallel.
53+
// Some issue with conan's local cache
54+
// @TODO: isolate and report to conan-client bugtracker
55+
if (architecture != "armv8") {
56+
dependsOn(tasks.named("conanInstall-armv8"))
57+
}
5158
}
5259
}
5360
tasks.register("conanInstall") {

0 commit comments

Comments
 (0)