Skip to content

Commit 8c28faf

Browse files
Disable CURL in performance workflow builds
CMake requires CURL library for llama-cli but CI environment doesn't have it installed. Disable CURL support with -DLLAMA_CURL=OFF to fix build failure. Fixes: Build llama-bench step failing with 'Could NOT find CURL' Co-Authored-By: Alex Peng <[email protected]>
1 parent bc380c2 commit 8c28faf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/performance-regression.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
run: |
7575
cmake -B build \
7676
-DCMAKE_BUILD_TYPE=Release \
77-
-DLLAMA_FATAL_WARNINGS=ON
77+
-DLLAMA_FATAL_WARNINGS=ON \
78+
-DLLAMA_CURL=OFF
7879
cmake --build build --target llama-bench llama-cli -j $(nproc)
7980
8081
- name: Download test model
@@ -210,7 +211,8 @@ jobs:
210211
cmake -B build \
211212
-DCMAKE_BUILD_TYPE=Release \
212213
-DGGML_CUDA=ON \
213-
-DLLAMA_FATAL_WARNINGS=ON
214+
-DLLAMA_FATAL_WARNINGS=ON \
215+
-DLLAMA_CURL=OFF
214216
cmake --build build --target llama-bench llama-cli -j $(nproc)
215217
216218
- name: Download test model
@@ -343,7 +345,8 @@ jobs:
343345
cmake -B build \
344346
-DCMAKE_BUILD_TYPE=Release \
345347
-DGGML_METAL=ON \
346-
-DLLAMA_FATAL_WARNINGS=ON
348+
-DLLAMA_FATAL_WARNINGS=ON \
349+
-DLLAMA_CURL=OFF
347350
cmake --build build --target llama-bench llama-cli -j $(sysctl -n hw.logicalcpu)
348351
349352
- name: Download test model

0 commit comments

Comments
 (0)