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
e265654a
Commit
e265654a
authored
Nov 21, 2018
by
Robert Kimball
Committed by
Scott Cyphers
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only check for prebuilt llvm and API flags if llvm is to be used in build (#2089)
parent
5caf10dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
CMakeLists.txt
+0
-4
CMakeLists.txt
src/ngraph/codegen/CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
e265654a
...
...
@@ -74,10 +74,6 @@ if($ENV{NGRAPH_USE_PREBUILT_LLVM})
set
(
NGRAPH_USE_PREBUILT_LLVM TRUE
)
endif
()
if
(
DEFINED NGRAPH_USE_CXX_ABI AND NGRAPH_USE_PREBUILT_LLVM
)
message
(
FATAL_ERROR
"Unable to use NGRAPH_USE_PREBUILT_LLVM with NGRAPH_USE_CXX_ABI"
)
endif
()
# These variables are undocumented but useful.
set
(
CMAKE_DISABLE_SOURCE_CHANGES ON
)
set
(
CMAKE_DISABLE_IN_SOURCE_BUILD ON
)
...
...
src/ngraph/codegen/CMakeLists.txt
View file @
e265654a
...
...
@@ -16,6 +16,10 @@
if
(
NGRAPH_GPU_ENABLE
OR
(
NGRAPH_CPU_ENABLE AND NOT NGRAPH_DEX_ONLY
))
if
(
DEFINED NGRAPH_USE_CXX_ABI AND NGRAPH_USE_PREBUILT_LLVM
)
message
(
FATAL_ERROR
"Unable to use NGRAPH_USE_PREBUILT_LLVM with NGRAPH_USE_CXX_ABI"
)
endif
()
set
(
SRC
code_writer.cpp
compiler.cpp
...
...
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