From a636bd3bebd078deacdb5bb500f07d25bd364daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 12 Jun 2024 10:36:09 +0200 Subject: [PATCH] ci: Add cross-compilation jobs for x86_64-linux-gnux32. * gnu/ci.scm (cross-jobs)[same?]: Special case x86_64-linux-gnux32. Change-Id: I877eb50d6b0b0bf10474c58f8e9d5ee92f1705d2 --- gnu/ci.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/ci.scm b/gnu/ci.scm index c456c8e2c3..95c63067a8 100644 --- a/gnu/ci.scm +++ b/gnu/ci.scm @@ -192,7 +192,8 @@ (define (same? target) ;; Return true if SYSTEM and TARGET are the same thing. This is so we ;; don't try to cross-compile to 'mips64el-linux-gnu' from ;; 'mips64el-linux'. - (or (string-contains target system) + (or (and (string-contains target system) + (not (string=? "x86_64-linux-gnux32" target))) (and (string-prefix? "armhf" system) ;armhf-linux (string-prefix? "arm" target)))) ;arm-linux-gnueabihf