From 3abbb848f9bbed1662b1dd996011e2b6d5583f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 16 Sep 2023 10:13:14 +0200 Subject: [PATCH] deps: patch V8 to avoid duplicated zlib symbol PR-URL: https://github.com/nodejs/node/pull/54077 Reviewed-By: Jiawen Geng Reviewed-By: Richard Lau Reviewed-By: Joyee Cheung Reviewed-By: Marco Ippolito --- common.gypi | 2 +- deps/v8/third_party/zlib/chromeconf.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 718b9dc24fd873..b5e4ea187284e6 100644 --- a/common.gypi +++ b/common.gypi @@ -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.2', + 'v8_embedder_string': '-node.3', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/third_party/zlib/chromeconf.h b/deps/v8/third_party/zlib/chromeconf.h index 5b91c86442105a..a50938c44521fb 100644 --- a/deps/v8/third_party/zlib/chromeconf.h +++ b/deps/v8/third_party/zlib/chromeconf.h @@ -199,5 +199,8 @@ /* Symbols added by cpu_features.c */ #define cpu_check_features Cr_z_cpu_check_features #define x86_cpu_enable_sse2 Cr_z_x86_cpu_enable_sse2 +#define x86_cpu_enable_avx512 Cr_z_x86_cpu_enable_avx512 +#define riscv_cpu_enable_rvv Cr_z_riscv_cpu_enable_rvv +#define riscv_cpu_enable_vclmul Cr_z_riscv_cpu_enable_vclmul #endif /* THIRD_PARTY_ZLIB_CHROMECONF_H_ */