This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
graphengine
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
13
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
modify static depends
tags/v1.2.0
taoxudonghaha
3 years ago
parent
0aa3f311a7
commit
043e4569b4
3 changed files
with
8 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
cmake/external_libs/protobuf_static.cmake
+1
-1
ge/common/CMakeLists.txt
+1
-1
ge/executor/CMakeLists.txt
+ 6
- 0
cmake/external_libs/protobuf_static.cmake
View File
@@ -1,3 +1,7 @@
if (HAVE_PROTOBUF_STATIC)
return()
endif()
include(ExternalProject)
include(GNUInstallDirs)
#set(CMAKE_INSTALL_PREFIX ${GE_CODE_DIR}/output)
@@ -58,3 +62,5 @@ include_directories(${PROTOBUF_STATIC_PKG_DIR}/include)
endif ()
add_dependencies(ascend_protobuf_static protobuf_static_build)
set(HAVE_PROTOBUF_STATIC TRUE)
+ 1
- 1
ge/common/CMakeLists.txt
View File
@@ -170,7 +170,7 @@ target_include_directories(ge_common_static PRIVATE
target_link_libraries(ge_common_static PRIVATE
$<BUILD_INTERFACE:intf_pub>
ascend_protobuf
ascend_protobuf
_static
json
c_sec
$<$<NOT:$<STREQUAL:${TARGET_SYSTEM_NAME},Android>>:-lrt>
+ 1
- 1
ge/executor/CMakeLists.txt
View File
@@ -202,7 +202,7 @@ target_include_directories(ge_executor SYSTEM PRIVATE
target_link_libraries(ge_executor PRIVATE
$<BUILD_INTERFACE:intf_pub>
json
ascend_protobuf
ascend_protobuf
_static
c_sec
$<$<NOT:$<STREQUAL:${TARGET_SYSTEM_NAME},Android>>:-lrt>
-ldl
Write
Preview
Loading…
Cancel
Save