Browse Source

update dlog change

tags/v1.2.0
taoxiangdong 3 years ago
parent
commit
b0c1eabedb
4 changed files with 4 additions and 0 deletions
  1. +1
    -0
      ge/common/CMakeLists.txt
  2. +1
    -0
      ge/executor/CMakeLists.txt
  3. +1
    -0
      ge/ge_local_engine/CMakeLists.txt
  4. +1
    -0
      ge/host_cpu_engine/CMakeLists.txt

+ 1
- 0
ge/common/CMakeLists.txt View File

@@ -130,6 +130,7 @@ target_compile_definitions(ge_common_static PRIVATE
google=ascend_private google=ascend_private
$<IF:$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>,OS_TYPE=WIN,OS_TYPE=0> $<IF:$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>,OS_TYPE=WIN,OS_TYPE=0>
$<$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>:SECUREC_USING_STD_SECURE_LIB=0 NOMINMAX> $<$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>:SECUREC_USING_STD_SECURE_LIB=0 NOMINMAX>
LOG_CPP
) )


target_compile_options(ge_common_static PRIVATE target_compile_options(ge_common_static PRIVATE


+ 1
- 0
ge/executor/CMakeLists.txt View File

@@ -173,6 +173,7 @@ target_compile_definitions(ge_executor PRIVATE
google=ascend_private google=ascend_private
$<IF:$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>,OS_TYPE=WIN,OS_TYPE=0> $<IF:$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>,OS_TYPE=WIN,OS_TYPE=0>
$<$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>:SECUREC_USING_STD_SECURE_LIB=0 NOMINMAX> $<$<STREQUAL:${TARGET_SYSTEM_NAME},Windows>:SECUREC_USING_STD_SECURE_LIB=0 NOMINMAX>
LOG_CPP
) )


target_include_directories(ge_executor PRIVATE target_include_directories(ge_executor PRIVATE


+ 1
- 0
ge/ge_local_engine/CMakeLists.txt View File

@@ -203,6 +203,7 @@ target_compile_options(ge_local_opskernel_builder_static PRIVATE


target_compile_definitions(ge_local_opskernel_builder_static PRIVATE target_compile_definitions(ge_local_opskernel_builder_static PRIVATE
google=ascend_private google=ascend_private
LOG_CPP
) )


target_include_directories(ge_local_opskernel_builder_static PRIVATE target_include_directories(ge_local_opskernel_builder_static PRIVATE


+ 1
- 0
ge/host_cpu_engine/CMakeLists.txt View File

@@ -193,6 +193,7 @@ target_compile_options(host_cpu_opskernel_builder_static PRIVATE


target_compile_definitions(host_cpu_opskernel_builder_static PRIVATE target_compile_definitions(host_cpu_opskernel_builder_static PRIVATE
google=ascend_private google=ascend_private
LOG_CPP
) )


target_include_directories(host_cpu_opskernel_builder_static PRIVATE target_include_directories(host_cpu_opskernel_builder_static PRIVATE


Loading…
Cancel
Save