Switch upx to just use lzma to speed up builds (#6313)

This commit is contained in:
Satadru Pramanik
2021-10-18 11:38:34 -04:00
committed by GitHub
parent 1d75a6e4d2
commit f76626ed92
2 changed files with 2 additions and 2 deletions

View File

@@ -1028,7 +1028,7 @@ def shrink_dir(dir)
pool.post do
begin
puts "Attempting to compress #{execfile.chomp} ...".lightblue
system "upx --best -k --overlay=skip #{execfile}"
system "upx --lzma -k --overlay=skip #{execfile}"
system "upx -t #{execfile}" and FileUtils.rm "#{execfile}.~"
rescue
FileUtils.mv "#{execfile}.~", execfile

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.17.4'
CREW_VERSION = '1.17.5'
ARCH_ACTUAL = `uname -m`.chomp
# This helps with virtualized builds on aarch64 machines