File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ local YELLOW = '\27[1;33m'
55local NC = ' \27 [0m' -- No Color
66
77add_includedirs (" include" )
8+ set_encodings (" utf-8" )
89
910if is_mode (" debug" ) then
1011 add_cxflags (" -g -O0" )
@@ -84,8 +85,8 @@ option("moore-gpu")
8485option_end ()
8586
8687if has_config (" mthreads-gpu" ) then
87- add_defines (" ENABLE_MUSA_API" )
88- end
88+ add_defines (" ENABLE_MUSA_API" )
89+ end
8990
9091-- 海光
9192option (" sugon-dcu" )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ target("infiniop-cpu")
22 on_install (function (target ) end )
33 set_kind (" static" )
44
5- add_cxflags ( " -Wall " , " -Werror " )
5+ set_warnings ( " all " , " error " )
66
77 if not is_plat (" windows" ) then
88 add_cxflags (" -fPIC" )
@@ -14,4 +14,4 @@ target("infiniop-cpu")
1414 add_cxflags (" -fopenmp" )
1515 add_ldflags (" -fopenmp" )
1616 end
17- target_end ()
17+ target_end ()
You can’t perform that action at this time.
0 commit comments