File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ parser.add_option("--with-dtrace",
8989 dest = "with_dtrace" ,
9090 help = "Build with DTrace (experimental)" )
9191
92+ parser .add_option ("--isolate" ,
93+ action = "store_true" ,
94+ dest = "isolate" ,
95+ help = "Build with Isolate support" )
96+
9297# CHECKME does this still work with recent releases of V8?
9398parser .add_option ("--gdb" ,
9499 action = "store_true" ,
@@ -151,6 +156,7 @@ def configure_node(o):
151156 o ['variables' ]['node_use_dtrace' ] = 'true' if options .with_dtrace else 'false'
152157 o ['variables' ]['host_arch' ] = host_arch ()
153158 o ['variables' ]['target_arch' ] = target_arch ()
159+ o ['variables' ]['node_isolate' ] = 'true' if options .isolate else 'false'
154160
155161 # TODO move to node.gyp
156162 if sys .platform == 'sunos5' :
Original file line number Diff line number Diff line change 88 'node_use_dtrace' : 'false' ,
99 'node_use_openssl%' : 'true' ,
1010 'node_use_system_openssl%' : 'false' ,
11+ 'node_isolate' : 'true' ,
1112 'library_files' : [
1213 'src/node.js' ,
1314 'lib/_debugger.js' ,
138139 }, {
139140 'defines' : [ 'HAVE_OPENSSL=0' ]
140141 }],
142+
143+ [ 'node_isolate=="true"' , {
144+ 'defines' : [
145+ 'NODE_FORK_ISOLATE' ,
146+ 'NODE_LIBRARY'
147+ ],
148+ }],
141149
142150 [ 'node_use_dtrace=="true"' , {
143151 'sources' : [
You can’t perform that action at this time.
0 commit comments