From d80706d863c1ff8420b7a15ac0fe63dec1f141e3 Mon Sep 17 00:00:00 2001 From: niyuming Date: Thu, 8 Aug 2024 15:31:08 +0800 Subject: [PATCH] =?UTF-8?q?[Feature](mlu-ops):=20change=20-O0=20to=20-O3?= =?UTF-8?q?=20when=20complication=20mode=20is=20--enb=E2=80=A6=20(#1069)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: niyuming --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ad98a9e9..6f3b0af4a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ endif() if(${MLUOP_BUILD_BANG_MEMCHECK} MATCHES "ON") message("-- BANG memcheck enabled") set(BANG_CNCC_FLAGS "${BANG_CNCC_FLAGS} -mllvm -enable-mlisa-sanitizer") - set(BANG_CNCC_FLAGS "${BANG_CNCC_FLAGS} -Xbang-cnas -O0") # XXX to reduce cnas compilation time + set(BANG_CNCC_FLAGS "${BANG_CNCC_FLAGS} -Xbang-cnas -O1") # XXX to reduce cnas compilation time set(BANG_CNCC_FLAGS "${BANG_CNCC_FLAGS} -g") # to show file line number endif()