From ecd1367c6dee4f666c80da004256cbca7eb9fb8e Mon Sep 17 00:00:00 2001 From: Guy Shimko Date: Wed, 2 Apr 2025 00:07:26 +0300 Subject: [PATCH] build: Add -j to make install to speed compilation --- src/compilation/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compilation/build.sh b/src/compilation/build.sh index 3d6ea04..8e29688 100755 --- a/src/compilation/build.sh +++ b/src/compilation/build.sh @@ -497,7 +497,7 @@ function install_gdb() { mkdir -p "$artifacts_location" - make -C "$gdb_build_dir" install "DESTDIR=$temp_artifacts_dir" 1>&2 + make -j$(nproc) -C "$gdb_build_dir" install "DESTDIR=$temp_artifacts_dir" 1>&2 if [[ $? -ne 0 ]]; then rm -rf "$temp_artifacts_dir" return 1