Skip to content

Commit fc83350

Browse files
committed
remove old callsite
1 parent 3648b30 commit fc83350

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

backends/qualcomm/scripts/download_qnn_sdk.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ def is_linux_x86() -> bool:
3737
)
3838

3939

40+
####################
41+
# qnn sdk download management
42+
####################
43+
44+
4045
def _download_archive(url: str, archive_path: pathlib.Path) -> bool:
4146
"""Download archive from URL with progress reporting."""
4247
logger.debug("Archive will be saved to: %s", archive_path)
@@ -117,9 +122,6 @@ def _download_qnn_sdk(dst_folder=SDK_DIR) -> Optional[pathlib.Path]:
117122
if not is_linux_x86():
118123
logger.info("[QNN] Skipping Qualcomm SDK (only supported on Linux x86).")
119124
return None
120-
elif not check_glibc_exist_and_validate():
121-
logger.info("[QNN] Skipping Qualcomm SDK (glibc not found or version too old).")
122-
return None
123125
else:
124126
logger.info("[QNN] Downloading Qualcomm SDK for Linux x86")
125127

@@ -183,6 +185,7 @@ def _extract_tar(archive_path: pathlib.Path, prefix: str, target_dir: pathlib.Pa
183185
####################
184186
# libc management
185187
####################
188+
186189
GLIBC_VERSION = "2.34"
187190
GLIBC_ROOT = pathlib.Path(f"/tmp/glibc-install-{GLIBC_VERSION}")
188191
GLIBC_LIBDIR = GLIBC_ROOT / "lib"

0 commit comments

Comments
 (0)