Skip to content

Commit f6a9946

Browse files
committed
format
1 parent aefe79b commit f6a9946

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

compiler-rt/test/lit.common.cfg.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,8 +730,8 @@ def get_macos_aligned_version(macos_vers):
730730
try:
731731
sout, _ = cmd.communicate(b"#include <features.h>")
732732
m = dict(re.findall(r"#define (__GLIBC__|__GLIBC_MINOR__) (\d+)", str(sout)))
733-
major = int(m['__GLIBC__'])
734-
minor = int(m['__GLIBC_MINOR__'])
733+
major = int(m["__GLIBC__"])
734+
minor = int(m["__GLIBC_MINOR__"])
735735
any_glibc = False
736736
for required in [
737737
(2, 19),
@@ -745,7 +745,9 @@ def get_macos_aligned_version(macos_vers):
745745
]:
746746
if (major, minor) >= required:
747747
(required_major, required_minor) = required
748-
config.available_features.add(f"glibc-{required_major}.{required_minor}")
748+
config.available_features.add(
749+
f"glibc-{required_major}.{required_minor}"
750+
)
749751
any_glibc = True
750752
if any_glibc:
751753
config.available_features.add("glibc")

0 commit comments

Comments
 (0)