Use all processors when installing zstd (#11067)

Speeds up my builds from 93s to 37s (four core) for the install-zstd.sh step
This commit is contained in:
Fahrzin Hemmati
2025-01-06 12:34:42 -08:00
committed by GitHub
parent c4f58658b6
commit c2becfafdd

View File

@@ -22,8 +22,8 @@ use_checksum_comparison "$archive_path" "$external_hash"
apt-get install liblz4-dev
tar xzf "$archive_path" -C /tmp
make -C "/tmp/${release_name}/contrib/pzstd" all
make -C "/tmp/${release_name}" zstd-release
make -C "/tmp/${release_name}/contrib/pzstd" -j $(nproc) all
make -C "/tmp/${release_name}" -j $(nproc) zstd-release
for copyprocess in zstd zstdless zstdgrep; do
cp "/tmp/${release_name}/programs/${copyprocess}" /usr/local/bin/