1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

update to 8.4.371.19

This requires changing our checkout strategy to check out the branch-heads branch (as documented at https://v8.dev/docs/version-numbers) instead of using the 8.4.371 branch, which never gets patches (it's always locked to 8.4.371.0).

We could also specify the v8 patch version manually, and i'm open to doing that, just wanted to do this to get it working.
This commit is contained in:
nightpool 2020-07-17 17:06:55 -04:00
parent fcf04ce786
commit 5c7c6e3966
3 changed files with 5 additions and 4 deletions

View file

@ -65,7 +65,7 @@ module Libv8
# then this will be 4.5.95 # then this will be 4.5.95
# #
def source_version def source_version
Libv8::VERSION.gsub(/\.[^.]+$/, '') Libv8::V8_MINOR_VERSION
end end
## ##
@ -84,7 +84,7 @@ module Libv8
Dir.chdir('v8') do Dir.chdir('v8') do
system 'git fetch origin' system 'git fetch origin'
unless system "git checkout #{source_version}" unless system "git checkout branch-heads/#{source_version}"
fail "unable to checkout source for v8 #{source_version}" fail "unable to checkout source for v8 #{source_version}"
end end
system "gclient sync" or fail "could not sync v8 build dependencies" system "gclient sync" or fail "could not sync v8 build dependencies"

View file

@ -1,3 +1,4 @@
module Libv8 module Libv8
VERSION = "7.3.495.0" V8_MINOR_VERSION = "8.4"
VERSION = "8.4.371.0"
end end

2
vendor/depot_tools vendored

@ -1 +1 @@
Subproject commit 9c0620120980e4c247ff8325ee8bbdcd4d9576e0 Subproject commit 3229d944bfb4bc5983785f49cbc58f78872d8cb8