Skip to content

Commit 0fe71c1

Browse files
committed
Merge pull request #112034 from bruvzg/mac_clang_check
[macOS] Update clang version check.
2 parents 73bc7fd + bc85da6 commit 0fe71c1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

SConstruct

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -696,17 +696,11 @@ elif methods.using_clang(env):
696696
# Apple LLVM versions differ from upstream LLVM version \o/, compare
697697
# in https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
698698
if methods.is_apple_clang(env):
699-
if cc_version_major < 10:
699+
if cc_version_major < 16:
700700
print_error(
701-
"Detected Apple Clang version older than 10, which does not fully "
702-
"support C++17. Supported versions are Apple Clang 10 and later."
701+
"Detected Apple Clang version older than 16, supported versions are Apple Clang 16 (Xcode 16) and later."
703702
)
704703
Exit(255)
705-
elif env["debug_paths_relative"] and cc_version_major < 12:
706-
print_warning(
707-
"Apple Clang < 12 doesn't support -ffile-prefix-map, disabling `debug_paths_relative` option."
708-
)
709-
env["debug_paths_relative"] = False
710704
else:
711705
if cc_version_major < 6:
712706
print_error(

0 commit comments

Comments
 (0)