-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from rake-compiler/flavorjones-ruby-3.2-support
[draft] ruby 3.2 support
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
build/patches2/rake-compiler-1.1.6/0005-make-miniruby.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
fix(temp): rake-compiler explicitly builds miniruby first | ||
|
||
See https://bugs.ruby-lang.org/issues/19239 for the upstream bug | ||
report. | ||
|
||
TODO: This patch can be removed if that's fixed in a 3.2.0 final release. | ||
|
||
diff --git a/tasks/bin/cross-ruby.rake b/tasks/bin/cross-ruby.rake | ||
index 8317a2a..d9bfe4c 100644 | ||
--- a/tasks/bin/cross-ruby.rake | ||
+++ b/tasks/bin/cross-ruby.rake | ||
@@ -129,6 +129,7 @@ | ||
|
||
# make | ||
file "#{build_dir}/ruby.exe" => ["#{build_dir}/Makefile"] do |t| | ||
+ sh "#{MAKE} miniruby", chdir: File.dirname(t.prerequisites.first) | ||
sh MAKE, chdir: File.dirname(t.prerequisites.first) | ||
end | ||
|