Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 139774b

Browse filesBrowse files
committed
fix: Update shared library rpath
1 parent 92bad6e commit 139774b
Copy full SHA for 139774b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (LLAMA_BUILD)
2727
# Add the automatically determined parts of the RPATH
2828
# which point to directories outside the build tree to the install RPATH
2929
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
30-
set(CMAKE_INSTALL_RPATH "${LLAMA_CPP_PYTHON_INSTALL_DIR}")
30+
set(CMAKE_INSTALL_RPATH "$ORIGIN")
3131

3232
# Building llama
3333
if (APPLE AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.