[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: Process each system target pair individually
From: |
Christopher Baines |
Subject: |
03/07: Process each system target pair individually |
Date: |
Fri, 11 Mar 2022 08:28:38 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit 8379427cbbb3f82a349562b626f494daf7050c96
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri Mar 11 11:12:18 2022 +0000
Process each system target pair individually
As the cross targets take quite some time.
---
guix-data-service/jobs/load-new-guix-revision.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm
b/guix-data-service/jobs/load-new-guix-revision.scm
index 30eadc5..a1b0679 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -589,10 +589,9 @@ WHERE job_id = $1")
(append-map
(match-lambda
((system . targets)
- (list
- (map (lambda (target)
- (cons system target))
- targets))))
+ (map (lambda (target)
+ (cons system target))
+ targets)))
cross-derivations))
(define (proc packages system-target-pairs)
@@ -726,14 +725,14 @@ WHERE job_id = $1")
(list ,@(map inferior-package-id packages)))))
(append-map
- (lambda (system-target-pairs)
+ (lambda (system-target-pair)
(format (current-error-port)
"heap size: ~a MiB~%"
(round
(/ (assoc-ref (gc-stats) 'heap-size)
(expt 2. 20))))
(with-time-logging
- (simple-format #f "getting derivations for ~A" system-target-pairs)
+ (simple-format #f "getting derivations for ~A" system-target-pair)
(catch
'match-error
(lambda ()
@@ -742,8 +741,8 @@ WHERE job_id = $1")
(simple-format
(current-error-port)
"warning: ignoring match-error from calling inferior
invalidate-derivation-caches!\n")))
- (inferior-eval-with-store inf store (proc packages
system-target-pairs))))
- (append (map list supported-system-pairs)
+ (inferior-eval-with-store inf store (proc packages (list
system-target-pair)))))
+ (append supported-system-pairs
supported-system-cross-build-pairs)))
(define (deduplicate-inferior-packages packages)
- branch master updated (fe556f4 -> c067918), Christopher Baines, 2022/03/11
- 01/07: Compute more cross derivations, Christopher Baines, 2022/03/11
- 04/07: Extract out the code for starting an inferior, Christopher Baines, 2022/03/11
- 06/07: Close the load revision inferior prior to inserting data, Christopher Baines, 2022/03/11
- 07/07: Fix an issue with the /builds page, Christopher Baines, 2022/03/11
- 02/07: Disable value history in the inferior repl, Christopher Baines, 2022/03/11
- 03/07: Process each system target pair individually,
Christopher Baines <=
- 05/07: Add to the hardcoded list of valid targets, Christopher Baines, 2022/03/11