File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
backends/qualcomm/scripts Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def check_glibc_exist() -> bool:
4545 """
4646 Check if users have glibc installed.
4747 """
48+ print ("[QNN] Checking glibc exist running on Linux x86" )
4849 paths = ["/lib/x86_64-linux-gnu/libc.so.6" , "/lib64/libc.so.6" , "/lib/libc.so.6" ]
4950
5051 exists = any (os .path .isfile (p ) for p in paths )
@@ -63,6 +64,7 @@ def check_glibc_exist() -> bool:
6364 sudo pacman -S glibc
6465 """
6566 )
67+ print ("[QNN] glibc exists: " , exists )
6668 return exists
6769
6870
@@ -144,7 +146,7 @@ def _download_qnn_sdk(dst_folder=SDK_DIR) -> Optional[pathlib.Path]:
144146 )
145147 QAIRT_CONTENT_DIR = f"qairt/{ QNN_VERSION } "
146148
147- if not is_linux_x86 () and not check_glibc_exist ():
149+ if not is_linux_x86 () or not check_glibc_exist ():
148150 logger .info ("Skipping Qualcomm SDK (only supported on Linux x86)." )
149151 return None
150152 else :
You can’t perform that action at this time.
0 commit comments