mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-21 12:16:57 +00:00
* cmake: add option to build and link BoringSSL Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : fix typo Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : disable boringssl test and asm by default Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : skip bssl Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : disable fips Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : fix cmake --install Signed-off-by: Adrien Gallouët <angt@huggingface.co> * ci : use boringssl for windows and mac Signed-off-by: Adrien Gallouët <angt@huggingface.co> --------- Signed-off-by: Adrien Gallouët <angt@huggingface.co>
7 lines
354 B
CMake
7 lines
354 B
CMake
# Remove bssl
|
|
file(READ "CMakeLists.txt" content)
|
|
string(REPLACE "add_executable(bssl" "#add_executable(bssl" content "${content}")
|
|
string(REPLACE "target_link_libraries(bssl" "#target_link_libraries(bssl" content "${content}")
|
|
string(REPLACE "install(TARGETS bssl" "#install(TARGETS bssl" content "${content}")
|
|
file(WRITE "CMakeLists.txt" "${content}")
|