Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
f547adc7
Commit
f547adc7
authored
Aug 15, 2018
by
Robert Kimball
Committed by
Scott Cyphers
Aug 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put ngraph and ngraph imported headers in search path before system files (#1408)
parent
1a8b1f97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
CMakeLists.txt
src/ngraph/codegen/CMakeLists.txt
+0
-1
compiler.cpp
src/ngraph/codegen/compiler.cpp
+4
-7
No files found.
src/ngraph/codegen/CMakeLists.txt
View file @
f547adc7
...
...
@@ -37,7 +37,6 @@ set(HEADER_SEARCH_DEFINES
"MKLDNN_HEADERS_PATH=
\"
${
MKLDNN_INCLUDE_DIR
}
\"
"
"CLANG_BUILTIN_HEADERS_PATH=
\"
${
LLVM_LIB_DIR
}
\"
"
"NGRAPH_HEADERS_PATH=
\"
${
NGRAPH_INCLUDE_PATH
}
\"
"
"INSTALLED_HEADERS_PATH=
\"
${
CMAKE_INSTALL_PREFIX
}
/include
\"
"
)
if
(
NGRAPH_DISTRIBUTED_ENABLE
)
...
...
src/ngraph/codegen/compiler.cpp
View file @
f547adc7
...
...
@@ -412,7 +412,6 @@ void codegen::CompilerCore::configure_search_path()
add_header_search_path
(
MKLDNN_HEADERS_PATH
);
add_header_search_path
(
TBB_HEADERS_PATH
);
add_header_search_path
(
NGRAPH_HEADERS_PATH
);
add_header_search_path
(
INSTALLED_HEADERS_PATH
);
add_header_search_path
(
CLANG_BUILTIN_HEADERS_PATH
);
add_header_search_path
(
"/Library/Developer/CommandLineTools/usr/include/c++/v1"
);
...
...
@@ -423,6 +422,10 @@ void codegen::CompilerCore::configure_search_path()
// Instead of re-implementing all of that functionality in a custom toolchain
// just hardcode the paths relevant to frequently used build/test machines for now
add_header_search_path
(
CLANG_BUILTIN_HEADERS_PATH
);
add_header_search_path
(
EIGEN_HEADERS_PATH
);
add_header_search_path
(
MKLDNN_HEADERS_PATH
);
add_header_search_path
(
TBB_HEADERS_PATH
);
add_header_search_path
(
NGRAPH_HEADERS_PATH
);
string
header_version
=
find_header_version
(
"/usr/include/c++"
);
string
os_specific_path
=
...
...
@@ -444,12 +447,6 @@ void codegen::CompilerCore::configure_search_path()
file_util
::
path_join
(
"/usr/lib/gcc/x86_64-linux-gnu/"
,
header_version
,
"/include-fixed"
));
add_header_search_path
(
"/usr/include/x86_64-linux-gnu"
);
add_header_search_path
(
"/usr/include"
);
add_header_search_path
(
EIGEN_HEADERS_PATH
);
add_header_search_path
(
MKLDNN_HEADERS_PATH
);
add_header_search_path
(
TBB_HEADERS_PATH
);
add_header_search_path
(
NGRAPH_HEADERS_PATH
);
add_header_search_path
(
INSTALLED_HEADERS_PATH
);
#endif
#ifdef CUDA_HEADER_PATHS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment