Skip to content

Commit

Permalink
Don't JIT rubyc during stdlib compilation
Browse files Browse the repository at this point in the history
This cuts about 1/3 of the stdlib time for me.
  • Loading branch information
ferrous26 committed Apr 14, 2012
1 parent b6de0c1 commit eabb31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/builder.rake
Expand Up @@ -168,7 +168,7 @@ namespace :stdlib do
Dir.glob(pattern).map do |path|
out = File.join(File.dirname(path), File.basename(path, '.rb') + '.rbo')
if !File.exist?(out) or File.mtime(path) > File.mtime(out) or File.mtime('./miniruby') > File.mtime(out)
"./miniruby -I. -I./lib bin/rubyc --internal #{archf} -C \"#{path}\" -o \"#{out}\""
"VM_OPT_LEVEL=0 ./miniruby -I. -I./lib bin/rubyc --internal #{archf} -C \"#{path}\" -o \"#{out}\""
end
end
end.flatten.compact
Expand Down

0 comments on commit eabb31c

Please sign in to comment.