8787 -DGGML_METAL_EMBED_LIBRARY=OFF \
8888 -DGGML_METAL_SHADER_DEBUG=ON \
8989 -DGGML_RPC=ON
90- cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
90+ time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
9191 leaks -atExit -- ./build/bin/test-thread-safety -hf ggml-org/gemma-3-270m-qat-GGUF -ngl 99 -p "$(printf 'hello %.0s' {1..128})" -n 16 -c 512 -ub 32 -np 2 -t 2 -lv 1
9292
9393 - name : Test
@@ -124,7 +124,7 @@ jobs:
124124 -DGGML_METAL=OFF \
125125 -DGGML_RPC=ON \
126126 -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3
127- cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
127+ time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
128128
129129 - name : Test
130130 id : cmake_test
@@ -165,8 +165,8 @@ jobs:
165165 id : cmake_build
166166 run : |
167167 export CMAKE_PREFIX_PATH=dawn
168- cmake -B build -DGGML_WEBGPU=ON -DGGML_METAL=OFF -DGGML_BLAS=OFF
169- cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
168+ cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release - DGGML_WEBGPU=ON -DGGML_METAL=OFF -DGGML_BLAS=OFF
169+ time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
170170
171171 - name : Test
172172 id : cmake_test
@@ -231,7 +231,7 @@ jobs:
231231 cmake -B build \
232232 -DLLAMA_FATAL_WARNINGS=ON \
233233 -DGGML_RPC=ON
234- cmake --build build --config Release -j $(nproc)
234+ time cmake --build build --config Release -j $(nproc)
235235
236236 - name : Test
237237 id : cmake_test
@@ -274,14 +274,16 @@ jobs:
274274 id : depends
275275 run : |
276276 sudo apt-get update
277- sudo apt-get install build-essential libssl-dev
277+ sudo apt-get install build-essential libssl-dev ninja-build
278278
279279 - name : Build
280280 id : cmake_build
281281 run : |
282282 cmake -B build \
283+ -G "Ninja" \
284+ -DCMAKE_BUILD_TYPE=Release \
283285 -DGGML_RPC=ON
284- cmake --build build --config Release -j $(nproc)
286+ time cmake --build build --config Release -j $(nproc)
285287
286288 - name : Test
287289 id : cmake_test
@@ -300,12 +302,13 @@ jobs:
300302 - name : Dependencies
301303 id : depends
302304 run : |
303- sudo apt-get install -y glslc libvulkan-dev libssl-dev
305+ sudo apt-get install -y glslc libvulkan-dev libssl-dev ninja-build
304306
305307 - name : Configure
306308 id : cmake_configure
307309 run : |
308310 cmake -B build \
311+ -G "Ninja" \
309312 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
310313 -DGGML_BACKEND_DL=ON \
311314 -DGGML_CPU_ALL_VARIANTS=ON \
@@ -314,7 +317,7 @@ jobs:
314317 - name : Build
315318 id : cmake_build
316319 run : |
317- cmake --build build -j $(nproc)
320+ time cmake --build build -j $(nproc)
318321
319322 ubuntu-24-webgpu :
320323 runs-on : ubuntu-24.04
@@ -336,7 +339,8 @@ jobs:
336339 run : |
337340 sudo add-apt-repository -y ppa:kisak/kisak-mesa
338341 sudo apt-get update -y
339- sudo apt-get install -y build-essential mesa-vulkan-drivers libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libssl-dev
342+ sudo apt-get install -y build-essential mesa-vulkan-drivers \
343+ libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libssl-dev
340344
341345 - name : Get latest Vulkan SDK version
342346 id : vulkan_sdk_version
@@ -378,7 +382,7 @@ jobs:
378382 export Dawn_DIR=dawn/lib64/cmake/Dawn
379383 cmake -B build \
380384 -DGGML_WEBGPU=ON
381- cmake --build build --config Release -j $(nproc)
385+ time cmake --build build --config Release -j $(nproc)
382386
383387 - name : Test
384388 id : cmake_test
@@ -415,11 +419,13 @@ jobs:
415419 run : |
416420 source emsdk/emsdk_env.sh
417421 emcmake cmake -B build-wasm \
422+ -G "Ninja" \
423+ -DCMAKE_BUILD_TYPE=Release \
418424 -DGGML_WEBGPU=ON \
419425 -DLLAMA_OPENSSL=OFF \
420426 -DEMDAWNWEBGPU_DIR=emdawnwebgpu_pkg
421427
422- cmake --build build-wasm --target test-backend-ops -j $(nproc)
428+ time cmake --build build-wasm --config Release --target test-backend-ops -j $(nproc)
423429
424430 ubuntu-22-hip :
425431 runs-on : ubuntu-22.04
@@ -479,7 +485,7 @@ jobs:
479485 run : |
480486 cmake -B build -S . \
481487 -DGGML_MUSA=ON
482- cmake --build build --config Release -j $(nproc)
488+ time cmake --build build --config Release -j $(nproc)
483489
484490 ubuntu-22-sycl :
485491 runs-on : ubuntu-22.04
@@ -528,7 +534,7 @@ jobs:
528534 -DGGML_SYCL=ON \
529535 -DCMAKE_C_COMPILER=icx \
530536 -DCMAKE_CXX_COMPILER=icpx
531- cmake --build build --config Release -j $(nproc)
537+ time cmake --build build --config Release -j $(nproc)
532538
533539 ubuntu-22-sycl-fp16 :
534540 runs-on : ubuntu-22.04
@@ -551,7 +557,7 @@ jobs:
551557 shell : bash
552558 run : |
553559 sudo apt update
554- sudo apt install intel-oneapi-compiler-dpcpp-cpp libssl-dev
560+ sudo apt install intel-oneapi-compiler-dpcpp-cpp libssl-dev ninja-build
555561
556562 - name : install oneAPI MKL library
557563 shell : bash
@@ -574,11 +580,13 @@ jobs:
574580 run : |
575581 source /opt/intel/oneapi/setvars.sh
576582 cmake -B build \
583+ -G "Ninja" \
584+ -DCMAKE_BUILD_TYPE=Release \
577585 -DGGML_SYCL=ON \
578586 -DCMAKE_C_COMPILER=icx \
579587 -DCMAKE_CXX_COMPILER=icpx \
580588 -DGGML_SYCL_F16=ON
581- cmake --build build --config Release -j $(nproc)
589+ time cmake --build build --config Release -j $(nproc)
582590
583591 ubuntu-24-openvino :
584592 name : ubuntu-24-openvino-${{ matrix.openvino_device }}
@@ -648,7 +656,7 @@ jobs:
648656 cmake -B build/ReleaseOV -G Ninja \
649657 -DCMAKE_BUILD_TYPE=Release \
650658 -DGGML_OPENVINO=ON
651- cmake --build build/ReleaseOV --config Release -j $(nproc)
659+ time cmake --build build/ReleaseOV --config Release -j $(nproc)
652660
653661 - name : Test
654662 id : cmake_test
@@ -1039,7 +1047,7 @@ jobs:
10391047 -DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc-14 \
10401048 -DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++-14
10411049
1042- cmake --build build --config Release -j $(nproc)
1050+ time cmake --build build --config Release -j $(nproc)
10431051
10441052 - name : Test
10451053 id : cmake_test
0 commit comments