已合并
fix(kernel): 添加 -Wno-macro-redefined 解决__aicore__重定义告警 #2171
fix(kernel): 添加 -Wno-macro-redefined 解决__aicore__重定义告警 #2171
已合并
zouyanlong创建于 7月15日
1 个文件变更+2-1
@@ -26,6 +26,7 @@ set(CCE_COMPILE_OPTION
26 -O2 -std=gnu++1726 -O2 -std=gnu++17
27 --cce-aicore-only27 --cce-aicore-only
28 -Wno-deprecated-declarations28 -Wno-deprecated-declarations
29+ -Wno-macro-redefined
29 ${SANITIZER_FLAGS}30 ${SANITIZER_FLAGS}
30 "SHELL:-mllvm -cce-aicore-long-call"31 "SHELL:-mllvm -cce-aicore-long-call"
31 "SHELL:-mllvm -cce-aicore-function-stack-size=16000"32 "SHELL:-mllvm -cce-aicore-function-stack-size=16000"
@@ -49,4 +50,4 @@ include_directories(
49 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/50 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/
50 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/interface/51 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/interface/
51 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/impl/52 ${CCE_INCLUDE_BASE}/tikcpp/tikcfw/impl/
52-) 53+)