Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklandsign committed Jul 25, 2024
1 parent 4ae1fc2 commit 874d213
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,13 @@ if(EXECUTORCH_BUILD_PYBIND)
INSTALL_RPATH "@loader_path/../../../torch/lib"
)
else()
set_target_properties(
portable_lib
PROPERTIES # Assume that this library will be installed in
# `site-packages/executorch/extension/pybindings`, and that
# the custom_ops_aot_lib should be found with relative path.
BUILD_RPATH "$ORIGIN:$ORIGIN/../../examplesmodels/llama2/custom_ops"
)
endif()

install(TARGETS portable_lib
Expand Down

0 comments on commit 874d213

Please sign in to comment.