Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update V8 to 10.1 #42657

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.16',
'v8_embedder_string': '-node.13',

##### V8 defaults for Node.js #####

Expand Down
1 change: 1 addition & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,7 @@ def configure_library(lib, output, pkgname=None):

def configure_v8(o):
o['variables']['v8_enable_webassembly'] = 1
o['variables']['v8_enable_javascript_promise_hooks'] = 1
o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0
o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
Expand Down
13 changes: 9 additions & 4 deletions deps/v8/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# V8 bazel port only supports clang
build --action_env=BAZEL_COMPILER=clang
build --action_env=CC=clang
build --action_env=CXX=clang++
# Pass CC, CXX and PATH from the environment
build --action_env=CC
build --action_env=CXX
build --action_env=PATH

# Use Clang compiler
build:clang --action_env=BAZEL_COMPILER=clang
build:clang --action_env=CC=clang
build:clang --action_env=CXX=clang++

# V8 debug config
build:debug --compilation_mode=dbg
build:debug --config=v8_enable_debugging_features
build:debug --//:v8_enable_fast_mksnapshot
build:debug --//:v8_enable_backtrace
build:debug --//:v8_enable_handle_zapping

# v8_enable_debugging_features flags
build:v8_enable_debugging_features --//:v8_enable_verify_heap
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
!/test/mjsunit/tools/*.log
/test/mozilla/data
/test/test262/data
/test/test262/harness
/test/wasm-js/data
/test/wasm-js/tests
/test/wasm-js/tests.tar.gz
Expand All @@ -76,6 +75,7 @@
!/third_party/googletest/src/googletest/include/gtest
/third_party/googletest/src/googletest/include/gtest/*
!/third_party/googletest/src/googletest/include/gtest/gtest_prod.h
!/third_party/test262-harness
!/third_party/v8
!/third_party/wasm-api
/tools/clang
Expand Down
2 changes: 2 additions & 0 deletions deps/v8/.style.yapf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[style]
based_on_style = chromium
25 changes: 25 additions & 0 deletions deps/v8/.vpython3
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,28 @@ wheel: <
name: "infra/python/wheels/six-py2_py3"
version: "version:1.15.0"
>

wheel: <
name: "infra/python/wheels/coverage/${vpython_platform}"
version: "version:5.5.chromium.2"
>

wheel: <
name: "infra/python/wheels/pbr-py2_py3"
version: "version:3.0.0"
>

wheel: <
name: "infra/python/wheels/funcsigs-py2_py3"
version: "version:1.0.2"
>

wheel: <
name: "infra/python/wheels/mock-py2_py3"
version: "version:2.0.0"
>

wheel: <
name: "infra/python/wheels/numpy/${vpython_platform}"
version: "version:1.2x.supported.1"
>
8 changes: 8 additions & 0 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ Andrei Kashcha <[email protected]>
Andrew Paprocki <[email protected]>
Anna Henningsen <[email protected]>
Antoine du Hamel <[email protected]>
Anton Bershanskiy <[email protected]>
Anton Bikineev <[email protected]>
Ao Wang <[email protected]>
Archil Sharashenidze <[email protected]>
Bala Avulapati <[email protected]>
Bangfu Tao <[email protected]>
Ben Coe <[email protected]>
Ben Newman <[email protected]>
Expand Down Expand Up @@ -104,13 +107,15 @@ Fedor Indutny <[email protected]>
Felix Geisendörfer <[email protected]>
Filipe David Manana <[email protected]>
Franziska Hinkelmann <[email protected]>
Gao Sheng <[email protected]>
Geoffrey Garside <[email protected]>
Gergely Nagy <[email protected]>
Gilang Mentari Hamidy <[email protected]>
Gus Caplan <[email protected]>
Gwang Yoon Hwang <[email protected]>
Haichuan Wang <[email protected]>
Hannu Trey <[email protected]>
Harshil Jain <[email protected]>
Henrique Ferreiro <[email protected]>
Hirofumi Mako <[email protected]>
Honggyu Kim <[email protected]>
Expand Down Expand Up @@ -142,6 +147,7 @@ Junha Park <[email protected]>
Junming Huang <[email protected]>
Kang-Hao (Kenny) Lu <[email protected]>
Karl Skomski <[email protected]>
Keith Smiley <[email protected]>
Kevin Gibbons <[email protected]>
Kris Selden <[email protected]>
Kyounga Ra <[email protected]>
Expand Down Expand Up @@ -256,9 +262,11 @@ Yu Yin <[email protected]>
Yujie Wang <[email protected]>
Yuri Iozzelli <[email protected]>
Yusif Khudhur <[email protected]>
Yuxiang Cao <[email protected]>
Zac Hansen <[email protected]>
Zeynep Cankara <[email protected]>
Zhao Jiazhong <[email protected]>
Zheng Liu <[email protected]>
Zhongping Wang <[email protected]>
柳荣一 <[email protected]>
Yang Xiang <[email protected]>
Loading