508
508
help = 'MIPS floating-point ABI ({0}) [default: %(default)s]' .format (
509
509
', ' .join (valid_mips_float_abi )))
510
510
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
-
523
511
parser .add_argument ('--use-largepages' ,
524
512
action = 'store_true' ,
525
513
dest = 'node_use_large_pages' ,
628
616
629
617
parser .add_argument_group (http2_optgroup )
630
618
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
-
643
619
parser .add_argument ('--without-npm' ,
644
620
action = 'store_true' ,
645
621
dest = 'without_npm' ,
@@ -1306,18 +1282,6 @@ def configure_node(o):
1306
1282
1307
1283
o ['variables' ]['enable_lto' ] = b (options .enable_lto )
1308
1284
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
-
1321
1285
if options .node_use_large_pages or options .node_use_large_pages_script_lld :
1322
1286
warn ('''The `--use-largepages` and `--use-largepages-script-lld` options
1323
1287
have no effect during build time. Support for mapping to large pages is
@@ -1328,14 +1292,6 @@ def configure_node(o):
1328
1292
if options .no_ifaddrs :
1329
1293
o ['defines' ] += ['SUNOS_NO_IFADDRS' ]
1330
1294
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
-
1339
1295
o ['variables' ]['node_with_ltcg' ] = b (options .with_ltcg )
1340
1296
if flavor != 'win' and options .with_ltcg :
1341
1297
raise Exception ('Link Time Code Generation is only supported on Windows.' )
0 commit comments