From 4115a5b0f4e7c03fbe86e544952fff0b2ceb4f84 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 2 Feb 2022 18:14:47 +0000 Subject: Prioritise aarch64-linux builds over armhf-linux builds It's not great that this script hardcodes priorities, but since it does, just update it. --- ...build-coordinator-queue-builds-from-guix-data-service.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in index 28c18b3..7069dec 100644 --- a/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in +++ b/scripts/guix-build-coordinator-queue-builds-from-guix-data-service.in @@ -301,10 +301,15 @@ 1000 500)) ((eq? type 'package) - (if (and (string=? system "x86_64-linux") - (string=? target "none")) - 500 - 0)) + (cond + ((and (string=? system "x86_64-linux") + (string=? target "none")) + 500) + ((and (string=? system "aarch64-linux") + (string=? target "none")) + 500) + (else + 0))) (else 0))) -- cgit v1.2.3