Skip to content

Commit 063d3c8

Browse files
committed
patch glibc check one more place
1 parent bedaadb commit 063d3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/qualcomm/scripts/download_qnn_sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def check_glibc_exist() -> bool:
5151
if not exists:
5252
logger.error(
5353
r""""
54-
glibc not found. Please install glibc following the commands below.
54+
[QNN] glibc not found. Please install glibc following the commands below.
5555
Ubuntu/Debian:
5656
sudo apt update
5757
sudo apt install libc6
@@ -144,7 +144,7 @@ def _download_qnn_sdk(dst_folder=SDK_DIR) -> Optional[pathlib.Path]:
144144
)
145145
QAIRT_CONTENT_DIR = f"qairt/{QNN_VERSION}"
146146

147-
if not is_linux_x86():
147+
if not is_linux_x86() and not check_glibc_exist():
148148
logger.info("Skipping Qualcomm SDK (only supported on Linux x86).")
149149
return None
150150
else:

0 commit comments

Comments
 (0)