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
This commit is contained in:
Ludovic Courtès 2024-06-12 10:36:09 +02:00
parent f65bbca6e4
commit a636bd3beb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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