mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
build: add --without-isolates configure switch
This commit is contained in:
1 parent
2a7a2ca986
commit
39e2c469db
2 files changed
+12
No files matched your search
@@ -27,6 +27,11 @@ parser.add_option("--without-npm",
|
||||
dest="without_npm",
|
||||
help="Don\'t install the bundled npm package manager")
|
||||
|
||||
parser.add_option("--without-isolates",
|
||||
action="store_true",
|
||||
dest="without_isolates",
|
||||
help="Build without isolates (no threads, single loop) [Default: False]")
|
||||
|
||||
parser.add_option("--without-ssl",
|
||||
action="store_true",
|
||||
dest="without_ssl",
|
||||
@@ -163,6 +168,7 @@ def target_arch():
|
||||
|
||||
def configure_node(o):
|
||||
# TODO add gdb and dest_cpu
|
||||
o['variables']['node_use_isolates'] = b(not options.without_isolates)
|
||||
o['variables']['node_debug'] = b(options.debug)
|
||||
o['variables']['node_prefix'] = options.prefix if options.prefix else ''
|
||||
o['variables']['node_use_dtrace'] = b(options.with_dtrace)
|
||||
|
||||
Reference in new issue
Block a user