Skip to content

Commit e5c0c4e

Browse files
committed
server ci : do not use openmp with tsan
ggml-ci
1 parent 7226483 commit e5c0c4e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/server.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,22 @@ jobs:
8787
exit 1
8888
fi
8989
90+
- name: Build (no OpenMP)
91+
id: cmake_build_no_openmp
92+
if: ${{ matrix.sanitizer == 'THREAD' }}
93+
run: |
94+
cmake -B build \
95+
-DLLAMA_NATIVE=OFF \
96+
-DLLAMA_BUILD_SERVER=ON \
97+
-DLLAMA_CURL=ON \
98+
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
99+
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON \
100+
-DLLAMA_OPENMP=OFF ;
101+
cmake --build build --config ${{ matrix.build_type }} -j $(nproc) --target llama-server
102+
90103
- name: Build
91104
id: cmake_build
105+
if: ${{ matrix.sanitizer != 'THREAD' }}
92106
run: |
93107
cmake -B build \
94108
-DLLAMA_NATIVE=OFF \

0 commit comments

Comments
 (0)