aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrystal Wood <crwood@redhat.com>2024-04-24 12:45:26 -0500
committerJohn Kacur <jkacur@redhat.com>2024-04-26 09:05:54 -0400
commit5ba2a7cd7191ecb472b1a1c903ace300088c6e91 (patch)
treed50c19a5839f7814bab050ef38c58a9f3ed44d1d
parent53248cbad7b0b353e31a18b40181f38da0a721aa (diff)
downloadrteval-5ba2a7cd7191ecb472b1a1c903ace300088c6e91.tar.gz
rteval: Use -j with make mrproper
This reduces the startup overhead somewhat. Signed-off-by: Crystal Wood <crwood@redhat.com>
-rw-r--r--rteval/modules/loads/kcompile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py
index de15399..f7a9c00 100644
--- a/rteval/modules/loads/kcompile.py
+++ b/rteval/modules/loads/kcompile.py
@@ -248,7 +248,7 @@ class Kcompile(CommandLineLoad):
# clean up any damage from previous runs
try:
- cmd = ["make", "-C", self.mydir, "mrproper"]
+ cmd = ["make", "-C", self.mydir, "-j", str(os.cpu_count()), "mrproper"]
ret = subprocess.call(cmd, stdin=null, stdout=out, stderr=err)
if ret:
# if the above make failed, remove and reinstall the source tree