[compiler-rt] [Apple][NFC] Update macOS aligned version for lit config (PR #143576)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 11:23:48 PDT 2025
https://github.com/thetruestblue updated https://github.com/llvm/llvm-project/pull/143576
>From 44164fb1b34a62e2cff19ed8281402c9977fc574 Mon Sep 17 00:00:00 2001
From: thetruestblue <bgaston2 at apple.com>
Date: Tue, 10 Jun 2025 10:21:47 -0700
Subject: [PATCH] [Apple][NFC] Update macOS aligned version for lit config
This updates the aligned version for version 26.
rdar://152851947
---
compiler-rt/test/lit.common.cfg.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 877718c703ba7..a82ce77b7a3da 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -602,12 +602,12 @@ def get_ios_commands_dir():
def get_macos_aligned_version(macos_vers):
platform = config.apple_platform
- if platform == "osx":
+ macos_major, macos_minor = macos_vers
+
+ if platform == "osx" or macos_major >= 26:
return macos_vers
- macos_major, macos_minor = macos_vers
assert macos_major >= 10
-
if macos_major == 10: # macOS 10.x
major = macos_minor
minor = 0
More information about the llvm-commits
mailing list