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 dc9fd92 commit c7b6982Copy full SHA for c7b6982
backends/qualcomm/scripts/download_qnn_sdk.py
@@ -440,7 +440,8 @@ def install_qnn_sdk() -> bool:
440
Returns:
441
True if both steps succeeded (or were already satisfied), else False.
442
"""
443
- ok_libc = check_glibc_exist_and_validate()
444
- ok_libcxx = _ensure_libcxx_stack()
445
- ok_qnn = _ensure_qnn_sdk_lib()
446
- return bool(ok_qnn and ok_libcxx and ok_libc)
+ if check_glibc_exist_and_validate():
+ if _ensure_libcxx_stack():
+ if _ensure_qnn_sdk_lib():
+ return True
447
+ return False
0 commit comments