cont : simplify

This commit is contained in:
Georgi Gerganov
2026-02-07 14:50:05 +02:00
parent 7703578f9a
commit 5144018e7b
2 changed files with 3 additions and 15 deletions

View File

@@ -296,11 +296,7 @@ jobs:
-DGGML_SANITIZE_${{ matrix.sanitizer }}=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
J=$(( ($(nproc) + 1) / 2 ))
if [ $J -lt 1 ]; then J=1; fi
echo "Using -j $J"
cmake --build build --config ${{ matrix.build_type }} -j $J
cmake --build build --config ${{ matrix.build_type }} -j $(nproc)
- name: Build (no OpenMP)
id: cmake_build_no_openmp
@@ -313,11 +309,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DGGML_OPENMP=OFF
J=$(( ($(nproc) + 1) / 2 ))
if [ $J -lt 1 ]; then J=1; fi
echo "Using -j $J"
cmake --build build --config ${{ matrix.build_type }} -j $J
cmake --build build --config ${{ matrix.build_type }} -j $(nproc)
- name: Test
id: cmake_test

View File

@@ -72,10 +72,6 @@ jobs:
- name: Build
id: cmake_build
run: |
J=$(( ($(nproc) + 1) / 2 ))
if [ $J -lt 1 ]; then J=1; fi
echo "Using -j $J"
cmake -B build \
-DLLAMA_BUILD_BORINGSSL=ON \
-DGGML_SCHED_NO_REALLOC=ON \
@@ -85,7 +81,7 @@ jobs:
-DLLAMA_SANITIZE_ADDRESS=${{ matrix.sanitizer == 'ADDRESS' }} \
-DLLAMA_SANITIZE_THREAD=${{ matrix.sanitizer == 'THREAD' }} \
-DLLAMA_SANITIZE_UNDEFINED=${{ matrix.sanitizer == 'UNDEFINED' }}
cmake --build build --config ${{ matrix.build_type }} -j $J --target llama-server
cmake --build build --config ${{ matrix.build_type }} -j $(nproc) --target llama-server
- name: Python setup
id: setup_python