build: add --without-node-code-cache configure option · nodejs/node@6545314 · GitHub
Skip to content

Commit 6545314

Browse files
joyeecheungBridgeAR
authored andcommitted
build: add --without-node-code-cache configure option
So that it's possible to build without code cache (in particular, without building mkcodecache) for testing. PR-URL: #30647 Refs: #28845 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 49e047f commit 6545314

3 files changed

Lines changed: 16 additions & 8 deletions

File tree

configure.py

Lines changed: 12 additions & 3 deletions

node.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
},
437437
},
438438
}],
439-
['want_separate_host_toolset==0', {
439+
['node_use_node_code_cache=="true"', {
440440
'dependencies': [
441441
'mkcodecache',
442442
],

test/parallel/test-code-cache.js

Lines changed: 3 additions & 4 deletions

0 commit comments

Comments
 (0)