index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-11-09 13:18:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-09 13:18:32 +0100 |
commit | 114356dfa1e41af9b334349c748b46912b5eb477 (patch) | |
tree | 7fe6bec36ae4407b30c64beb43000be11e6529f3 | |
parent | 01d7b04445afb83546acb543603ccaa3ff94ff51 (diff) |
-rw-r--r-- | buildmaster/dependencies.php | 9 |
diff --git a/buildmaster/dependencies.php b/buildmaster/dependencies.php index 33bc264..1c81745 100644 --- a/buildmaster/dependencies.php +++ b/buildmaster/dependencies.php @@ -13,6 +13,15 @@ function dependency_arch_join($name) { " JOIN `architectures` AS `ba_a`" . " ON `architecture_compatibilities`.`runs_on`=`ba_a`.`id`" . " AND `ba_a`.`name`=from_base64(\"" . base64_encode($_GET["ba_a"]) . "\")"; + } elseif (isset($_GET["a"])) { + return + " JOIN `architecture_compatibilities` AS `ac_1`" . + " ON `ac_1`.`fully_compatible`" . + " AND `ac_1`.`built_for`=`" . $name . "`.`architecture`" . + " JOIN `architecture_compatibilities` AS `ac_2`" . + " ON `ac_2`.`fully_compatible`" . + " AND `ac_1`.`runs_on`=`ac_2`.`runs_on`" . + " AND `ac_2`.`built_for`=`architectures`.`id`"; } else return ""; } |