LLM inference in C/C++
C++ ggml
ci: fix thread sanitizer + remove ccache (#26927)
Eve84e908c625fb
diff --git a/.github/workflows/build-cmake-pkg.yml b/.github/workflows/build-cmake-pkg.ymlindex a958870de3..0e4069ce35 100644--- a/.github/workflows/build-cmake-pkg.yml+++ b/.github/workflows/build-cmake-pkg.yml@@ -5,7 +5,7 @@ on:jobs:linux:- runs-on: [self-hosted, Linux, CPU]+ runs-on: [self-hosted, Linux]steps:- uses: actions/checkout@v6with:@@ -23,7 +23,7 @@ jobs:-DLLAMA_BUILD_APP=OFF \-DLLAMA_BUILD_IS_DEV=OFF \-DCMAKE_BUILD_TYPE=Release- cmake --build build --config Release+ cmake --build build --config Release -j $(nproc)cmake --install build --prefix "$PREFIX" --config Releaseexport LLAMA_CONFIG="$PREFIX"/lib/cmake/llama/llama-config.cmake@@ -54,4 +54,4 @@ jobs:cd examples/simple-cmake-pkgcmake -S . -B build -DCMAKE_PREFIX_PATH="$PREFIX"/lib/cmake- cmake --build build+ cmake --build build -j $(nproc)diff --git a/.github/workflows/build-cpu.yml b/.github/workflows/build-cpu.ymlindex 57622e1d45..df70f4d10b 100644--- a/.github/workflows/build-cpu.yml+++ b/.github/workflows/build-cpu.yml@@ -94,6 +94,7 @@ jobs:id: cmake_buildrun: |cmake -B build \+ -DGGML_NATIVE=OFF \-DLLAMA_FATAL_WARNINGS=ON \-DGGML_RPC=ON \-DGGML_NATIVE=OFFdiff --git a/.github/workflows/build-sanitize.yml b/.github/workflows/build-sanitize.ymlindex 9654cb4e4d..974af62eb2 100644--- a/.github/workflows/build-sanitize.yml+++ b/.github/workflows/build-sanitize.yml@@ -39,9 +39,9 @@ jobs:strategy:matrix:include:+ # thread and address doesn't run properly on some self hosted machines, so run it on Github instead- sanitizer: ADDRESS- machine: [self-hosted, X64, Linux]- # thread doesn't run properly on some self hosted machines, so run it on Github instead+ machine: ubuntu-24.04- sanitizer: THREADmachine: ubuntu-24.04- sanitizer: UNDEFINED@@ -54,14 +54,14 @@ jobs:id: checkoutuses: actions/checkout@v6- - name: ccache- uses: ggml-org/[email protected]- if: ${{ matrix.sanitizer == 'THREAD' }}- with:- key: ctest-thread-ubuntu-24.04- variant: ccache- evict-old-files: 1d- save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}+ # - name: ccache+ # uses: ggml-org/[email protected]+ # if: ${{ matrix.sanitizer != 'UNDEFINED' }}+ # with:+ # key: ctest-${{ matrix.sanitizer }}-ubuntu-24.04+ # variant: ccache+ # evict-old-files: 1d+ # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}# with UNDEFINED sanitizer, we have to build in Debug to avoid GCC 13 false-positive warnings- name: Build (undefined)