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
104
104
end
105
105
end
106
106
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
-
120
107
CrossLibraries . each do |xlib |
121
108
platform = xlib . platform
122
109
desc "Build fat binary gem for platform #{ platform } "
@@ -128,8 +115,6 @@ CrossLibraries.each do |xlib|
128
115
sudo apt-get update && sudo apt-get install -y bison flex &&
129
116
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
130
117
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/ }
133
118
rake native:#{ platform } pkg/#{ $gem_spec. full_name } -#{ platform } .gem MAKEOPTS=-j`nproc` RUBY_CC_VERSION=#{ RakeCompilerDock . ruby_cc_version ( "~>2.7" , "~>3.0" ) }
134
119
EOT
135
120
end
You can’t perform that action at this time.
0 commit comments