mirror of https://github.com/nodejs/node.git
build: add --without-isolates configure switch
parent
66116924ed
commit
b3d4938e3e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue