@@ -12,6 +12,7 @@ option("ci", { default = false })
1212
1313if has_config (" dev" ) then
1414 set_policy (" build.ccache" , true )
15+ set_policy (" package.install_only" , true ) -- Don't fetch system package
1516 if is_plat (" windows" ) then
1617 set_runtimes (" MD" )
1718 if is_mode (" debug" ) then
@@ -31,8 +32,7 @@ local libuv_require = "libuv"
3132if has_config (" release" ) then
3233 set_policy (" build.optimization.lto" , true )
3334 set_policy (" package.cmake_generator.ninja" , true )
34- -- Don't fetch system package
35- set_policy (" package.install_only" , true )
35+ set_policy (" package.install_only" , true ) -- Don't fetch system package
3636
3737 if is_plat (" windows" ) then
3838 set_runtimes (" MT" )
@@ -257,7 +257,7 @@ rule("clice_build_config", function()
257257 -- pixi clang failed to add lto flags because it need `-fuse-ld=lld`
258258 target :add (" ldflags" , " -flto=thin" , { force = true })
259259 end
260- -- dsymutil so slow, disable it in daily ci
260+ -- dsymutil so slow, disable it in dev ci
261261 if not has_config (" release" ) and is_mode (" releasedbg" ) and has_config (" ci" ) then
262262 target :rule_enable (" utils.symbols.extract" , false )
263263 end
0 commit comments