Commit 2f9faecd authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

make sure ngraph name is correct (#1157)

parent ed112464
...@@ -183,7 +183,7 @@ target_link_libraries(ngraph PUBLIC libjson) ...@@ -183,7 +183,7 @@ target_link_libraries(ngraph PUBLIC libjson)
if (NOT APPLE) if (NOT APPLE)
set_property(TARGET ngraph APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--rpath,$ORIGIN") set_property(TARGET ngraph APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--rpath,$ORIGIN")
# NGraph links against one or more libraries (ex. LLVM) but we don't want to # nGraph links against one or more libraries (ex. LLVM) but we don't want to
# export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific # export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific
# option so making this portable is still an open issue. As a note for the future, # option so making this portable is still an open issue. As a note for the future,
# this is not an issue on Windows and LLVM's lld does support --exclude-libs. # this is not an issue on Windows and LLVM's lld does support --exclude-libs.
...@@ -208,7 +208,7 @@ target_link_libraries(ngraph PUBLIC dl pthread) ...@@ -208,7 +208,7 @@ target_link_libraries(ngraph PUBLIC dl pthread)
# Installation logic... # Installation logic...
#----------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------
# NGraph # nGraph
install(FILES ${CMAKE_BINARY_DIR}/VERSION DESTINATION ${CMAKE_INSTALL_PREFIX}) install(FILES ${CMAKE_BINARY_DIR}/VERSION DESTINATION ${CMAKE_INSTALL_PREFIX})
install(TARGETS ngraph DESTINATION ${NGRAPH_INSTALL_LIB}) # libngraph.so install(TARGETS ngraph DESTINATION ${NGRAPH_INSTALL_LIB}) # libngraph.so
install(DIRECTORY install(DIRECTORY
......
...@@ -314,7 +314,7 @@ void runtime::gpu::GPU_ExternalFunction::compile() ...@@ -314,7 +314,7 @@ void runtime::gpu::GPU_ExternalFunction::compile()
codegen::CodeWriter writer; codegen::CodeWriter writer;
writer += writer +=
R"(// Generated by the NGraph GPU backend R"(// Generated by the nGraph GPU backend
#include <cublas_v2.h> #include <cublas_v2.h>
#include <cuda.h> #include <cuda.h>
#include <cuda_runtime.h> #include <cuda_runtime.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment