Add a slightly crude method to ignore systems and targets
While processing a revision. It would be good to also record what systems and targets are in the platforms so it's clear what data is missing, but that can be added later.
This commit is contained in:
parent
acdedb075d
commit
931b7bc593
5 changed files with 92 additions and 15 deletions
|
|
@ -56,10 +56,22 @@
|
|||
(lambda (opt name arg result)
|
||||
(alist-cons 'inferior-environment-variable
|
||||
(string-split arg #\=)
|
||||
result)))
|
||||
(option '("ignore-systems") #t #f
|
||||
(lambda (opt name arg result)
|
||||
(alist-cons 'ignore-systems
|
||||
(string-split arg #\,)
|
||||
result)))
|
||||
(option '("ignore-targets") #t #f
|
||||
(lambda (opt name arg result)
|
||||
(alist-cons 'ignore-targets
|
||||
(string-split arg #\,)
|
||||
result)))))
|
||||
|
||||
(define %default-options
|
||||
'((parallelism . 1)))
|
||||
'((parallelism . 1)
|
||||
(ignore-systems . ())
|
||||
(ignore-targets . ())))
|
||||
|
||||
(define (parse-options args)
|
||||
(args-fold
|
||||
|
|
@ -91,6 +103,8 @@
|
|||
(cons key val))
|
||||
(_ #f))
|
||||
opts)
|
||||
#:ignore-systems (assq-ref opts 'ignore-systems)
|
||||
#:ignore-targets (assq-ref opts 'ignore-targets)
|
||||
#:parallelism (assq-ref opts 'parallelism)))
|
||||
#:hz 0
|
||||
#:parallelism 1)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue