From 39d0621872655e4e87866f0e321c6e6de627cf77 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 24 Jan 2025 16:31:12 +0200 Subject: [PATCH] ci : macos set build rpath to "@loader_path" --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdf7cf4f3..e15fe4080 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,7 @@ jobs: mkdir build cd build cmake .. \ - -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ + -DCMAKE_BUILD_RPATH="@loader_path" \ -DLLAMA_FATAL_WARNINGS=ON \ -DLLAMA_CURL=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: # https://github.com/ggerganov/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313 cmake -B build \ - -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ + -DCMAKE_BUILD_RPATH="@loader_path" \ -DLLAMA_FATAL_WARNINGS=ON \ -DLLAMA_CURL=ON \ -DGGML_METAL=OFF \