compile v8 without zlib static lib
authorJérémy Lal <kapouer@melix.org>
Wed, 14 Jan 2026 00:19:18 +0000 (01:19 +0100)
committerJérémy Lal <kapouer@melix.org>
Wed, 14 Jan 2026 00:19:18 +0000 (01:19 +0100)
Last-Update: 2023-12-16
Forwarded: https://github.com/nodejs/node/issues/33848

it should have a minor performance impact

Gbp-Pq: Topic deps
Gbp-Pq: Name v8-no-static-zlib.patch

tools/v8_gypfiles/features.gypi
tools/v8_gypfiles/v8.gyp

index 1193bf6a896e01c620685171f98a9cad16b65ff6..e122d007dfe4f2c3a25284a044789a691e49e099 100644 (file)
 
     # Compile V8 using zlib as dependency.
     # Sets -DV8_USE_ZLIB
-    'v8_use_zlib%': 1,
+    'v8_use_zlib%': 0,
 
     # Enable Sparkplug
     # Sets -DV8_ENABLE_SPARKPLUG.
index cb82d4f15bc87d2e6df9c9177ab142f83674ee90..e38d3d28b9b704538f2ae03fb24ca46f6c35bdb6 100644 (file)
         'run_torque',
         'v8_internal_headers',
         'v8_maybe_icu',
-        'v8_zlib',
         'v8_pch',
         'fp16',
         'abseil.gyp:abseil',