summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-11 15:15:54 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-11 19:41:04 +0000
commit02527a5a7c09ddebe16cec088796b7224fd4e88c (patch)
treee8383fd69309f4df852d623a7e8ecd02c52f73bf
parent57ffdf86d6deb808888bd86ab265c83f4d9f4094 (diff)
offline-voice-agent: increase BAZEL_JOBS and BAZEL_MEM defaults
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>
-rw-r--r--templates/feature/agl-offline-voice-agent/50_local.conf.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/feature/agl-offline-voice-agent/50_local.conf.inc b/templates/feature/agl-offline-voice-agent/50_local.conf.inc
index 4c80ecb2..fa46907c 100644
--- a/templates/feature/agl-offline-voice-agent/50_local.conf.inc
+++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc
@@ -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"