Skip to content

Commit 6818cd4

Browse files
cccclaifacebook-github-bot
authored andcommitted
set env in buck file (#5736)
Summary: Pull Request resolved: #5736 Simply the the env path and no need to set `LD_LIBRARY_PATH` manually Reviewed By: kirklandsign Differential Revision: D63556730
1 parent 9f6a358 commit 6818cd4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/models/llama2/TARGETS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ runtime.python_binary(
6565
],
6666
)
6767

68+
runtime.command_alias(
69+
name = "export_llama_qnn",
70+
env = {
71+
"LD_LIBRARY_PATH": "$(location fbsource//third-party/qualcomm/qnn/qnn-2.25:qnn_offline_compile_libs)",
72+
},
73+
exe = ":export_llama",
74+
)
75+
6876
runtime.python_library(
6977
name = "export_library",
7078
srcs = [

0 commit comments

Comments
 (0)