ci: Don't cross compile to avr.
* gnu/ci.scm (cross-jobs)[pointless?]: Don't build any packages for avr. Change-Id: I1728727874d65461b82364e71b70c7d1fd050d90
This commit is contained in:
		
							parent
							
								
									355a57fb84
								
							
						
					
					
						commit
						92e2de6fb4
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		
							
								
								
									
										19
									
								
								gnu/ci.scm
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								gnu/ci.scm
									
										
									
									
									
								
							| 
						 | 
					@ -190,15 +190,16 @@ SYSTEM."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (define (pointless? target)
 | 
					  (define (pointless? target)
 | 
				
			||||||
    ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM.
 | 
					    ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM.
 | 
				
			||||||
    (match system
 | 
					    (or (string=? target "avr") ; Nothing for AVR at this time.
 | 
				
			||||||
      ((or "x86_64-linux" "i686-linux")
 | 
					        (match system
 | 
				
			||||||
       (if (string-contains target "mingw")
 | 
					          ((or "x86_64-linux" "i686-linux")
 | 
				
			||||||
           (not (string=? "x86_64-linux" system))
 | 
					           (if (string-contains target "mingw")
 | 
				
			||||||
           #f))
 | 
					               (not (string=? "x86_64-linux" system))
 | 
				
			||||||
      (_
 | 
					               #f))
 | 
				
			||||||
       ;; Don't try to cross-compile from non-Intel platforms: this isn't
 | 
					          (_
 | 
				
			||||||
       ;; very useful and these are often brittle configurations.
 | 
					           ;; Don't try to cross-compile from non-Intel platforms: this isn't
 | 
				
			||||||
       #t)))
 | 
					           ;; very useful and these are often brittle configurations.
 | 
				
			||||||
 | 
					           #t))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (define (either proc1 proc2 proc3)
 | 
					  (define (either proc1 proc2 proc3)
 | 
				
			||||||
    (lambda (x)
 | 
					    (lambda (x)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue