Skip to content

Commit 37f72cd

Browse files
committed
arst
1 parent fe21600 commit 37f72cd

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/build-test-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ jobs:
195195
echo "$PWD" >> "$GITHUB_PATH"
196196
echo ::endgroup::
197197
198+
- uses: laverdet/console@v1
199+
198200
# Install node & npm dependencies
199201
- uses: pnpm/action-setup@v4
200202
- name: Install

patches/build/00.gcc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ index 24a1d1439..92a423c08 100644
55
@@ -142,6 +142,9 @@ declare_args() {
66
current_cpu != "mips" && current_cpu != "mips64" &&
77
current_cpu != "riscv64")
8-
8+
99
+ # :)
1010
+ is_gcc = false
1111
+
1212
# Allows the path to a custom target toolchain to be injected as a single
1313
# argument, and set as the default toolchain.
1414
custom_toolchain = ""
1515
diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn
16-
index 7bf4f2d63..31cbccab4 100644
16+
index 7bf4f2d63..9be6a1d8a 100644
1717
--- a/config/compiler/BUILD.gn
1818
+++ b/config/compiler/BUILD.gn
19-
@@ -362,6 +362,32 @@ config("compiler") {
19+
@@ -362,6 +362,30 @@ config("compiler") {
2020
configs -= [ ":clang_warning_suppression" ]
2121
}
22-
22+
2323
+ # nodejs team agrees:
2424
+ # https://github.com/nodejs/node/commit/ee61c2c6d3e97425b16d6821118084a833e52e29
2525
+ #
@@ -40,8 +40,6 @@ index 7bf4f2d63..31cbccab4 100644
4040
+ if (current_cpu == "arm64") {
4141
+ if (is_gcc) {
4242
+ cflags += [ "-Wl,-z,gcs-report-dynamic=none" ]
43-
+ }
44-
+ if (!use_lld) {
4543
+ ldflags += [ "-z", "gcs-report-dynamic=none" ]
4644
+ }
4745
+ }

patches/build/00.skip-cross-compile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ index 92a423c08..37f337558 100644
1616
# BUILD FLAGS
1717
# =============================================================================
1818
diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn
19-
index 31cbccab4..d8dce1519 100644
19+
index 9be6a1d8a..a18beaecb 100644
2020
--- a/config/compiler/BUILD.gn
2121
+++ b/config/compiler/BUILD.gn
22-
@@ -1334,7 +1334,7 @@ config("compiler_cpu_abi") {
22+
@@ -1332,7 +1332,7 @@ config("compiler_cpu_abi") {
2323
configs += [ "//build/config/chromeos:compiler_cpu_abi" ]
2424
}
2525

@@ -28,7 +28,7 @@ index 31cbccab4..d8dce1519 100644
2828
# CPU architecture. We may or may not be doing a cross compile now, so for
2929
# simplicity we always explicitly set the architecture.
3030
if (current_cpu == "x64") {
31-
@@ -1668,7 +1668,9 @@ config("compiler_codegen") {
31+
@@ -1666,7 +1666,9 @@ config("compiler_codegen") {
3232
# This can be removed once https://bugs.llvm.org/show_bug.cgi?id=40348
3333
# has been resolved, and -mno-outline is obeyed by the linker during
3434
# ThinLTO.

patches/build/10.warnings

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn
2-
index d8dce1519..b9e22b337 100644
2+
index a18beaecb..8046f41d0 100644
33
--- a/config/compiler/BUILD.gn
44
+++ b/config/compiler/BUILD.gn
5-
@@ -2102,6 +2102,8 @@ config("default_warnings") {
5+
@@ -2100,6 +2100,8 @@ config("default_warnings") {
66
# https://swiftshader-review.googlesource.com/c/SwiftShader/+/57968 has
77
# rolled into angle.
88
cflags += [ "/wd4244" ]
@@ -11,7 +11,7 @@ index d8dce1519..b9e22b337 100644
1111
}
1212
} else {
1313
if (is_apple || is_android) {
14-
@@ -2138,6 +2140,23 @@ config("default_warnings") {
14+
@@ -2136,6 +2138,23 @@ config("default_warnings") {
1515
"-Wno-class-memaccess",
1616
]
1717

@@ -35,7 +35,7 @@ index d8dce1519..b9e22b337 100644
3535
# -Wunused-local-typedefs is broken in gcc,
3636
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63872
3737
cflags += [ "-Wno-unused-local-typedefs" ]
38-
@@ -2156,6 +2175,15 @@ config("default_warnings") {
38+
@@ -2154,6 +2173,15 @@ config("default_warnings") {
3939
# -Wpacked-not-aligned complains all generated mojom-shared-internal.h
4040
# files.
4141
cflags += [ "-Wno-packed-not-aligned" ]

0 commit comments

Comments
 (0)