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:
authorBen Noordhuis <info@bnoordhuis.nl>2011-11-29 19:41:41 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-12-29 04:56:09 +0400
commitb3d4938e3e04394f672f8f15feb779b231424bb6 (patch)
tree46b068e06529b6ccd54be4accf31ad412af044b9 /configure
parent66116924edb6fcdb2b30f809f479e3f750ca4d61 (diff)
build: add --without-isolates configure switch
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index dbe7f243e16..401b370e923 100755
--- a/configure
+++ b/configure
@@ -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)