508508 help = 'MIPS floating-point ABI ({0}) [default: %(default)s]' .format (
509509 ', ' .join (valid_mips_float_abi )))
510510
511- parser .add_argument ('--with-dtrace' ,
512- action = 'store_true' ,
513- dest = 'with_dtrace' ,
514- default = None ,
515- help = 'build with DTrace (default is true on sunos and darwin)' )
516-
517- parser .add_argument ('--with-etw' ,
518- action = 'store_true' ,
519- dest = 'with_etw' ,
520- default = None ,
521- help = 'build with ETW (default is true on Windows)' )
522-
523511parser .add_argument ('--use-largepages' ,
524512 action = 'store_true' ,
525513 dest = 'node_use_large_pages' ,
628616
629617parser .add_argument_group (http2_optgroup )
630618
631- parser .add_argument ('--without-dtrace' ,
632- action = 'store_true' ,
633- dest = 'without_dtrace' ,
634- default = None ,
635- help = 'build without DTrace' )
636-
637- parser .add_argument ('--without-etw' ,
638- action = 'store_true' ,
639- dest = 'without_etw' ,
640- default = None ,
641- help = 'build without ETW' )
642-
643619parser .add_argument ('--without-npm' ,
644620 action = 'store_true' ,
645621 dest = 'without_npm' ,
@@ -1306,18 +1282,6 @@ def configure_node(o):
13061282
13071283 o ['variables' ]['enable_lto' ] = b (options .enable_lto )
13081284
1309- if flavor in ('solaris' , 'mac' , 'linux' , 'freebsd' ):
1310- use_dtrace = not options .without_dtrace
1311- # Don't enable by default on linux and freebsd
1312- if flavor in ('linux' , 'freebsd' ):
1313- use_dtrace = options .with_dtrace
1314- o ['variables' ]['node_use_dtrace' ] = b (use_dtrace )
1315- elif options .with_dtrace :
1316- raise Exception (
1317- 'DTrace is currently only supported on SunOS, MacOS or Linux systems.' )
1318- else :
1319- o ['variables' ]['node_use_dtrace' ] = 'false'
1320-
13211285 if options .node_use_large_pages or options .node_use_large_pages_script_lld :
13221286 warn ('''The `--use-largepages` and `--use-largepages-script-lld` options
13231287 have no effect during build time. Support for mapping to large pages is
@@ -1328,14 +1292,6 @@ def configure_node(o):
13281292 if options .no_ifaddrs :
13291293 o ['defines' ] += ['SUNOS_NO_IFADDRS' ]
13301294
1331- # By default, enable ETW on Windows.
1332- if flavor == 'win' :
1333- o ['variables' ]['node_use_etw' ] = b (not options .without_etw )
1334- elif options .with_etw :
1335- raise Exception ('ETW is only supported on Windows.' )
1336- else :
1337- o ['variables' ]['node_use_etw' ] = 'false'
1338-
13391295 o ['variables' ]['node_with_ltcg' ] = b (options .with_ltcg )
13401296 if flavor != 'win' and options .with_ltcg :
13411297 raise Exception ('Link Time Code Generation is only supported on Windows.' )
0 commit comments