File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -104,19 +104,6 @@ task 'gem:native:prepare' do
104104 end
105105end
106106
107- task 'install_darwin_mig' , [ :arch ] do |t , args |
108- sh <<~EOT
109- rm -rf bootstrap_cmds &&
110- git clone --branch=cross_platform https://github.com/markmentovai/bootstrap_cmds &&
111- cd bootstrap_cmds &&
112- autoreconf --install &&
113- sh configure &&
114- make &&
115- sed -E -i 's/^cppflags=(.*)/cppflags=(\\ 1 "-D#{ args [ :arch ] } " "-I\\ /opt\\ /osxcross\\ /target\\ /SDK\\ /MacOSX11.1.sdk\\ /usr\\ /include")/' migcom.tproj/mig.sh &&
116- sudo make install
117- EOT
118- end
119-
120107CrossLibraries . each do |xlib |
121108 platform = xlib . platform
122109 desc "Build fat binary gem for platform #{ platform } "
@@ -128,8 +115,6 @@ CrossLibraries.each do |xlib|
128115 sudo apt-get update && sudo apt-get install -y bison flex &&
129116 (cp build/gem/gem-*.pem ~/.gem/ || true) &&
130117 bundle install --local &&
131- #{ "rake install_darwin_mig[__arm64__]" if platform =~ /arm64-darwin/ }
132- #{ "rake install_darwin_mig[__x86_64__]" if platform =~ /x86_64-darwin/ }
133118 rake native:#{ platform } pkg/#{ $gem_spec. full_name } -#{ platform } .gem MAKEOPTS=-j`nproc` RUBY_CC_VERSION=#{ RakeCompilerDock . ruby_cc_version ( "~>2.7" , "~>3.0" ) }
134119 EOT
135120 end
You can’t perform that action at this time.
0 commit comments