We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7521a8 commit d7b7b9cCopy full SHA for d7b7b9c
compiler-rt/test/lit.common.cfg.py
@@ -713,9 +713,9 @@ def add_glibc_versions(ver_string):
713
if config.android:
714
return
715
716
- from packaging.version import Version
+ from distutils.version import LooseVersion
717
718
- ver = Version(ver_string)
+ ver = LooseVersion(ver_string)
719
any_glibc = False
720
for required in [
721
"2.19",
@@ -727,7 +727,7 @@ def add_glibc_versions(ver_string):
727
"2.38",
728
"2.40",
729
]:
730
- if ver >= Version(required):
+ if ver >= LooseVersion(required):
731
config.available_features.add("glibc-" + required)
732
any_glibc = True
733
if any_glibc:
0 commit comments