build: stop distributing Corepack
PR-URL: https://github.com/nodejs/node/pull/57617 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
parent
fb26fa1a43
commit
f31c88021b
@ -813,11 +813,11 @@ parser.add_argument('--without-npm',
|
||||
default=None,
|
||||
help='do not install the bundled npm (package manager)')
|
||||
|
||||
parser.add_argument('--without-corepack',
|
||||
parser.add_argument('--with-corepack',
|
||||
action='store_true',
|
||||
dest='without_corepack',
|
||||
dest='with_corepack',
|
||||
default=None,
|
||||
help='do not install the bundled Corepack')
|
||||
help='do install the bundled Corepack (experimental, will be removed without notice)')
|
||||
|
||||
parser.add_argument('--control-flow-guard',
|
||||
action='store_true',
|
||||
@ -1448,7 +1448,7 @@ def configure_node(o):
|
||||
o['variables']['OS'] = 'android'
|
||||
o['variables']['node_prefix'] = options.prefix
|
||||
o['variables']['node_install_npm'] = b(not options.without_npm)
|
||||
o['variables']['node_install_corepack'] = b(not options.without_corepack)
|
||||
o['variables']['node_install_corepack'] = b(options.with_corepack)
|
||||
o['variables']['control_flow_guard'] = b(options.enable_cfg)
|
||||
o['variables']['node_use_amaro'] = b(not options.without_amaro)
|
||||
o['variables']['debug_node'] = b(options.debug_node)
|
||||
|
Loading…
x
Reference in New Issue
Block a user