[all-commits] [llvm/llvm-project] 7ffdf4: [flang][Driver] Enable support for -mmacos-version...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Jun 11 02:21:28 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ffdf4240d62724dca7f42b37bd8671fefe17e17
https://github.com/llvm/llvm-project/commit/7ffdf4240d62724dca7f42b37bd8671fefe17e17
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M clang/include/clang/Driver/Options.td
A flang/test/Driver/darwin-version.f90
Log Message:
-----------
[flang][Driver] Enable support for -mmacos-version-min= (#143508)
So far as I can tell this option is driver-only so we can just re-use
what already exists for clang. I've added a unit test based on clang's
unit test to demonstrate that the option is handled.
Still TODO is to ensure that flang-rt is built with the same macos
minimum version as compiler-rt. At the moment, setting the flang minimum
version to older than the macos version on which flang was built will
lead to link warnings because flangrt is built for version of macos on
which flang was built rather than the oldest supported version (as
compiler-rt is).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list