Skip to content

Commit 39d0621

Browse files
committed
ci : macos set build rpath to "@loader_path"
1 parent dae44bf commit 39d0621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
mkdir build
5757
cd build
5858
cmake .. \
59-
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
59+
-DCMAKE_BUILD_RPATH="@loader_path" \
6060
-DLLAMA_FATAL_WARNINGS=ON \
6161
-DLLAMA_CURL=ON \
6262
-DGGML_METAL_USE_BF16=ON \
@@ -119,7 +119,7 @@ jobs:
119119
# Metal is disabled due to intermittent failures with Github runners not having a GPU:
120120
# https://github.com/ggerganov/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313
121121
cmake -B build \
122-
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
122+
-DCMAKE_BUILD_RPATH="@loader_path" \
123123
-DLLAMA_FATAL_WARNINGS=ON \
124124
-DLLAMA_CURL=ON \
125125
-DGGML_METAL=OFF \

0 commit comments

Comments
 (0)