ci : macos set build rpath to "@loader_path"

This commit is contained in:
Georgi Gerganov 2025-01-24 16:31:12 +02:00
parent dae44bf21a
commit 39d0621872
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -56,7 +56,7 @@ jobs:
mkdir build mkdir build
cd build cd build
cmake .. \ cmake .. \
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ -DCMAKE_BUILD_RPATH="@loader_path" \
-DLLAMA_FATAL_WARNINGS=ON \ -DLLAMA_FATAL_WARNINGS=ON \
-DLLAMA_CURL=ON \ -DLLAMA_CURL=ON \
-DGGML_METAL_USE_BF16=ON \ -DGGML_METAL_USE_BF16=ON \
@ -119,7 +119,7 @@ jobs:
# Metal is disabled due to intermittent failures with Github runners not having a GPU: # Metal is disabled due to intermittent failures with Github runners not having a GPU:
# https://github.com/ggerganov/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313 # https://github.com/ggerganov/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313
cmake -B build \ cmake -B build \
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ -DCMAKE_BUILD_RPATH="@loader_path" \
-DLLAMA_FATAL_WARNINGS=ON \ -DLLAMA_FATAL_WARNINGS=ON \
-DLLAMA_CURL=ON \ -DLLAMA_CURL=ON \
-DGGML_METAL=OFF \ -DGGML_METAL=OFF \