[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: hydra: Use system emulation on 128G nodes only.
From: |
Ricardo Wurmus |
Subject: |
05/08: hydra: Use system emulation on 128G nodes only. |
Date: |
Sun, 19 Jan 2020 05:12:10 -0500 (EST) |
rekado pushed a commit to branch master
in repository maintenance.
commit 43f271c463b3af9151c0781a7defbaa1ba3bfbe7
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sun Jan 19 10:51:43 2020 +0100
hydra: Use system emulation on 128G nodes only.
* hydra/machines-for-berlin.scm <top-level>: Enable qemu for aarch64
and armhf only on nodes with 128G RAM.
---
hydra/machines-for-berlin.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/hydra/machines-for-berlin.scm b/hydra/machines-for-berlin.scm
index cfc99a0..12d322d 100644
--- a/hydra/machines-for-berlin.scm
+++ b/hydra/machines-for-berlin.scm
@@ -341,11 +341,16 @@
(speed 1.0)
(parallel-builds 2)))
-
-(let ((x86_64 (map template-x86_64 hosts)))
+(let* ((x86_64 (map template-x86_64 hosts))
+ (fast (filter-map (match-lambda
+ ((name key 128)
+ (find (lambda (machine)
+ (string=? ((@@ (guix scripts offload)
build-machine-name) machine) name))
+ x86_64))
+ (_ #f))
+ hosts)))
(append overdrive (map aarch64->armhf overdrive)
- armv7
- x86_64 (map x86_64->i686 x86_64)
- (map x86_64->qemu-aarch64 (take (drop x86_64 5) 5))
- (map x86_64->qemu-armhf (take x86_64 5))))
-
+ armv7
+ x86_64 (map x86_64->i686 x86_64)
+ (map x86_64->qemu-aarch64 fast)
+ (map x86_64->qemu-armhf fast)))
- branch master updated (753534a -> f34f611), Ricardo Wurmus, 2020/01/19
- 01/08: hydra: Disable node 5., Ricardo Wurmus, 2020/01/19
- 02/08: hydra: Set up deployment of new nodes., Ricardo Wurmus, 2020/01/19
- 03/08: hydra: Remove dead machines., Ricardo Wurmus, 2020/01/19
- 05/08: hydra: Use system emulation on 128G nodes only.,
Ricardo Wurmus <=
- 04/08: hydra: Add new nodes., Ricardo Wurmus, 2020/01/19
- 06/08: hydra: Update comments., Ricardo Wurmus, 2020/01/19
- 07/08: hydra: Disable Overdrive node in limbo., Ricardo Wurmus, 2020/01/19
- 08/08: hydra: Add configuration for 192G RAM nodes., Ricardo Wurmus, 2020/01/19