Browse Source

!1315 fixed compile issue of proto

From: @li-lei0106
Reviewed-by: @xchu42,@ji_chen
Signed-off-by: @ji_chen
tags/v1.3.0
mindspore-ci-bot Gitee 4 years ago
parent
commit
cc922dda8d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ge/CMakeLists.txt

+ 5
- 0
ge/CMakeLists.txt View File

@@ -66,6 +66,11 @@ target_compile_definitions(ge_proto_client PRIVATE
google=ascend_private google=ascend_private
) )


target_include_directories(ge_proto_client PRIVATE
${CMAKE_BINARY_DIR}/proto/ge_client
${CMAKE_BINARY_DIR}/proto/ge_client/proto
)

target_compile_options(ge_proto_client PRIVATE target_compile_options(ge_proto_client PRIVATE
-O2 -O2
-fno-common -fno-common


Loading…
Cancel
Save