diff --git a/images/ubuntu/scripts/build/install-zstd.sh b/images/ubuntu/scripts/build/install-zstd.sh index 1f26c2435d18..67ff4f6fddab 100644 --- a/images/ubuntu/scripts/build/install-zstd.sh +++ b/images/ubuntu/scripts/build/install-zstd.sh @@ -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/