llm: fix missing dylibs by restoring old build behavior on Linux and macOS (#5511)

* Revert "fix cmake build (#5505)"

This reverts commit 4fd5f3526a.

* llm: fix missing dylibs by restoring old build behavior

* crlf -> lf
This commit is contained in:
Jeffrey Morgan
2024-07-05 21:48:31 -04:00
committed by GitHub
parent 5304b765b2
commit 2cc854f8cb
4 changed files with 16 additions and 21 deletions

View File

@@ -81,7 +81,6 @@ apply_patches() {
build() {
cmake -S ${LLAMACPP_DIR} -B ${BUILD_DIR} ${CMAKE_DEFS}
cmake --build ${BUILD_DIR} ${CMAKE_TARGETS} -j8
cmake --install ${BUILD_DIR} --component ollama_llama_server
}
compress() {