mirror of
https://github.com/actions/runner-images.git
synced 2025-12-28 20:58:32 +08:00
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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user