From 3405d2d950f67b3e247d3b6ab333262beacfad5d Mon Sep 17 00:00:00 2001 From: divinity76 Date: Wed, 29 Sep 2021 04:49:54 +0200 Subject: [PATCH] compile with all available cpu cores on multi-core systems, this may significantly speed up the git compiling process. on my laptop with 4 cpu cores rolling Intel Core i7-8565U, this speeds up the git compile process from real 3m6,341s to real 1m17,921s --- build_git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_git.sh b/build_git.sh index 112eec5..9c8695c 100644 --- a/build_git.sh +++ b/build_git.sh @@ -14,6 +14,6 @@ export CFLAGS="${CFLAGS} -static" make configure ./configure prefix=/root/output -make +make -j $(nproc) make install -make clean \ No newline at end of file +make clean