Skip to content

Commit 21055cd

Browse files
author
LittleMouse
committed
[update] Enable compilation optimization to O2
1 parent 7fc35e6 commit 21055cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/llm_framework/main_llm/SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ STATIC_FILES = []
2424
# AFile('../static_lib/liblzma.so.5'),
2525
# AFile('../static_lib/libbz2.so.1.0')]
2626
# DEFINITIONS += ["-DENABLE_BACKWARD"]
27-
27+
DEFINITIONS += ['-O2']
2828
DEFINITIONS += ['-std=c++17']
2929
LDFLAGS+=['-Wl,-rpath=/opt/m5stack/lib', '-Wl,-rpath=/usr/local/m5stack/lib', '-Wl,-rpath=/usr/local/m5stack/lib/gcc-10.3', '-Wl,-rpath=/opt/lib', '-Wl,-rpath=/opt/usr/lib', '-Wl,-rpath=./']
3030
REQUIREMENTS += ['ax_engine', 'ax_interpreter', 'ax_sys', 'utilities']

0 commit comments

Comments
 (0)