rake-compiler-dock 1.3.0 → 1.4.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0c53a8e4fde2b4ad57875b1e8ca11037cb9d9f101b451aaea52cdcef60dc56c
4
- data.tar.gz: 9be653f556704bc9725aeec603c45a83491f62dd71b7e5b5e4eccd1635864a4a
3
+ metadata.gz: b51824ca3f8d8154a7ff22e08ed20953bb77731242d145af462ae198f3900f85
4
+ data.tar.gz: 1ec5c570ea206a0320a3b6aa9254cc70a53f7e59e24a94b9753bce96a088f8f5
5
5
  SHA512:
6
- metadata.gz: 0c56bc4e310a1b5eb278ceb1da8b06a6bdbea9be2ddd6acf3be2c509afe60f542b8171e1c88cdcc6df9e21087028d91df1b46763f15c571d8ca71d4be6fdddc7
7
- data.tar.gz: 2b2a2504d952cfe709cf0dece45d8ef7c83ac768af42eac27ec888a36c913c9e5d2b07f0e90bdb839945d3d4570b6ada0abb01b797e1e6a5249a521c83d59a88
6
+ metadata.gz: 7416974cb6181d737adda2e60ce217bbe66b349f0f195498c7a37374de48b43cd83881f1457378d49854a6e23bec9e84ac5f604afe0606db8bd4ea808f505ba4
7
+ data.tar.gz: b92e1eb19c5c19672c5ec8e5c77fac6d09f4c1e65fbc1895cbf402130fa4fc2162b510d4cbc118a55d0bade597a935b294f921ba6e097ecf3a7ebff23c54b875
data/.dockerignore ADDED
@@ -0,0 +1,2 @@
1
+ cache/
2
+ cache*.tar
@@ -8,7 +8,7 @@ on:
8
8
  - cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
9
9
  push:
10
10
  branches:
11
- - master
11
+ - main
12
12
  tags:
13
13
  - "*.*.*"
14
14
  pull_request:
@@ -120,6 +120,7 @@ jobs:
120
120
  os:
121
121
  - ubuntu
122
122
  ruby:
123
+ - "head" # 3.3
123
124
  - "3.2"
124
125
  - "3.1"
125
126
  - "3.0"
@@ -156,6 +157,7 @@ jobs:
156
157
  - macos
157
158
  - ubuntu
158
159
  ruby:
160
+ - "head" # 3.3
159
161
  - "3.2"
160
162
  - "3.1"
161
163
  - "3.0"
@@ -179,11 +181,16 @@ jobs:
179
181
  - os: windows
180
182
  ruby: "3.2"
181
183
  platform: x64-mingw-ucrt
184
+ - os: windows
185
+ ruby: "head"
186
+ platform: x64-mingw-ucrt
182
187
  exclude:
183
188
  - os: windows
184
189
  ruby: "3.1"
185
190
  - os: windows
186
191
  ruby: "3.2"
192
+ - os: windows
193
+ ruby: "head"
187
194
 
188
195
  runs-on: ${{ matrix.os }}-latest
189
196
  steps:
@@ -213,6 +220,7 @@ jobs:
213
220
  os:
214
221
  - windows
215
222
  ruby:
223
+ - "head" # 3.3
216
224
  - "3.2"
217
225
  - "3.1"
218
226
  - "3.0"
@@ -229,11 +237,16 @@ jobs:
229
237
  - os: windows
230
238
  ruby: "3.2"
231
239
  platform: x64-mingw-ucrt
240
+ - os: windows
241
+ ruby: "head"
242
+ platform: x64-mingw-ucrt
232
243
  exclude:
233
244
  - os: windows
234
245
  ruby: "3.1"
235
246
  - os: windows
236
247
  ruby: "3.2"
248
+ - os: windows
249
+ ruby: "head"
237
250
 
238
251
  runs-on: ${{ matrix.os }}-latest
239
252
  steps:
data/CONTRIBUTING.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  This document is intended for the rake-compiler-dock contributors.
4
4
 
5
+ ## Cutting a release
6
+
7
+ - prep
8
+ - [x] make sure CI is green!
9
+ - [x] update `History.md` and `lib/rake_compiler_dock/version.rb`
10
+ - build
11
+ - [-] run the steps below to generate the images locally
12
+ - [x] run `gem build rake-compiler-dock`
13
+ - [ ] create a git tag
14
+ - push
15
+ - [ ] run `git push && git push --tags`
16
+ - [ ] run `bundle exec rake release:images`
17
+ - [ ] run `gem push rake-compiler-dock*gem`
18
+ - announce
19
+ - [ ] create a release at https://github.com/rake-compiler/rake-compiler-dock/releases
20
+
21
+
5
22
  ## Building a versioned image
6
23
 
7
24
  We want to preserve the cache if we can, so patch releases don't change _all_ the layers. There are a few ways to do this.
data/Dockerfile.jruby CHANGED
@@ -39,7 +39,7 @@ RUN bash -c " \
39
39
  rvm all do gem update --system --no-document && \
40
40
  rvm all do gem update --no-document && \
41
41
  rvm all do gem install bundler --no-document && \
42
- rvm all do gem install --no-document rake-compiler:1.2.1 && \
42
+ rvm all do gem install --no-document rake-compiler:1.2.5 && \
43
43
  find /usr/local/rvm -type d -print0 | sudo xargs -0 chmod g+sw \
44
44
  "
45
45
 
data/Dockerfile.mri.erb CHANGED
@@ -114,7 +114,7 @@ RUN /home/rvm/mk_osxcross.sh
114
114
  ##
115
115
  USER rvm
116
116
 
117
- RUN bash -c "rvm all do gem install --no-document rake-compiler:1.2.1"
117
+ RUN bash -c "rvm all do gem install --no-document rake-compiler:1.2.5"
118
118
 
119
119
  # Install rake-compiler's cross rubies in global dir instead of /root
120
120
  RUN sudo mkdir -p /usr/local/rake-compiler && \
@@ -125,39 +125,43 @@ RUN sudo mkdir -p /usr/local/rake-compiler && \
125
125
  COPY build/patches2 /home/rvm/patches/
126
126
  RUN bash -c " \
127
127
  for v in ${RVM_RUBIES} ; do \
128
- cd /usr/local/rvm/gems/ruby-\$v/gems/rake-compiler-1.2.1 && \
129
- echo applying patches to ruby-\$v /home/rvm/patches/rake-compiler-1.2.1/*.patch && \
130
- ( git apply /home/rvm/patches/rake-compiler-1.2.1/*.patch || true ) \
128
+ cd /usr/local/rvm/gems/ruby-\$v/gems/rake-compiler-1.2.5 && \
129
+ echo applying patches to ruby-\$v /home/rvm/patches/rake-compiler-1.2.5/*.patch && \
130
+ ( git apply /home/rvm/patches/rake-compiler-1.2.5/*.patch || true ) \
131
131
  done \
132
132
  "
133
133
 
134
134
  <%
135
+ #
136
+ # Build ruby versions prior to ruby2_keywords using ruby-2.5
137
+ # Build ruby versions with ruby2_keywords using ruby-3.x
138
+ #
139
+ # Note that parallel builds of ruby with make flag `-j` are often flaky, see
140
+ # https://bugs.ruby-lang.org/issues/18506
141
+ #
135
142
  axrubies = if platform =~ /x64-mingw-ucrt/
136
143
  [
137
144
  # Rubyinstaller-3.1.0+ is platform x64-mingw-ucrt
138
- ["3.2.0:3.1.0", "3.1.3", true],
145
+ ["3.3.0-preview3:3.2.0:3.1.0", "3.1.3"],
139
146
  ]
140
147
  elsif platform =~ /x64-mingw32/
141
148
  [
142
149
  # Rubyinstaller prior to 3.1.0 is platform x64-mingw32
143
- ["2.6.0:2.5.0:2.4.0", "2.5.9", false],
144
- ["3.0.0:2.7.0", "3.1.3", true],
150
+ ["2.6.0:2.5.0:2.4.0", "2.5.9"],
151
+ ["3.0.0:2.7.0", "3.1.3"],
145
152
  ]
146
153
  else
147
154
  [
148
- # Build xruby versions prior ruby2_keywords in parallel using ruby-2.5
149
- ["2.6.0:2.5.0:2.4.0", "2.5.9", false],
150
- # Build xruby versions with ruby2_keywords in parallel using ruby-3.x
151
- ["3.2.0:3.1.0:3.0.0:2.7.0", "3.1.3", true],
155
+ ["2.6.0:2.5.0:2.4.0", "2.5.9"],
156
+ ["3.3.0-preview3:3.2.0:3.1.0:3.0.0:2.7.0", "3.1.3"],
152
157
  ]
153
158
  end
154
159
 
155
- axrubies.each do |xrubies, rvm, parallel| %>
160
+ axrubies.each do |xrubies, rvm| %>
156
161
  ENV XRUBIES <%= xrubies %>
157
162
 
158
163
  <% strip = '-s' if platform !~ /darwin/ %>
159
- # Build xruby versions in parallel
160
- # Then cleanup all build artifacts
164
+ # Build xruby versions, then cleanup all build artifacts
161
165
  RUN bash -c " \
162
166
  rvm use <%= rvm %> && \
163
167
  export CPPFLAGS='<%= "-D__USE_MINGW_ANSI_STDIO=1" if platform=~/x64-mingw-ucrt/ %>' && \
@@ -165,7 +169,7 @@ RUN bash -c " \
165
169
  export LDFLAGS='-pipe <%= strip %>' && \
166
170
  <%= "export LIBS='-l:libssp.a' &&" if platform =~ /mingw/ %> \
167
171
  <%= "export CC=#{target}-clang &&" if platform =~ /darwin/ %> \
168
- export MAKE='make V=1 <%= "-j`nproc`" if parallel %>' && \
172
+ export MAKE='make V=1' && \
169
173
  rake-compiler cross-ruby VERSION=$XRUBIES HOST=<%= target %> && \
170
174
  rm -rf ~/.rake-compiler/builds ~/.rake-compiler/sources && \
171
175
  find /usr/local/rvm -type d -print0 | sudo xargs -0 chmod g+sw \
@@ -194,8 +198,11 @@ RUN find /usr/local/rake-compiler/ruby -name lib*-ruby*.dll.a | while read f ; d
194
198
  RUN find /usr/local/rake-compiler/ruby -name rbconfig.rb | while read f ; do sed -i 's/-lcrypt//' $f ; done
195
199
 
196
200
  <% if platform=~/darwin/ %>
197
- # ruby-3.2 on darwin links with `-bundle_loader`, see https://github.com/rake-compiler/rake-compiler-dock/issues/87
198
- RUN find /usr/local/rake-compiler/ruby/*/*/lib/ruby/3.2.0 -name rbconfig.rb | \
201
+ # ruby-3.2+ on darwin links with `-bundle_loader`,
202
+ # - see https://github.com/rake-compiler/rake-compiler-dock/issues/87
203
+ # - note that we do this for "3.[2-9].0" to match rubies 3.2 and later
204
+ # - and we add a "*" on the end for "3.[2-9].0*" to match prereleases like "3.3.0+0"
205
+ RUN find /usr/local/rake-compiler/ruby/*/*/lib/ruby/3.[2-9].0* -name rbconfig.rb | \
199
206
  while read f ; do sed -i 's/\["EXTDLDFLAGS"\] = "/&-Wl,-flat_namespace /' $f ; done
200
207
  <% end %>
201
208
 
@@ -209,9 +216,9 @@ RUN sed -i -- "s:/root/.rake-compiler:/usr/local/rake-compiler:g" /usr/local/rak
209
216
 
210
217
  <% if platform=~/mingw/ %>
211
218
  # Install wrappers for strip commands as a workaround for "Protocol error" in boot2docker.
212
- COPY build/strip_wrapper /root/
219
+ COPY build/strip_wrapper_vbox /root/
213
220
  RUN mv /usr/bin/<%= target %>-strip /usr/bin/<%= target %>-strip.bin && \
214
- ln /root/strip_wrapper /usr/bin/<%= target %>-strip
221
+ ln /root/strip_wrapper_vbox /usr/bin/<%= target %>-strip
215
222
 
216
223
  # Use posix pthread for mingw so that C++ standard library for thread could be
217
224
  # available such as std::thread, std::mutex, so on.
@@ -220,6 +227,13 @@ RUN printf "1\n" | update-alternatives --config <%= target %>-gcc && \
220
227
  printf "1\n" | update-alternatives --config <%= target %>-g++
221
228
  <% end %>
222
229
 
230
+ <% if platform =~ /darwin/ %>
231
+ # Install wrapper around strip to re-sign binaries (ad-hoc signature)
232
+ COPY build/strip_wrapper_codesign /root/
233
+ RUN mv /opt/osxcross/target/bin/<%= target %>-strip /opt/osxcross/target/bin/<%= target %>-strip.bin && \
234
+ ln /root/strip_wrapper_codesign /opt/osxcross/target/bin/<%= target %>-strip
235
+ <% end %>
236
+
223
237
  <% if manylinux %>
224
238
  # Enable modern compiler toolset of manylinux image
225
239
  RUN echo "export PATH=\$DEVTOOLSET_ROOTPATH/usr/bin:\$PATH" >> /etc/rubybashrc
@@ -255,6 +269,6 @@ RUN bash -c " \
255
269
  rvm use default \
256
270
  "
257
271
 
258
- ENV RUBY_CC_VERSION 3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0:2.4.0
272
+ ENV RUBY_CC_VERSION 3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0:2.4.0
259
273
 
260
274
  CMD bash
data/History.md CHANGED
@@ -1,4 +1,18 @@
1
- 1.3.0 / 2022-01-11
1
+ 1.4.0.rc1 / 2023-11-26
2
+ -----------------
3
+
4
+ * Add Ruby 3.3.0-preview3 cross-compilation support. #105 (@flavorjones)
5
+ * Update to rake-compiler 1.2.5. #108 (@flavorjones)
6
+
7
+
8
+ 1.3.1 / 2023-10-14
9
+ ------------------
10
+
11
+ * In the container, `strip` will re-codesign binaries on darwin. #104 (@flavorjones)
12
+ * Update to rake-compiler 1.2.2. #101 (@flavorjones)
13
+
14
+
15
+ 1.3.0 / 2023-01-11
2
16
  ------------------
3
17
 
4
18
  * Add Ruby 3.2 cross-compilation support.
data/README.md CHANGED
@@ -221,7 +221,7 @@ For an example of rake tasks that support this style of invocation, visit https:
221
221
 
222
222
  ### Living on the edge: using weekly snapshots
223
223
 
224
- OCI images snapshotted from `master` are published weekly to Github Container Registry with the string "snapshot" in place of the version number in the tag name, e.g.:
224
+ OCI images snapshotted from `main` are published weekly to Github Container Registry with the string "snapshot" in place of the version number in the tag name, e.g.:
225
225
 
226
226
  - `ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-linux`
227
227
 
data/Rakefile CHANGED
@@ -4,6 +4,8 @@ require "rake_compiler_dock"
4
4
  require_relative "build/gem_helper"
5
5
  require_relative "build/parallel_docker_build"
6
6
 
7
+ CLEAN.include("tmp")
8
+
7
9
  RakeCompilerDock::GemHelper.install_tasks
8
10
 
9
11
  platforms = [
data/build/mk_osxcross.sh CHANGED
@@ -36,3 +36,8 @@ find /opt/osxcross/target/bin/ -name '*-apple-darwin[0-9]*' | sort | while read
36
36
  # There's no objdump in osxcross but we can use llvm's
37
37
  ln -s /usr/lib/llvm-10/bin/llvm-objdump /opt/osxcross/target/bin/x86_64-apple-darwin-objdump
38
38
  ln -s /usr/lib/llvm-10/bin/llvm-objdump /opt/osxcross/target/bin/aarch64-apple-darwin-objdump
39
+
40
+ # install /usr/bin/codesign and make a symlink for codesign_allocate (the architecture doesn't matter)
41
+ git clone -q --depth=1 https://github.com/flavorjones/sigtool --branch flavorjones-fix-link-line-library-order
42
+ make -C sigtool install
43
+ ln -s /opt/osxcross/target/bin/x86_64-apple-darwin[0-9]*-codesign_allocate /usr/bin/codesign_allocate
@@ -1,5 +1,6 @@
1
1
  require "fileutils"
2
2
  require "rake"
3
+ require "digest/sha1"
3
4
 
4
5
  module RakeCompilerDock
5
6
  class << self
@@ -92,7 +93,7 @@ module RakeCompilerDock
92
93
  # This also adds dependant intermediate tasks as prerequisites.
93
94
  def define_common_tasks(vcs, workdir, task_prefix, plines=[])
94
95
  vcs.map do |files, (lines, nvcs)|
95
- fn = "#{task_prefix}#{files.join}"
96
+ fn = "#{task_prefix}#{Digest::SHA1.hexdigest(files.join)}"
96
97
  File.write(File.join(workdir, fn), (plines + lines).join)
97
98
  task fn do
98
99
  docker_build(fn, workdir)
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # Stripping a signed Mach-O binary will invalidate the signature. To mimic what strip does on native
4
+ # Darwin, we install this wrapper to re-sign the binary after stripping it.
5
+
6
+ files = ARGV.reject { |f| f=~/^-/ }
7
+
8
+ strip = "#{File.basename($0)}.bin"
9
+ strip_options = ARGV.select{|f| f=~/^-/ }
10
+ strip_arguments = [strip] + strip_options + files
11
+
12
+ codesign = "codesign" # installed into /usr/bin by mk_osxcross.sh
13
+ codesign_options = ["-f", "-s-"]
14
+ codesign_arguments = [codesign] + codesign_options + files
15
+
16
+ system(*strip_arguments, exception: true)
17
+ system(*codesign_arguments, exception: true)
@@ -1,4 +1,4 @@
1
1
  module RakeCompilerDock
2
- VERSION = "1.3.0"
3
- IMAGE_VERSION = "1.3.0"
2
+ VERSION = "1.4.0.rc1"
3
+ IMAGE_VERSION = "1.4.0.rc1"
4
4
  end
@@ -92,4 +92,18 @@ else
92
92
  end
93
93
 
94
94
  create_makefile("rcd_test/rcd_test_ext")
95
+
96
+ # exercise the strip command - this approach borrowed from grpc
97
+ strip_tool = RbConfig::CONFIG['STRIP']
98
+ strip_tool += ' -x' if RUBY_PLATFORM =~ /darwin/
99
+ File.open('Makefile.new', 'w') do |o|
100
+ o.puts 'hijack: all strip'
101
+ o.puts
102
+ o.write(File.read('Makefile'))
103
+ o.puts
104
+ o.puts 'strip: $(DLLIB)'
105
+ o.puts "\t$(ECHO) Stripping $(DLLIB)"
106
+ o.puts "\t$(Q) #{strip_tool} $(DLLIB)"
107
+ end
108
+ File.rename('Makefile.new', 'Makefile')
95
109
  end
@@ -38,19 +38,23 @@ class TestParallelDockerBuild < Test::Unit::TestCase
38
38
  FileUtils.rm_rf @tmpdir
39
39
  end
40
40
 
41
+ private def hd(str)
42
+ "y" + Digest::SHA1.hexdigest(str)
43
+ end
44
+
41
45
  def test_tasks
42
46
  Dir.chdir(@tmpdir) do
43
47
  RakeCompilerDock::ParallelDockerBuild.new(%w[ File0 File1 File2 File3 ], task_prefix: "y")
44
48
  end
45
49
 
46
- assert_operator Rake::Task["File0"].prerequisites, :include?, "yFile0File1"
47
- assert_operator Rake::Task["File1"].prerequisites, :include?, "yFile1"
48
- assert_operator Rake::Task["yFile1"].prerequisites, :include?, "yFile0File1"
49
- assert_operator Rake::Task["yFile0File1"].prerequisites, :include?, "yFile0File1File2File3"
50
+ assert_operator Rake::Task["File0"].prerequisites, :include?, hd("File0File1")
51
+ assert_operator Rake::Task["File1"].prerequisites, :include?, hd("File1")
52
+ assert_operator Rake::Task[hd "File1"].prerequisites, :include?, hd("File0File1")
53
+ assert_operator Rake::Task[hd "File0File1"].prerequisites, :include?, hd("File0File1File2File3")
50
54
 
51
- assert_operator Rake::Task["File2"].prerequisites, :include?, "yFile2File3"
52
- assert_operator Rake::Task["File3"].prerequisites, :include?, "yFile2File3"
53
- assert_operator Rake::Task["yFile2File3"].prerequisites, :include?, "yFile0File1File2File3"
55
+ assert_operator Rake::Task["File2"].prerequisites, :include?, hd("File2File3")
56
+ assert_operator Rake::Task["File3"].prerequisites, :include?, hd("File2File3")
57
+ assert_operator Rake::Task[hd "File2File3"].prerequisites, :include?, hd("File0File1File2File3")
54
58
  end
55
59
 
56
60
  def test_common_files
@@ -58,10 +62,10 @@ class TestParallelDockerBuild < Test::Unit::TestCase
58
62
  RakeCompilerDock::ParallelDockerBuild.new(%w[ File0 File1 File2 File3 ], task_prefix: "y")
59
63
  end
60
64
 
61
- assert_equal "FROM a\nRUN a\nRUN d\nRUN f \\\ng\n", read_df("yFile1")
62
- assert_equal "FROM a\nRUN a\nRUN d\n", read_df("yFile0File1")
63
- assert_equal "FROM a\nRUN b\nRUN c\nRUN d\n", read_df("yFile2File3")
64
- assert_equal "FROM a\n", read_df("yFile0File1File2File3")
65
+ assert_equal "FROM a\nRUN a\nRUN d\nRUN f \\\ng\n", read_df(hd "File1")
66
+ assert_equal "FROM a\nRUN a\nRUN d\n", read_df(hd "File0File1")
67
+ assert_equal "FROM a\nRUN b\nRUN c\nRUN d\n", read_df(hd "File2File3")
68
+ assert_equal "FROM a\n", read_df(hd "File0File1File2File3")
65
69
  end
66
70
 
67
71
  def read_df(fn)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler-dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -68,6 +68,7 @@ executables:
68
68
  extensions: []
69
69
  extra_rdoc_files: []
70
70
  files:
71
+ - ".dockerignore"
71
72
  - ".github/workflows/ci.yml"
72
73
  - ".github/workflows/publish-images.yml"
73
74
  - ".gitignore"
@@ -87,12 +88,12 @@ files:
87
88
  - build/parallel_docker_build.rb
88
89
  - build/patches/ruby-2.5.9/no_sendfile.patch
89
90
  - build/patches/ruby-3.1.3/no_sendfile.patch
90
- - build/patches2/rake-compiler-1.2.1/0004-Enable-build-of-static-libruby.patch
91
- - build/patches2/rake-compiler-1.2.1/0005-make-miniruby.patch
91
+ - build/patches2/rake-compiler-1.2.5/0004-Enable-build-of-static-libruby.patch
92
92
  - build/rcd-env.sh
93
93
  - build/runas
94
94
  - build/sigfw.c
95
- - build/strip_wrapper
95
+ - build/strip_wrapper_codesign
96
+ - build/strip_wrapper_vbox
96
97
  - build/sudoers
97
98
  - lib/rake_compiler_dock.rb
98
99
  - lib/rake_compiler_dock/colors.rb
@@ -136,11 +137,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  required_rubygems_version: !ruby/object:Gem::Requirement
138
139
  requirements:
139
- - - ">="
140
+ - - ">"
140
141
  - !ruby/object:Gem::Version
141
- version: '0'
142
+ version: 1.3.1
142
143
  requirements: []
143
- rubygems_version: 3.4.2
144
+ rubygems_version: 3.4.19
144
145
  signing_key:
145
146
  specification_version: 4
146
147
  summary: Easy to use and reliable cross compiler environment for building Windows
@@ -1,19 +0,0 @@
1
- fix(temp): rake-compiler explicitly builds miniruby first
2
-
3
- See https://bugs.ruby-lang.org/issues/19239 for the upstream bug
4
- report.
5
-
6
- TODO: This patch can be removed if that's fixed in a 3.2.0 final release.
7
-
8
- diff --git a/tasks/bin/cross-ruby.rake b/tasks/bin/cross-ruby.rake
9
- index 8317a2a..d9bfe4c 100644
10
- --- a/tasks/bin/cross-ruby.rake
11
- +++ b/tasks/bin/cross-ruby.rake
12
- @@ -129,6 +129,7 @@
13
-
14
- # make
15
- file "#{build_dir}/ruby.exe" => ["#{build_dir}/Makefile"] do |t|
16
- + sh "#{MAKE} miniruby", chdir: File.dirname(t.prerequisites.first)
17
- sh MAKE, chdir: File.dirname(t.prerequisites.first)
18
- end
19
-
File without changes