From d3213c722894cd6f5696c21725a49e51aa4a04e0 Mon Sep 17 00:00:00 2001 From: Adriankhl Date: Wed, 29 May 2024 03:54:25 +0800 Subject: [PATCH] build: exclude llava target --- .github/workflows/build.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e5c026..2a70f90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -535,7 +535,7 @@ jobs: run: | mkdir build cd build - cmake .. -DLLAMA_NATIVE=OFF -DLLAMA_METAL=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_SERVER=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_BUILD_TYPE=Release + cmake .. -G Xcode -DLLAMA_NATIVE=OFF -DLLAMA_METAL=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_SERVER=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_BUILD_TYPE=Release cmake --build . --config Release -j $(sysctl -n hw.logicalcpu) codesign -s - libgodot_llm.ios.release.universal.dylib ls -al diff --git a/CMakeLists.txt b/CMakeLists.txt index a2293f7..281fa5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ endif() add_subdirectory(godot-cpp) add_subdirectory(llama.cpp) -add_subdirectory(llama.cpp/examples/llava) +add_subdirectory(llama.cpp/examples/llava EXCLUDE_FROM_ALL) if (APPLE) set(ARCH_NAME "universal")