Skip to content

Commit e314102

Browse files
committed
build: fix VTune builds
When trying to build with VTune support, I ran into couple of errors due to outdated paths in build configs.
1 parent b757a8f commit e314102

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

deps/v8/third_party/vtune/vtune-jit.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#ifndef VTUNE_VTUNE_JIT_H_
4040
#define VTUNE_VTUNE_JIT_H_
4141

42-
#include "third_party/ittapi/include/jitprofiling.h"
42+
#include "../ittapi/include/jitprofiling.h"
4343

4444
#define VTUNERUNNING (iJIT_IsProfilingActive() == iJIT_SAMPLING_ON)
4545

@@ -63,4 +63,3 @@ class VTUNEJITInterface {
6363

6464

6565
#endif // VTUNE_VTUNE_JIT_H_
66-

src/api/environment.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "node_wasm_web_api.h"
1919
#include "uv.h"
2020
#ifdef NODE_ENABLE_VTUNE_PROFILING
21-
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
21+
#include "../deps/v8/third_party/vtune/v8-vtune.h"
2222
#endif
2323
#if HAVE_INSPECTOR
2424
#include "inspector/worker_inspector.h" // ParentInspectorHandle

src/node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#endif
7474

7575
#ifdef NODE_ENABLE_VTUNE_PROFILING
76-
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
76+
#include "../deps/v8/third_party/vtune/v8-vtune.h"
7777
#endif
7878

7979
#include "large_pages/node_large_page.h"

tools/v8_gypfiles/v8vtune.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
'<(V8_ROOT)/third_party/ittapi/src/ittnotify/ittnotify_types.h',
1818
'<(V8_ROOT)/third_party/ittapi/src/ittnotify/jitprofiling.c',
1919
'<(V8_ROOT)/third_party/ittapi/include/jitprofiling.h',
20-
'<(V8_ROOT)/src/third_party/vtune/v8-vtune.h',
21-
'<(V8_ROOT)/src/third_party/vtune/vtune-jit.cc',
22-
'<(V8_ROOT)/src/third_party/vtune/vtune-jit.h',
20+
'<(V8_ROOT)/third_party/vtune/v8-vtune.h',
21+
'<(V8_ROOT)/third_party/vtune/vtune-jit.cc',
22+
'<(V8_ROOT)/third_party/vtune/vtune-jit.h',
2323
],
2424
'include_dirs': [
2525
'<(V8_ROOT)/third_party/ittapi/include',

0 commit comments

Comments
 (0)