From 2b234b7a66fe57583ba7fd4d586352d1f1b8ab4f Mon Sep 17 00:00:00 2001
From: Axel Huebl <axel.huebl@plasma.ninja>
Date: Sat, 9 May 2020 14:48:26 -0700
Subject: [PATCH] macOS nightly: two cores

All GitHub actions provide two cores. Just make sure this does not
get oversubscribed with potentially visible additional physical
cores.
---
 .github/workflows/install_spack.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/install_spack.sh b/.github/workflows/install_spack.sh
index aa8a68adc1..5efae461a5 100755
--- a/.github/workflows/install_spack.sh
+++ b/.github/workflows/install_spack.sh
@@ -1,4 +1,5 @@
 #!/usr/bin/env sh
 git clone https://github.com/spack/spack.git
+echo -e "config:\n  build_jobs: 2" > spack/etc/spack/config.yaml
 . spack/share/spack/setup-env.sh
 spack compilers
-- 
GitLab