summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-07-03 17:24:33 +0200
committerAnna Henningsen <anna@addaleax.net>2019-07-15 00:25:27 +0200
commit88bac02beeef603a756486a484a5c01446672a3a (patch)
tree542ae769f6dd1c7deb531f81eefb1eb01ea088c7 /configure.py
parentd0e380172a0ffe862fe9ff28aad0532da536952b (diff)
downloadandroid-node-v8-88bac02beeef603a756486a484a5c01446672a3a.tar.gz
android-node-v8-88bac02beeef603a756486a484a5c01446672a3a.tar.bz2
android-node-v8-88bac02beeef603a756486a484a5c01446672a3a.zip
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 <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py16
1 files changed, 0 insertions, 16 deletions
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.')