build : include RPC server in best build

Assisted-by: Codex
This commit is contained in:
xrip committed 2026-09-24 17:12:38 +03:00
1 parent 5031d1c935
commit 5aa2606c70
1 file changed
+3 -2
+3 -2
View File
@@ -3,9 +3,10 @@ set -euo pipefail
root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
# Build the SM75 cuBLAS path with the Q8_0 fast-half experiment enabled.
# Build the SM75 cuBLAS path and its RPC server.
cmake -S "$root" -B "$root/build-best" \
-DCMAKE_BUILD_TYPE=Release \
-DGGML_RPC=ON \
-DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 \
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
-DCMAKE_CUDA_HOST_COMPILER=g++-14 -DCMAKE_CUDA_ARCHITECTURES=75 \
@@ -15,4 +16,4 @@ cmake -S "$root" -B "$root/build-best" \
-DGGML_CUDA_SM75_Q8_0_FAST_HALF=ON \
-DLLAMA_BUILD_TESTS=ON -DLLAMA_BUILD_TOOLS=ON
cmake --build "$root/build-best" --parallel "${CMAKE_BUILD_PARALLEL_LEVEL:-12}" \
--target llama-server llama-cli llama-bench test-backend-ops
--target llama-server llama-cli llama-bench test-backend-ops ggml-rpc-server