aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2022-03-04 11:25:38 -0700
committerKenny Ballou <kb@devnulllabs.io>2022-03-14 11:14:48 -0600
commit732376391a388277e7e841e43116e8908bd0549c (patch)
tree20ad0ea32d7cb20911c1545e549f3a193830d07f /Makefile
parent51d44452baa8201e5495b137b5c3d0eed769b6fa (diff)
downloaddotfiles-732376391a388277e7e841e43116e8908bd0549c.tar.gz
dotfiles-732376391a388277e7e841e43116e8908bd0549c.tar.xz
Makefile: limit builds to 2 cores
Otherwise, the laptop gets thermal throttled and jobs take even longer. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 377a13fd..91fa583c 100644
--- a/Makefile
+++ b/Makefile
@@ -56,8 +56,8 @@ all-systems: $(SYSTEMS)
all-homes: $(HOMES)
$(HOMES):
- guix time-machine -C $(CHANNEL_FILE) -- home build $@.scm
+ guix time-machine -C $(CHANNEL_FILE) -- home build --cores=2 $@.scm
.PHONY: $(SYSTEMS)
$(SYSTEMS):
- guix time-machine -C $(CHANNEL_FILE) -- system build $@.scm
+ guix time-machine -C $(CHANNEL_FILE) -- system build --cores=2 $@.scm