We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f2c4be commit a6186a1Copy full SHA for a6186a1
build.backend.sh
@@ -20,8 +20,14 @@ if [[ "$FLAVOR" == "-prod" ]]; then
20
EOF
21
fi
22
23
-WHAT="llama-run llama-bench"
24
-cmake --build ../build.remoting-backend$FLAVOR --parallel 8 --target $WHAT "$@"
+TARGETS="llama-run"
+if [[ "${BENCH_MODE:-}" == "bench" ]]; then
25
+ TARGETS="$TARGETS llama-bench"
26
+elif [[ "${BENCH_MODE:-}" == "perf" ]]; then
27
+ TARGETS="$TARGETS test-backend-ops"
28
+fi
29
+
30
+cmake --build ../build.remoting-backend$FLAVOR --parallel 8 --target $TARGETS "$@"
31
32
if [[ $? == 0 ]]; then
33
touch READY_backend
0 commit comments