File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
backends/qualcomm/scripts Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -181,11 +181,14 @@ def _download_qnn_sdk(dst_folder=SDK_DIR) -> Optional[pathlib.Path]:
181181 )
182182 QAIRT_CONTENT_DIR = f"qairt/{ QNN_VERSION } "
183183
184- if not is_linux_x86 () or not check_glibc_exist_and_validate () :
184+ if not is_linux_x86 ():
185185 logger .info ("Skipping Qualcomm SDK (only supported on Linux x86)." )
186186 return None
187+ elif not check_glibc_exist_and_validate ():
188+ logger .info ("Skipping Qualcomm SDK (glibc not found or version too old)." )
189+ return None
187190 else :
188- logger .info ("Downloading Qualcomm SDK for Linux x86!!!! " )
191+ logger .info ("Downloading Qualcomm SDK for Linux x86" )
189192
190193 dst_folder .mkdir (parents = True , exist_ok = True )
191194
Original file line number Diff line number Diff line change @@ -471,6 +471,9 @@ def run(self):
471471 is_linux_x86 ,
472472 )
473473
474+ print ("runnig check_glibc_exist_and_validate" )
475+ check_glibc_exist_and_validate ()
476+
474477 if is_linux_x86 () and check_glibc_exist_and_validate ():
475478 os .environ ["EXECUTORCH_BUILDING_WHEEL" ] = "1"
476479
You can’t perform that action at this time.
0 commit comments