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
33f4f394
Unverified
Commit
33f4f394
authored
Aug 23, 2018
by
Michał Karzyński
Committed by
GitHub
Aug 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ONNX] Change compiler options (#1466)
parent
4e2b2977
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
src/ngraph/frontend/onnx_import/CMakeLists.txt
+5
-5
No files found.
src/ngraph/frontend/onnx_import/CMakeLists.txt
View file @
33f4f394
...
...
@@ -52,7 +52,7 @@ add_library(onnx_import STATIC
add_dependencies
(
onnx_import onnx_import_interface
)
if
(
NOT NGRAPH_USE_SYSTEM_PROTOBUF
)
add_dependencies
(
onnx_import_interface protobuf::libprotobuf
)
add_dependencies
(
onnx_import_interface protobuf::libprotobuf
)
add_dependencies
(
onnx_import protobuf::libprotobuf
)
endif
()
...
...
@@ -66,9 +66,9 @@ target_include_directories(onnx_import_interface PRIVATE ${CMAKE_CURRENT_BINARY_
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
MATCHES
"^(Apple)?Clang$"
)
target_compile_options
(
onnx_import PRIVATE -Wno-undef -Wno-reserved-id-macro -Wno-switch-enum
-Wno-extended-offsetof -Wno-
zero-as-null-pointer-constant -Wno-shorten-64-to-32 -Wno-unused-macro
s
-Wno-
missing-variable-declarations -Wno-unused-private-fiel
d
)
-Wno-extended-offsetof -Wno-
shorten-64-to-32 -Wno-unused-macros -Wno-missing-variable-declaration
s
-Wno-
unused-private-field -Wno-shadow -Wno-deprecate
d
)
target_compile_options
(
onnx_import_interface PRIVATE -Wno-undef -Wno-reserved-id-macro -Wno-switch-enum
-Wno-extended-offsetof -Wno-
zero-as-null-pointer-constant -Wno-shorten-64-to-32 -Wno-unused-macro
s
-Wno-
missing-variable-declarations -Wno-unused-private-fiel
d
)
-Wno-extended-offsetof -Wno-
shorten-64-to-32 -Wno-unused-macros -Wno-missing-variable-declaration
s
-Wno-
unused-private-field -Wno-shadow -Wno-deprecate
d
)
endif
()
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