We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e480f7f commit 97f7727Copy full SHA for 97f7727
CMakeLists.txt
@@ -693,6 +693,14 @@ if(EXECUTORCH_BUILD_PYBIND)
693
BUILD_RPATH "@loader_path/../../../torch/lib"
694
INSTALL_RPATH "@loader_path/../../../torch/lib"
695
)
696
+ else()
697
+ set_target_properties(
698
+ portable_lib
699
+ PROPERTIES # Assume that this library will be installed in
700
+ # `site-packages/executorch/extension/pybindings`, and that
701
+ # the custom_ops_aot_lib should be found with relative path.
702
+ BUILD_RPATH "$ORIGIN:$ORIGIN/../../examples/models/llama2/custom_ops"
703
+ )
704
endif()
705
706
install(TARGETS portable_lib
0 commit comments