Skip to content

Commit 7d3ddfe

Browse files
danbevtargos
authored andcommitted
build: remove --code-cache-path help option
This commit removes the now obsolete option. PR-URL: #28446 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent f0c436f commit 7d3ddfe

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

configure.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,11 +515,6 @@
515515
dest='without_siphash',
516516
help=optparse.SUPPRESS_HELP)
517517

518-
parser.add_option('--code-cache-path',
519-
action='store',
520-
dest='code_cache_path',
521-
help='optparse.SUPPRESS_HELP')
522-
523518
# End dummy list.
524519

525520
parser.add_option('--without-ssl',
@@ -1116,7 +1111,7 @@ def configure_node(o):
11161111
o['variables']['node_no_browser_globals'] = b(options.no_browser_globals)
11171112
# TODO(refack): fix this when implementing embedded code-cache when cross-compiling.
11181113
if o['variables']['want_separate_host_toolset'] == 0:
1119-
o['variables']['node_code_cache_path'] = 'yes'
1114+
o['variables']['node_code_cache'] = 'yes' # For testing
11201115
o['variables']['node_shared'] = b(options.shared)
11211116
node_module_version = getmoduleversion.get_version()
11221117

test/parallel/test-code-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if (!process.features.cached_builtins) {
4747
}
4848
} else { // Native compiled
4949
assert.strictEqual(
50-
process.config.variables.node_code_cache_path,
50+
process.config.variables.node_code_cache,
5151
'yes'
5252
);
5353

0 commit comments

Comments
 (0)