diff options
Diffstat (limited to 'ui/build/build.go')
-rw-r--r-- | ui/build/build.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/build/build.go b/ui/build/build.go index 1c2d8648..de36dce9 100644 --- a/ui/build/build.go +++ b/ui/build/build.go @@ -46,8 +46,11 @@ func SetupOutDir(ctx Context, config Config) { var combinedBuildNinjaTemplate = template.Must(template.New("combined").Parse(` builddir = {{.OutDir}} -pool local_pool +{{if .UseRemoteBuild }}pool local_pool depth = {{.Parallel}} +{{end -}} +pool highmem_pool + depth = {{.HighmemParallel}} build _kati_always_build_: phony {{if .HasKatiSuffix}}subninja {{.KatiBuildNinjaFile}} subninja {{.KatiPackageNinjaFile}} |