File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
backends/qualcomm/scripts Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,6 @@ def _download_qnn_sdk(dst_folder=SDK_DIR) -> Optional[pathlib.Path]:
178178 if not is_linux_x86 ():
179179 logger .info ("[QNN] Skipping Qualcomm SDK (only supported on Linux x86)." )
180180 return None
181- elif not check_glibc_exist_and_validate ():
182- logger .info ("[QNN] Skipping Qualcomm SDK (glibc not found or version too old)." )
183- return None
184181 else :
185182 logger .info ("[QNN] Downloading Qualcomm SDK for Linux x86" )
186183
@@ -437,8 +434,7 @@ def install_qnn_sdk() -> bool:
437434 Returns:
438435 True if both steps succeeded (or were already satisfied), else False.
439436 """
440- if check_glibc_exist_and_validate ():
441- if _ensure_libcxx_stack ():
442- if _ensure_qnn_sdk_lib ():
443- return True
437+ if _ensure_libcxx_stack ():
438+ if _ensure_qnn_sdk_lib ():
439+ return True
444440 return False
Original file line number Diff line number Diff line change @@ -467,11 +467,10 @@ def run(self):
467467 # Following code is for building the Qualcomm backend.
468468 from backends .qualcomm .scripts .download_qnn_sdk import (
469469 _download_qnn_sdk ,
470- check_glibc_exist_and_validate ,
471470 is_linux_x86 ,
472471 )
473472
474- if is_linux_x86 () and check_glibc_exist_and_validate () :
473+ if is_linux_x86 ():
475474 os .environ ["EXECUTORCH_BUILDING_WHEEL" ] = "1"
476475
477476 with tempfile .TemporaryDirectory () as tmpdir :
You can’t perform that action at this time.
0 commit comments