Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions build/deps/v8.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "ht

git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

VERSION = "14.3.127.16"
VERSION = "14.5.201.6"

INTEGRITY = "sha256-4dMw1ahFEEgUAyDlDgbintH78BizOk4VWMiCRrWt6Rs="
INTEGRITY = "sha256-IL8zV72yG5TUbY8HHW9fPoaOYNLiY8FtRkPtkJ6SiLo="

PATCHES = [
"0001-Allow-manually-setting-ValueDeserializer-format-vers.patch",
Expand Down Expand Up @@ -51,9 +51,10 @@ PATCHES = [
"0026-Implement-additional-Exception-construction-methods.patch",
"0027-Export-icudata-file-to-facilitate-embedding-it.patch",
"0028-bind-icu-to-googlesource.patch",
"0029-optimize-ascii-fast-path-in-WriteUtf8V2.patch",
"0030-Add-v8-String-IsFlat-API.patch",
"0031-Expose-AdjustAmountOfExternalAllocatedMemoryImpl.patch",
"0029-Add-v8-String-IsFlat-API.patch",
"0030-Expose-AdjustAmountOfExternalAllocatedMemoryImpl-as-.patch",
"0031-Add-verify_write_barriers-flag-in-V8-s-bazel-config.patch",
"0032-Change-lamba-signature-to-get-around-windows-build-f.patch",
]

http_archive(
Expand All @@ -68,7 +69,7 @@ http_archive(
git_repository(
name = "com_googlesource_chromium_icu",
build_file = "@v8//:bazel/BUILD.icu",
commit = "f27805b7d7d8618fa73ce89e9d28e0a8b2216fec",
commit = "a86a32e67b8d1384b33f8fa48c83a6079b86f8cd",
patch_cmds = ["find source -name BUILD.bazel | xargs rm"],
patch_cmds_win = ["Get-ChildItem -Path source -File -Include BUILD.bazel -Recurse | Remove-Item"],
remote = "https://chromium.googlesource.com/chromium/deps/icu.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ index 0cb3e045bc46ec732956318b980e749d1847d06d..40ad805c7970cc9379e69f046205836d
* Reads raw data in various common formats to the buffer.
* Note that integer types are read in base-128 varint format, not with a
diff --git a/src/api/api.cc b/src/api/api.cc
index 5a879e9ff5d9e8607b8dc16c4e1e7a015b1c13ae..70689feb46dd764798f74ff27e5cdf59114bd252 100644
index 0b3ea819fb227ea807a3b33fb6f1c3e49af4554d..a1c286d2c073eb49b06fd58324f9525ea34fea33 100644
--- a/src/api/api.cc
+++ b/src/api/api.cc
@@ -3480,6 +3480,10 @@ uint32_t ValueDeserializer::GetWireFormatVersion() const {
@@ -3588,6 +3588,10 @@ uint32_t ValueDeserializer::GetWireFormatVersion() const {
return private_->deserializer.GetWireFormatVersion();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ index 40ad805c7970cc9379e69f046205836dbd760373..596be18adeb3a5a81794aaa44b1d347d
* Writes out a header, which includes the format version.
*/
diff --git a/src/api/api.cc b/src/api/api.cc
index 70689feb46dd764798f74ff27e5cdf59114bd252..ca37e96822e31eb726f7f01874428b0c865fa144 100644
index a1c286d2c073eb49b06fd58324f9525ea34fea33..4689a9057392f463d50f56db4b559e719b81dda1 100644
--- a/src/api/api.cc
+++ b/src/api/api.cc
@@ -3352,6 +3352,10 @@ ValueSerializer::ValueSerializer(Isolate* v8_isolate, Delegate* delegate)
@@ -3460,6 +3460,10 @@ ValueSerializer::ValueSerializer(Isolate* v8_isolate, Delegate* delegate)

ValueSerializer::~ValueSerializer() { delete private_; }

Expand All @@ -38,7 +38,7 @@ index 70689feb46dd764798f74ff27e5cdf59114bd252..ca37e96822e31eb726f7f01874428b0c

void ValueSerializer::SetTreatArrayBufferViewsAsHostObjects(bool mode) {
diff --git a/src/objects/value-serializer.cc b/src/objects/value-serializer.cc
index 10c1099691ae24f1e5b4b1f71f3c60bf25638a95..c37d9edafd5f5b460a9aa39f5aa5a275a6d49015 100644
index 128331ee3fd500b3861c8e8d866ca40e5a621c02..6294e46b2a1d7b6b9e9fd57706d5cb4d72295f53 100644
--- a/src/objects/value-serializer.cc
+++ b/src/objects/value-serializer.cc
@@ -297,6 +297,7 @@ ValueSerializer::ValueSerializer(Isolate* isolate,
Expand Down
12 changes: 6 additions & 6 deletions patches/v8/0003-Allow-Windows-builds-under-Bazel.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Subject: Allow Windows builds under Bazel
Signed-off-by: James M Snell <jsnell@cloudflare.com>

diff --git a/BUILD.bazel b/BUILD.bazel
index d49da552c42612116ad032b532563c0420777a8e..5dcaecb19485e07453c90e9b98eaa565e47e03a2 100644
index ab41feeb1b889087a78729d934c32cf4aa98220f..050374d1020d2a8b6e0548baf93cab3458365fba 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -3993,6 +3993,8 @@ filegroup(
@@ -4029,6 +4029,8 @@ filegroup(
"@v8//bazel/config:is_inline_asm_x64": ["src/heap/base/asm/x64/push_registers_asm.cc"],
"@v8//bazel/config:is_inline_asm_arm": ["src/heap/base/asm/arm/push_registers_asm.cc"],
"@v8//bazel/config:is_inline_asm_arm64": ["src/heap/base/asm/arm64/push_registers_asm.cc"],
Expand All @@ -19,7 +19,7 @@ index d49da552c42612116ad032b532563c0420777a8e..5dcaecb19485e07453c90e9b98eaa565
"@v8//bazel/config:is_inline_asm_riscv64": ["src/heap/base/asm/riscv64/push_registers_asm.cc"],
"@v8//bazel/config:is_inline_asm_ppc64le": ["src/heap/base/asm/ppc/push_registers_asm.cc"],
diff --git a/bazel/config/BUILD.bazel b/bazel/config/BUILD.bazel
index c81f278203126913c3bad74d31348706678ccf06..96e0f9cdb61d0d8f6597d337c2dd965ba67de12c 100644
index 17e379b8e27baaa33f58ee852cfd919a9b39d729..7c2154b8ac2e817abebf89f5fa7d30354591d381 100644
--- a/bazel/config/BUILD.bazel
+++ b/bazel/config/BUILD.bazel
@@ -270,6 +270,7 @@ selects.config_setting_group(
Expand Down Expand Up @@ -88,10 +88,10 @@ index c81f278203126913c3bad74d31348706678ccf06..96e0f9cdb61d0d8f6597d337c2dd965b
name = "is_clang",
match_any = [
diff --git a/bazel/defs.bzl b/bazel/defs.bzl
index a7e1e2af786ce4ab34764292092d10a861fa5028..52037382b78a50aea49d9401b88801845f67d30c 100644
index 26bb03fa5f5c16d766680905b9292734dabce3da..e18a91baa200d07dd549c15a0833e965fd645bf7 100644
--- a/bazel/defs.bzl
+++ b/bazel/defs.bzl
@@ -125,6 +125,24 @@ def _default_args():
@@ -126,6 +126,24 @@ def _default_args():
"-Wno-unnecessary-virtual-specifier",
"-isystem .",
],
Expand All @@ -116,7 +116,7 @@ index a7e1e2af786ce4ab34764292092d10a861fa5028..52037382b78a50aea49d9401b8880184
"//conditions:default": [],
}) + select({
"@v8//bazel/config:is_clang": [
@@ -174,13 +192,23 @@ def _default_args():
@@ -175,13 +193,23 @@ def _default_args():
],
"//conditions:default": [
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ both target and exec configurations as generator tools depend on them.
Signed-off-by: James M Snell <jsnell@cloudflare.com>

diff --git a/BUILD.bazel b/BUILD.bazel
index 5dcaecb19485e07453c90e9b98eaa565e47e03a2..8d24589d2ba8dc0dc7e47a1d87fe51232833c114 100644
index 050374d1020d2a8b6e0548baf93cab3458365fba..f3381abb831f505f0bcf9e743f9f8c0354fdddf1 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -19,6 +19,7 @@ load(
Expand All @@ -21,7 +21,7 @@ index 5dcaecb19485e07453c90e9b98eaa565e47e03a2..8d24589d2ba8dc0dc7e47a1d87fe5123
)
load(":bazel/v8-non-pointer-compression.bzl", "v8_binary_non_pointer_compression")

@@ -4392,22 +4393,20 @@ filegroup(
@@ -4428,22 +4429,20 @@ filegroup(
],
)

Expand Down Expand Up @@ -50,7 +50,7 @@ index 5dcaecb19485e07453c90e9b98eaa565e47e03a2..8d24589d2ba8dc0dc7e47a1d87fe5123
)

v8_mksnapshot(
@@ -4628,7 +4627,6 @@ v8_binary(
@@ -4664,7 +4663,6 @@ v8_binary(
srcs = [
"src/regexp/gen-regexp-special-case.cc",
"src/regexp/special-case.h",
Expand All @@ -59,10 +59,10 @@ index 5dcaecb19485e07453c90e9b98eaa565e47e03a2..8d24589d2ba8dc0dc7e47a1d87fe5123
copts = ["-Wno-implicit-fallthrough"],
defines = [
diff --git a/bazel/defs.bzl b/bazel/defs.bzl
index 52037382b78a50aea49d9401b88801845f67d30c..026583d04f4ee89f5d840c0b71022efda9c6e86c 100644
index e18a91baa200d07dd549c15a0833e965fd645bf7..34577b352c38894698161cb8d0302f375064dd7e 100644
--- a/bazel/defs.bzl
+++ b/bazel/defs.bzl
@@ -347,6 +347,15 @@ def v8_library(
@@ -348,6 +348,15 @@ def v8_library(
**kwargs
)

Expand All @@ -78,7 +78,7 @@ index 52037382b78a50aea49d9401b88801845f67d30c..026583d04f4ee89f5d840c0b71022efd
# Use a single generator target for torque definitions and initializers. We can
# split the set of outputs by using OutputGroupInfo, that way we do not need to
# run the torque generator twice.
@@ -415,7 +424,7 @@ _v8_torque_files = rule(
@@ -416,7 +425,7 @@ _v8_torque_files = rule(
"tool": attr.label(
allow_files = True,
executable = True,
Expand All @@ -87,7 +87,7 @@ index 52037382b78a50aea49d9401b88801845f67d30c..026583d04f4ee89f5d840c0b71022efd
),
"args": attr.string_list(),
},
@@ -516,13 +525,16 @@ _v8_mksnapshot = rule(
@@ -517,13 +526,16 @@ _v8_mksnapshot = rule(
mandatory = True,
allow_files = True,
executable = True,
Expand All @@ -106,7 +106,7 @@ index 52037382b78a50aea49d9401b88801845f67d30c..026583d04f4ee89f5d840c0b71022efd
)

def v8_mksnapshot(name, args, suffix = ""):
@@ -649,3 +661,34 @@ def v8_build_config(name, arch):
@@ -650,3 +662,34 @@ def v8_build_config(name, arch):
outs = ["icu/" + name + ".json"],
cmd = "echo '" + build_config_content(cpu, "true") + "' > \"$@\"",
)
Expand Down
Loading
Loading