File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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}
5360tasks. register(" conanInstall" ) {
You can’t perform that action at this time.
0 commit comments