From 88bac02beeef603a756486a484a5c01446672a3a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 3 Jul 2019 17:24:33 +0200 Subject: build: remove broken intel vtune support Support for VTune profiling was added in commit a881b53 from November 2015 but has since bitrotted. Remove it. Fixes: https://github.com/nodejs/node/issues/28310 Refs: https://github.com/nodejs/node/pull/3785 PR-URL: https://github.com/nodejs/node/pull/28522 Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- configure.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'configure.py') diff --git a/configure.py b/configure.py index 6a0bfd0860..2376095719 100755 --- a/configure.py +++ b/configure.py @@ -131,13 +131,6 @@ parser.add_option("--partly-static", help="Generate an executable with libgcc and libstdc++ libraries. This " "will not work on OSX when using the default compilation environment") -parser.add_option("--enable-vtune-profiling", - action="store_true", - dest="enable_vtune_profiling", - help="Enable profiling support for Intel VTune profiler to profile " - "JavaScript code executed in nodejs. This feature is only available " - "for x32, x86, and x64 architectures.") - parser.add_option("--enable-pgo-generate", action="store_true", dest="enable_pgo_generate", @@ -992,15 +985,6 @@ def configure_node(o): if flavor == 'aix': o['variables']['node_target_type'] = 'static_library' - if target_arch in ('x86', 'x64', 'ia32', 'x32'): - o['variables']['node_enable_v8_vtunejit'] = b(options.enable_vtune_profiling) - elif options.enable_vtune_profiling: - raise Exception( - 'The VTune profiler for JavaScript is only supported on x32, x86, and x64 ' - 'architectures.') - else: - o['variables']['node_enable_v8_vtunejit'] = 'false' - if flavor != 'linux' and (options.enable_pgo_generate or options.enable_pgo_use): raise Exception( 'The pgo option is supported only on linux.') -- cgit v1.2.3