mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Merge branch 'master' into gmake
Conflicts: Rakefile ext/libv8/extconf.rb
This commit is contained in:
commit
ac9e03dd53
3 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
||||||
*.bundle
|
*.bundle
|
||||||
*.so
|
*.so
|
||||||
*.a
|
*.a
|
||||||
|
.rbx/
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
pkg/*
|
pkg/*
|
||||||
tmp/*
|
tmp/*
|
||||||
|
|
6
Rakefile
6
Rakefile
|
@ -15,7 +15,7 @@ task :checkout do
|
||||||
sh "git submodule update --init"
|
sh "git submodule update --init"
|
||||||
Dir.chdir(V8_Source) do
|
Dir.chdir(V8_Source) do
|
||||||
sh "git fetch"
|
sh "git fetch"
|
||||||
sh "git checkout #{V8_Version}"
|
sh "git checkout #{V8_Version} -f"
|
||||||
sh "#{make} dependencies"
|
sh "#{make} dependencies"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -31,7 +31,7 @@ task :manual_compile do
|
||||||
require File.expand_path '../ext/libv8/arch.rb', __FILE__
|
require File.expand_path '../ext/libv8/arch.rb', __FILE__
|
||||||
include Libv8::Arch
|
include Libv8::Arch
|
||||||
Dir.chdir(V8_Source) do
|
Dir.chdir(V8_Source) do
|
||||||
sh "#{make} -j2 #{libv8_arch}.release"
|
sh %Q{#{make} -j2 #{libv8_arch}.release GYPFLAGS="-Dhost_arch=#{libv8_arch}"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -58,4 +58,4 @@ task :clean do
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default => [:checkout, :compile, :spec]
|
task :default => [:checkout, :compile, :spec]
|
||||||
task :build => :checkout
|
task :build => [:clean, :checkout]
|
||||||
|
|
|
@ -7,5 +7,5 @@ include Libv8::Arch
|
||||||
include Libv8::Make
|
include Libv8::Make
|
||||||
|
|
||||||
Dir.chdir(File.expand_path '../../../vendor/v8', __FILE__) do
|
Dir.chdir(File.expand_path '../../../vendor/v8', __FILE__) do
|
||||||
puts `#{make} #{libv8_arch}.release`
|
puts `#{make} #{libv8_arch}.release GYPFLAGS="-Dhost_arch=#{libv8_arch}"`
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue