Skip to content

Commit 3bbe9c2

Browse files
committed
No need to import glob anymore
1 parent f7e3f1c commit 3bbe9c2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mlir/test/lit.cfg.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ def add_runtime(name):
8484
def get_asan_rtlib():
8585
if not "asan" in config.available_features or not "Darwin" in config.host_os:
8686
return ""
87-
try:
88-
import glob
89-
except:
90-
print("glob module not found, skipping get_asan_rtlib() lookup")
91-
return ""
9287
# Find the asan rt lib
9388
resource_dir = (
9489
subprocess.check_output([config.host_cc.strip(), "-print-resource-dir"])

0 commit comments

Comments
 (0)