offline-voice-agent: increase BAZEL_JOBS and BAZEL_MEM defaults 73/29273/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 11 Oct 2023 13:15:54 +0000 (15:15 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 11 Oct 2023 19:41:04 +0000 (19:41 +0000)
To speed up the build process, increase the default values for BAZEL_JOBS to HOST_CPUS*.4
and for BAZEL_MEM to HOST_RAM*0.4 .

Bug-AGL: SPEC-4856
Change-Id: I3a167df914373979ea39b7ccbd508de15861c115
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
templates/feature/agl-offline-voice-agent/50_local.conf.inc

index 4c80ecb..fa46907 100644 (file)
@@ -22,4 +22,9 @@ IMAGE_INSTALL:append = " \
     flutter-vosk-demo \
     "
 
-PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us"
\ No newline at end of file
+PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us"
+
+
+# bump bazel limits
+BAZEL_JOBS = "HOST_CPUS*.4"
+BAZEL_MEM = "HOST_RAM*.4"