mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Debugging snapshot [ci skip]
This commit is contained in:
parent
45fe7f7575
commit
4d469472e2
2 changed files with 4 additions and 3 deletions
|
@ -21,10 +21,10 @@ end
|
|||
arg['versions'] = version = {}
|
||||
File.read(File.join(arg['srcdir'], 'version.c')).
|
||||
scan(/rb_define_global_const\("(RUBY_\w+)",[^;]*?\bMK(?:INT|(STR))\(([^()]*)\)/m) do |n, s, v|
|
||||
version[n] = arg[v] || src.value(v) || (s ? "" : 0)
|
||||
version[n] = arg[v] || src.value(v) || (s ? v : 0)
|
||||
end
|
||||
arg['RUBY_DESCRIPTION_WITH_MJIT'] = src.value('description_with_mjit') || version['RUBY_DESCRIPTION']
|
||||
arg['RUBY_DESCRIPTION_WITH_YJIT'] = src.value('description_with_yjit') || version['RUBY_DESCRIPTION']
|
||||
arg['RUBY_DESCRIPTION_WITH_MJIT'] = src.value('description_with_mjit') || 'description_with_mjit'
|
||||
arg['RUBY_DESCRIPTION_WITH_YJIT'] = src.value('description_with_yjit') || 'description_with_yjit'
|
||||
%>baseruby="<%=arg['BASERUBY']%>"
|
||||
_\
|
||||
=begin
|
||||
|
|
|
@ -416,6 +416,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
f.puts "Object.__send__(:remove_const, :RUBY_VERSION)"
|
||||
f.puts "RUBY_VERSION='#{version}'"
|
||||
end
|
||||
warn "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), ""
|
||||
unless File.exist?("configure")
|
||||
print "creating configure..."
|
||||
unless system([ENV["AUTOCONF"]]*2)
|
||||
|
|
Loading…
Reference in a new issue