File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ fbcode_target(_kind = runtime.python_test,
6464 srcs = [
6565 "test_passes.py" ,
6666 ],
67+ env = {} if runtime .is_oss else {
68+ "LD_LIBRARY_PATH" : "$(location fbsource//third-party/qualcomm/qnn/qnn-{0}:qnn_offline_compile_libs)" .format (get_qnn_library_version ()),
69+ "QNN_SDK_ROOT" : "$(location fbsource//third-party/qualcomm/qnn/qnn-{0}:__dir__)" .format (get_qnn_library_version ()),
70+ },
6771 deps = [
6872 ":models" ,
6973 "fbsource//third-party/pypi/expecttest:expecttest" , # @manual
@@ -77,6 +81,7 @@ fbcode_target(_kind = runtime.python_test,
7781 "//executorch/backends/qualcomm/builders:builders" ,
7882 ] + ([] if runtime .is_oss else [
7983 # These deps fail in OSS: keep_gpu_sections kwarg breaks TARGETS evaluation
84+ "//executorch/devtools:lib" ,
8085 "//executorch/examples/models/llama:transformer_modules" ,
8186 "//executorch/examples/qualcomm/oss_scripts/llama:masking_utils" ,
8287 "//executorch/examples/qualcomm/oss_scripts/llama:static_llama" ,
You can’t perform that action at this time.
0 commit comments