mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
AutoBuild: update-cmake started at 2025-05-06-15UTC (#11877)
* Cmake 4.0.1 => 4.0.2 * Adjust cmake build options to properly set LIBRARY_PATH. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build options. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove 'mold -run' usage as that confuses LIBRARY_PATH overrides. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake * Confirm autotools change works with nano update. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
708ff7ee33
commit
46d5639699
@@ -23,8 +23,7 @@ class Autotools < Package
|
||||
puts 'Using filefix.'.orange
|
||||
system 'filefix'
|
||||
end
|
||||
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run ' : ''
|
||||
system "#{@pre_configure_options} #{@mold_linker_prefix_cmd}./configure #{CREW_CONFIGURE_OPTIONS} #{@configure_options}"
|
||||
system "#{@pre_configure_options} ./configure #{CREW_CONFIGURE_OPTIONS} #{@configure_options}"
|
||||
end
|
||||
system 'make'
|
||||
@configure_build_extras&.call
|
||||
|
||||
@@ -11,8 +11,7 @@ class CMake < Package
|
||||
method_list.each do |method|
|
||||
puts "#{method}: #{send method}".orange
|
||||
end
|
||||
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run' : ''
|
||||
system "#{@pre_cmake_options} #{@mold_linker_prefix_cmd} cmake -S #{@cmake_build_relative_dir} -B #{@cmake_build_relative_dir}/builddir -G Ninja #{@crew_cmake_options} #{@cmake_options}"
|
||||
system "#{@pre_cmake_options} cmake -S #{@cmake_build_relative_dir} -B #{@cmake_build_relative_dir}/builddir -G Ninja #{@crew_cmake_options} #{@cmake_options}"
|
||||
system "#{CREW_NINJA} -C #{@cmake_build_relative_dir}/builddir"
|
||||
@cmake_build_extras&.call
|
||||
end
|
||||
|
||||
@@ -5,13 +5,12 @@ class Meson < Package
|
||||
|
||||
def self.build
|
||||
@crew_meson_options = @no_lto ? CREW_MESON_OPTIONS.sub('-Db_lto=true', '-Db_lto=false') : CREW_MESON_OPTIONS
|
||||
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run' : ''
|
||||
puts 'Additional meson options being used:'.orange
|
||||
method_list = methods.grep(/meson_/).delete_if { |i| send(i).blank? }
|
||||
method_list.each do |method|
|
||||
puts "#{method}: #{send method}".orange
|
||||
end
|
||||
system "#{@pre_meson_options} #{@mold_linker_prefix_cmd} meson setup #{@crew_meson_options} #{@meson_options} builddir"
|
||||
system "#{@pre_meson_options} meson setup #{@crew_meson_options} #{@meson_options} builddir"
|
||||
system 'meson configure --no-pager builddir'
|
||||
system "#{CREW_NINJA} -C builddir"
|
||||
@meson_build_extras&.call
|
||||
|
||||
@@ -10,8 +10,7 @@ class PERL < Package
|
||||
end
|
||||
|
||||
def self.build
|
||||
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run' : ''
|
||||
system "#{@pre_perl_options} #{@mold_linker_prefix_cmd} make"
|
||||
system "#{@pre_perl_options} make"
|
||||
@perl_build_extras&.call
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user