vendor : update LibreSSL to 4.3.1 (#22285)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Vendored
+13
-1
@@ -81,7 +81,7 @@ if (LLAMA_BUILD_BORINGSSL)
|
|||||||
target_link_libraries(${TARGET} PUBLIC ssl crypto)
|
target_link_libraries(${TARGET} PUBLIC ssl crypto)
|
||||||
|
|
||||||
elseif (LLAMA_BUILD_LIBRESSL)
|
elseif (LLAMA_BUILD_LIBRESSL)
|
||||||
set(LIBRESSL_VERSION "4.2.1" CACHE STRING "LibreSSL version")
|
set(LIBRESSL_VERSION "4.3.1" CACHE STRING "LibreSSL version")
|
||||||
|
|
||||||
message(STATUS "Fetching LibreSSL version ${LIBRESSL_VERSION}")
|
message(STATUS "Fetching LibreSSL version ${LIBRESSL_VERSION}")
|
||||||
|
|
||||||
@@ -161,12 +161,24 @@ if(LLAMA_BUILD_BORINGSSL OR LLAMA_BUILD_LIBRESSL)
|
|||||||
if(LLAMA_BUILD_BORINGSSL)
|
if(LLAMA_BUILD_BORINGSSL)
|
||||||
target_compile_options(fipsmodule PRIVATE /w)
|
target_compile_options(fipsmodule PRIVATE /w)
|
||||||
endif()
|
endif()
|
||||||
|
if(LLAMA_BUILD_LIBRESSL)
|
||||||
|
target_compile_options(ssl_obj PRIVATE /w)
|
||||||
|
target_compile_options(bs_obj PRIVATE /w)
|
||||||
|
target_compile_options(compat_obj PRIVATE /w)
|
||||||
|
target_compile_options(crypto_obj PRIVATE /w)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
target_compile_options(ssl PRIVATE -w)
|
target_compile_options(ssl PRIVATE -w)
|
||||||
target_compile_options(crypto PRIVATE -w)
|
target_compile_options(crypto PRIVATE -w)
|
||||||
if(LLAMA_BUILD_BORINGSSL)
|
if(LLAMA_BUILD_BORINGSSL)
|
||||||
target_compile_options(fipsmodule PRIVATE -w)
|
target_compile_options(fipsmodule PRIVATE -w)
|
||||||
endif()
|
endif()
|
||||||
|
if(LLAMA_BUILD_LIBRESSL)
|
||||||
|
target_compile_options(ssl_obj PRIVATE -w)
|
||||||
|
target_compile_options(bs_obj PRIVATE -w)
|
||||||
|
target_compile_options(compat_obj PRIVATE -w)
|
||||||
|
target_compile_options(crypto_obj PRIVATE -w)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user