Skip to content

Commit a8b5f3d

Browse files
angtsamuraieng
authored andcommitted
vendor : update LibreSSL to 4.3.1 (ggml-org#22285)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
1 parent 4e1bd3d commit a8b5f3d

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

vendor/cpp-httplib/CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if (LLAMA_BUILD_BORINGSSL)
8181
target_link_libraries(${TARGET} PUBLIC ssl crypto)
8282

8383
elseif (LLAMA_BUILD_LIBRESSL)
84-
set(LIBRESSL_VERSION "4.2.1" CACHE STRING "LibreSSL version")
84+
set(LIBRESSL_VERSION "4.3.1" CACHE STRING "LibreSSL version")
8585

8686
message(STATUS "Fetching LibreSSL version ${LIBRESSL_VERSION}")
8787

@@ -161,12 +161,24 @@ if(LLAMA_BUILD_BORINGSSL OR LLAMA_BUILD_LIBRESSL)
161161
if(LLAMA_BUILD_BORINGSSL)
162162
target_compile_options(fipsmodule PRIVATE /w)
163163
endif()
164+
if(LLAMA_BUILD_LIBRESSL)
165+
target_compile_options(ssl_obj PRIVATE /w)
166+
target_compile_options(bs_obj PRIVATE /w)
167+
target_compile_options(compat_obj PRIVATE /w)
168+
target_compile_options(crypto_obj PRIVATE /w)
169+
endif()
164170
else()
165171
target_compile_options(ssl PRIVATE -w)
166172
target_compile_options(crypto PRIVATE -w)
167173
if(LLAMA_BUILD_BORINGSSL)
168174
target_compile_options(fipsmodule PRIVATE -w)
169175
endif()
176+
if(LLAMA_BUILD_LIBRESSL)
177+
target_compile_options(ssl_obj PRIVATE -w)
178+
target_compile_options(bs_obj PRIVATE -w)
179+
target_compile_options(compat_obj PRIVATE -w)
180+
target_compile_options(crypto_obj PRIVATE -w)
181+
endif()
170182
endif()
171183
endif()
172184

0 commit comments

Comments
 (0)