civodul pushed a commit to branch master
in repository guix.
commit a636bd3bebd078deacdb5bb500f07d25bd364daa
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Jun 12 10:36:09 2024 +0200
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 @@ SYSTEM."
;; 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