deps: V8: backport a0607c5006b8

Original commit message:

    Rewrite simdutf include paths to allow getting it from system

    Change-Id: I2b7b4cb452c22ed72e0935662c3c7477954bc205
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8319848
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: Omer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#109702}

Refs: https://github.com/v8/v8/commit/a0607c5006b8b23c5b634e105a52ab5c49514abf
PR-URL: https://github.com/nodejs/node/pull/65891
Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
This commit is contained in:
Antoine du Hamel authored and Node.js GitHub Bot committed 2026-09-18 15:39:24 +00:00
1 parent c636b05c9e
commit 7e3d61c416
10 files changed
+22 -11

No files matched your search

+1 -1
View File
@@ -43,7 +43,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.32',
'v8_embedder_string': '-node.33',
##### V8 defaults for Node.js #####
+1
View File
@@ -4578,6 +4578,7 @@ cc_library(
name = "simdutf",
srcs = ["third_party/simdutf/simdutf.cpp"],
hdrs = ["third_party/simdutf/simdutf.h"],
strip_include_prefix = "third_party/simdutf",
copts = select({
"@v8//bazel/config:is_clang": ["-std=c++20"],
"@v8//bazel/config:is_gcc": ["-std=gnu++2a"],
+13 -3
View File
@@ -2507,6 +2507,16 @@ group("v8_abseil") {
]
}
group("v8_simdutf") {
public_deps = [ "//third_party/simdutf" ]
public_configs = [ ":simdutf_include_config" ]
visibility = [ "./*" ]
}
config("simdutf_include_config") {
include_dirs = [ "//third_party/simdutf" ]
}
group("zoslib") {
if (current_os == "zos") {
deps = [ "//third_party/zoslib" ]
@@ -5297,6 +5307,7 @@ v8_header_set("v8_internal_headers") {
":v8_headers",
":v8_maybe_icu",
":v8_shared_internal_headers",
":v8_simdutf",
"//third_party/fp16",
]
@@ -5312,7 +5323,6 @@ v8_header_set("v8_internal_headers") {
":v8_heap_base_headers",
":v8_libbase",
":v8_maybe_temporal",
"//third_party/simdutf",
]
if (v8_enable_experimental_tq_to_tsa) {
deps += [ ":run_torque_to_tsa" ]
@@ -6716,7 +6726,7 @@ v8_source_set("v8_base_without_compiler") {
":v8_headers",
":v8_internal_headers",
":v8_maybe_icu",
"//third_party/simdutf",
":v8_simdutf",
]
if (v8_enable_experimental_tq_to_tsa) {
public_deps += [ ":run_torque_to_tsa" ]
@@ -8276,9 +8286,9 @@ v8_executable("d8") {
":v8",
":v8_libbase",
":v8_libplatform",
":v8_simdutf",
":v8_tracing",
"//build/win:default_exe_manifest",
"//third_party/simdutf",
]
if (is_posix || is_fuchsia) {
+1 -1
View File
@@ -557,10 +557,10 @@ include_rules = [
'+third_party/fp16/src/include',
'+third_party/fuzztest',
'+third_party/ittapi/include',
'+third_party/simdutf',
'+third_party/v8/codegen',
'+third_party/vtune',
'+hwy/highway.h',
'+simdutf.h',
# Abseil features are allow-listed. Please use your best judgement when adding
# to this set -- if in doubt, email v8-dev@. For general guidance, refer to
# the Chromium guidelines (though note that some requirements in V8 may be
+1 -1
View File
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "simdutf.h"
#include "src/base/logging.h"
#include "src/base/macros.h"
#include "src/builtins/builtins-utils-inl.h"
@@ -15,7 +16,6 @@
#include "src/objects/objects-inl.h"
#include "src/objects/option-utils.h"
#include "src/objects/simd.h"
#include "third_party/simdutf/simdutf.h"
namespace v8::internal {
+1 -1
View File
@@ -12,6 +12,7 @@
#include <type_traits>
#include "absl/functional/overload.h"
#include "simdutf.h"
#include "src/common/assert-scope.h"
#include "src/common/globals.h"
#include "src/execution/isolate-utils.h"
@@ -38,7 +39,6 @@
#include "src/torque/runtime-macro-shims.h"
#include "src/torque/runtime-support.h"
#include "src/utils/utils.h"
#include "third_party/simdutf/simdutf.h"
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"
+1 -1
View File
@@ -8,6 +8,7 @@
#include <memory>
#include <optional>
#include "simdutf.h"
#include "src/base/bits.h"
#include "src/base/export-template.h"
#include "src/base/small-vector.h"
@@ -21,7 +22,6 @@
#include "src/objects/tagged.h"
#include "src/sandbox/external-pointer.h"
#include "src/strings/unicode-decoder.h"
#include "third_party/simdutf/simdutf.h"
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"
+1 -1
View File
@@ -8,9 +8,9 @@
#include "src/strings/unicode.h"
// Include the non-inl header before the rest of the headers.
#include "simdutf.h"
#include "src/base/logging.h"
#include "src/utils/utils.h"
#include "third_party/simdutf/simdutf.h"
namespace unibrow {
+1 -1
View File
@@ -22,7 +22,7 @@
#endif
#include "hwy/highway.h"
#include "third_party/simdutf/simdutf.h"
#include "simdutf.h"
namespace unibrow {
+1 -1
View File
@@ -14,8 +14,8 @@ v8_executable("cctest") {
"../..:v8_for_testing",
"../..:v8_libbase",
"../..:v8_libplatform",
"../..:v8_simdutf",
"../../tools/debug_helper:v8_debug_helper",
"//third_party/simdutf",
]
data_deps = [ "../../tools:v8_testrunner" ]