Skip to content

Commit 431a6ed

Browse files
committed
Remove installation of Macos "mig" tool
It was added to rake-compiler-dock in rake-compiler/rake-compiler-dock#155
1 parent 3619769 commit 431a6ed

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Rakefile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,6 @@ task 'gem:native:prepare' do
115115
end
116116
end
117117

118-
task 'install_darwin_mig', [:arch] do |t, args|
119-
sh <<~EOT
120-
rm -rf bootstrap_cmds &&
121-
git clone --branch=cross_platform https://github.com/markmentovai/bootstrap_cmds &&
122-
cd bootstrap_cmds &&
123-
autoreconf --install &&
124-
sh configure &&
125-
make &&
126-
sed -E -i 's/^cppflags=(.*)/cppflags=(\\1 "-D#{args[:arch]}" "-I\\/opt\\/osxcross\\/target\\/SDK\\/MacOSX11.1.sdk\\/usr\\/include")/' migcom.tproj/mig.sh &&
127-
sudo make install
128-
EOT
129-
end
130-
131118
CrossLibraries.each do |xlib|
132119
platform = xlib.platform
133120
desc "Build fat binary gem for platform #{platform}"
@@ -139,8 +126,6 @@ CrossLibraries.each do |xlib|
139126
sudo apt-get update && sudo apt-get install -y bison flex &&
140127
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
141128
bundle install --local &&
142-
#{ "rake install_darwin_mig[__arm64__]" if platform =~ /arm64-darwin/ }
143-
#{ "rake install_darwin_mig[__x86_64__]" if platform =~ /x86_64-darwin/ }
144129
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")}
145130
EOT
146131
end

0 commit comments

Comments
 (0)