mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
git → 2.52.0 (#13537)
* Add unbuilt git to updater-git-2.52.0 * Adjust linker Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add llvm_dev dep to bring in lld. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Let CC_LD and CXX_LD use CREW_LINKER. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Use no_mold for armv7l. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update workflows to cleanup diskspace in GitHub actions and adjust gh token usage. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Build git for arm without rust. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-git-2.52.0: Package File Update Run on linux/386 container. * updater-git-2.52.0: Package File Update Run on linux/amd64 container. * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * bump version Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
654c12c302
commit
715cc6d87d
@@ -4,7 +4,7 @@ require 'etc'
|
||||
require 'open3'
|
||||
|
||||
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
|
||||
CREW_VERSION ||= '1.68.0' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
CREW_VERSION ||= '1.68.1' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
|
||||
# Kernel architecture.
|
||||
KERN_ARCH ||= Etc.uname[:machine]
|
||||
|
||||
@@ -402,8 +402,16 @@ class Package
|
||||
env['CREW_PRELOAD_ENABLE_COMPILE_HACKS'] = opt_args.delete(:no_preload_hacks) ? '0' : '1'
|
||||
# CC_LD and CXX_LD are needed by meson to override mold being
|
||||
# detected and used by default.
|
||||
env['CC_LD'] = @no_mold ? 'bfd' : 'mold'
|
||||
env['CXX_LD'] = @no_mold ? 'bfd' : 'mold'
|
||||
env['CC_LD'] = if @no_mold
|
||||
CREW_LINKER == 'mold' ? 'bfd' : CREW_LINKER
|
||||
else
|
||||
CREW_LINKER
|
||||
end
|
||||
env['CXX_LD'] = if @no_mold
|
||||
CREW_LINKER == 'mold' ? 'bfd' : CREW_LINKER
|
||||
else
|
||||
CREW_LINKER
|
||||
end
|
||||
env['CREW_PRELOAD_NO_MOLD'] = @no_mold ? '1' : '0'
|
||||
env['LD_PRELOAD'] = File.join(CREW_LIB_PREFIX, 'crew-preload.so') if File.exist?("#{CREW_LIB_PREFIX}/crew-preload.so")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user