summaryrefslogtreecommitdiff
path: root/gnu/ci.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-12 13:55:46 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-12 13:58:16 +0200
commit92e2de6fb400ff445106f2d7a4f5f5b1a009c87b (patch)
tree82deff1dd821397b80ed7556f56cdc38d8ac5f3c /gnu/ci.scm
parent355a57fb8462d4f290ad0c5120ce401fcff4dfb6 (diff)
ci: Don't cross compile to avr.
* gnu/ci.scm (cross-jobs)[pointless?]: Don't build any packages for avr. Change-Id: I1728727874d65461b82364e71b70c7d1fd050d90
Diffstat (limited to 'gnu/ci.scm')
-rw-r--r--gnu/ci.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/ci.scm b/gnu/ci.scm
index 279dd4d9100..38dc4d1d5c3 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -190,15 +190,16 @@ SYSTEM."
190 190
191 (define (pointless? target) 191 (define (pointless? target)
192 ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM. 192 ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM.
193 (match system 193 (or (string=? target "avr") ; Nothing for AVR at this time.
194 ((or "x86_64-linux" "i686-linux") 194 (match system
195 (if (string-contains target "mingw") 195 ((or "x86_64-linux" "i686-linux")
196 (not (string=? "x86_64-linux" system)) 196 (if (string-contains target "mingw")
197 #f)) 197 (not (string=? "x86_64-linux" system))
198 (_ 198 #f))
199 ;; Don't try to cross-compile from non-Intel platforms: this isn't 199 (_
200 ;; very useful and these are often brittle configurations. 200 ;; Don't try to cross-compile from non-Intel platforms: this isn't
201 #t))) 201 ;; very useful and these are often brittle configurations.
202 #t))))
202 203
203 (define (either proc1 proc2 proc3) 204 (define (either proc1 proc2 proc3)
204 (lambda (x) 205 (lambda (x)