File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -360,8 +360,8 @@ ARG JOBS=16
360
360
361
361
RUN mkdir -p /tmp/bazel-output && \
362
362
bazel --output_base=/tmp/bazel-output \
363
- --jobs=$JOBS ${CAPI_FLAGS} \
364
- build //src:ovms_shared && \
363
+ ${CAPI_FLAGS} \
364
+ build --jobs=${JOBS} //src:ovms_shared && \
365
365
find /tmp/bazel-output -name libovms_shared.so && \
366
366
LIB_PATH=$(find /tmp/bazel-output -name libovms_shared.so | head -n1) && \
367
367
echo "Found built file: $LIB_PATH" && \
@@ -384,8 +384,7 @@ RUN bazel build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
384
384
385
385
RUN mkdir -p /tmp/bazel-output && \
386
386
bazel --output_base=/tmp/bazel-output \
387
- --jobs=$JOBS ${CAPI_FLAGS} \
388
- build //src:capi_benchmark && \
387
+ build --jobs=$JOBS ${CAPI_FLAGS} //src:capi_benchmark && \
389
388
CAPI_BIN=$(find /tmp/bazel-output -type f -name capi_benchmark | head -n1) && \
390
389
echo "Found built capi_benchmark: $CAPI_BIN" && \
391
390
chmod +x "$CAPI_BIN" && \
You can’t perform that action at this time.
0 commit comments