Skip to content

Commit

Permalink
[Feature](mlu-ops): change -O0 to -O3 when complication mode is --enb… (
Browse files Browse the repository at this point in the history
#1069)

Co-authored-by: niyuming <[email protected]>
  • Loading branch information
aokbok and niyuming authored Aug 8, 2024
1 parent 240c7c3 commit d80706d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d80706d

Please sign in to comment.