testing/cyclone: use a versioned provides for cyclone-bootstrap
Cyclone upstream does not support building new releases with the previously released version. For example, when version 0.36.0 is released it will not be officially supported to compile this version with a 0.35.0 Cyclone compiler. Instead, one has to re-bootstrap from the pre-compiled C provided for version 0.36.0 using cyclone-stage0
.
I previously thought that this is can not be expressed using abuild
version constraints (see 53608690). However, it turns out that this is actually possible to express by using a versioned $provides
for cyclone-bootstrap
and adding a version constraint to $depends
in testing/cyclone
. With this patch applied, the apk dependency solver will/should consider the cyclone-bootstrap
$provides
version first and only on version match consult the $provider_priority
.