From 431a6ed69ac188e8b03e9bd17a85fd72fb51b375 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Wed, 29 Oct 2025 14:56:25 +0100 Subject: [PATCH] Remove installation of Macos "mig" tool It was added to rake-compiler-dock in https://github.com/rake-compiler/rake-compiler-dock/pull/155 --- Rakefile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Rakefile b/Rakefile index 3b9955c54..57fba22c9 100644 --- a/Rakefile +++ b/Rakefile @@ -115,19 +115,6 @@ task 'gem:native:prepare' do end end -task 'install_darwin_mig', [:arch] do |t, args| - sh <<~EOT - rm -rf bootstrap_cmds && - git clone --branch=cross_platform https://github.com/markmentovai/bootstrap_cmds && - cd bootstrap_cmds && - autoreconf --install && - sh configure && - make && - sed -E -i 's/^cppflags=(.*)/cppflags=(\\1 "-D#{args[:arch]}" "-I\\/opt\\/osxcross\\/target\\/SDK\\/MacOSX11.1.sdk\\/usr\\/include")/' migcom.tproj/mig.sh && - sudo make install - EOT -end - CrossLibraries.each do |xlib| platform = xlib.platform desc "Build fat binary gem for platform #{platform}" @@ -139,8 +126,6 @@ CrossLibraries.each do |xlib| sudo apt-get update && sudo apt-get install -y bison flex && (cp build/gem/gem-*.pem ~/.gem/ || true) && bundle install --local && - #{ "rake install_darwin_mig[__arm64__]" if platform =~ /arm64-darwin/ } - #{ "rake install_darwin_mig[__x86_64__]" if platform =~ /x86_64-darwin/ } rake native:#{platform} pkg/#{$gem_spec.full_name}-#{platform}.gem MAKEFLAGS="-j`nproc` V=1" RUBY_CC_VERSION=#{RakeCompilerDock.ruby_cc_version("~>2.7", "~>3.0")} EOT end