aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-02-15 00:15:21 +0100
committerMathieu Lirzin <mthl@gnu.org>2017-02-24 19:32:22 +0100
commit61f8f75e9378d66568bd652e15e4212ae763f949 (patch)
tree1a460e77315f4ff1eae1b61d63a0d5873c6c67b9
parent24180197982af110892e41e30fa67559e79140e9 (diff)
downloadcuirass-61f8f75e9378d66568bd652e15e4212ae763f949.tar
cuirass-61f8f75e9378d66568bd652e15e4212ae763f949.tar.gz
base: Do not stop on the first build failure.
* src/cuirass/base.scm (process-specs): Systematically call 'set-build-options'. Pass #:keep-going? #t.
-rw-r--r--src/cuirass/base.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 9062ebf..e1b0ad4 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -1,5 +1,5 @@
;;; base.scm -- Cuirass base module
-;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
@@ -173,10 +173,14 @@ if required. Return the last commit ID on success, #f otherwise."
(compile (string-append (%package-cachedir) "/"
(assq-ref spec #:name))))
(with-store store
+ ;; Always set #:keep-going? so we don't stop on the first build
+ ;; failure.
+ (set-build-options store
+ #:use-substitutes? (%use-substitutes?)
+ #:keep-going? #t)
+
(let* ((spec* (acons #:current-commit commit spec))
(jobs (evaluate store db spec*)))
- (unless (%use-substitutes?)
- (set-build-options store #:use-substitutes? #f))
(build-packages store db jobs))))
(db-add-stamp db spec commit))))