File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ jobs:
199199 env :
200200 CURL_PATH : ${{ steps.get_libcurl.outputs.curl_path }}
201201 run : |
202- cmake -B build -DCURL_LIBRARY="$env:CURL_PATH/lib/libcurl.dll. a" -DCURL_INCLUDE_DIR="$env:CURL_PATH/include"
202+ cmake -B build -DCURL_LIBRARY="$env:CURL_PATH/lib/libcurl.a" -DCURL_INCLUDE_DIR="$env:CURL_PATH/include"
203203 cmake --build build --config Release -j ${env:NUMBER_OF_PROCESSORS} --target llama-server
204204
205205 - name : Python setup
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ set(LLAMA_COMMON_EXTRA_LIBS build_info)
8585
8686# Use curl to download model url
8787if (LLAMA_CURL)
88+ set (CURL_USE_STATIC_LIBS TRUE )
8889 find_package (CURL)
8990 if (NOT CURL_FOUND)
9091 message (FATAL_ERROR "Could NOT find CURL. Hint: to disable this feature, set -DLLAMA_CURL=OFF" )
You can’t perform that action at this time.
0 commit comments