Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-04-07 22:02:04 +0300
committerRefael Ackermann <refack@gmail.com>2019-04-17 01:25:04 +0300
commit14df42fd008ef8e95d60d0d70084943d180bab91 (patch)
treeb536d1a90d19190599970fd2659345248885d35f /configure.py
parent5ac0308af90c2ab9842682d06a720cfab11eb661 (diff)
build: run `mkcodecache` as an action
* fix test-code-cache (for the common cases) * deprecate `configure --code-cache-path` PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index f32e82e6f20..a3a412e3a7d 100755
--- a/configure.py
+++ b/configure.py
@@ -485,8 +485,9 @@ parser.add_option('--without-siphash',
parser.add_option('--code-cache-path',
action='store',
dest='code_cache_path',
- help='Use a file generated by tools/generate_code_cache.js to compile the'
- ' code cache for builtin modules into the binary')
+ help='optparse.SUPPRESS_HELP')
+
+# End dummy list.
parser.add_option('--without-ssl',
action='store_true',
@@ -1050,8 +1051,7 @@ def configure_node(o):
o['variables']['debug_nghttp2'] = 'false'
o['variables']['node_no_browser_globals'] = b(options.no_browser_globals)
- if options.code_cache_path:
- o['variables']['node_code_cache_path'] = options.code_cache_path
+ o['variables']['node_code_cache_path'] = 'yes'
o['variables']['node_shared'] = b(options.shared)
node_module_version = getmoduleversion.get_version()