Skip to content

Commit

Permalink
[libc++] Assume newer LLVM versions for not-yet-released macOS versions
Browse files Browse the repository at this point in the history
This makes the test suite forward-compatible with future versions of macOS.
Previously, the Lit features were built in a way that they would assume
that any newer macOS version doesn't contain any version of LLVM, which
doesn't make sense.
  • Loading branch information
ldionne committed Jul 6, 2024
1 parent 57b76b4 commit 6e4bb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/utils/libcxx/test/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def check_gdb(cfg):
Feature(
name="_target-has-llvm-17",
when=lambda cfg: BooleanExpression.evaluate(
"target={{.+}}-apple-macosx{{14.[4-9](.0)?}}",
"target={{.+}}-apple-macosx{{14.[4-9](.0)?}} || target={{.+}}-apple-macosx{{1[5-9]([.].+)?}}",
cfg.available_features,
),
),
Expand Down

0 comments on commit 6e4bb60

Please sign in to comment.