This avoids a potential source of subtle errors if an older version of
Clang were to be used with a multilib.yaml that requires a newer Clang
to work correctly.
This feature is comparable to CMake's cmake_minimum_required.
Paths
| Differential D143763
[Clang] Add clangMinimumVersion to multilib.yaml AbandonedPublic Authored by michaelplatings on Feb 10 2023, 10:03 AM.
Details
Summary This avoids a potential source of subtle errors if an older version of This feature is comparable to CMake's cmake_minimum_required.
Diff Detail
Event Timelinemichaelplatings added a child revision: D142933: [Driver] Add -print-multi-flags-experimental option. Comment Actions I think this patch can be merged into a previous one that introduces variants and flagMap Comment Actions No objections to MaskRay's suggestion to merge with an earlier patch. I've made some suggestions to make the error messages be a bit more specific about what is wrong.
michaelplatings removed a child revision: D142933: [Driver] Add -print-multi-flags-experimental option.
Revision Contents
Diff 496535 clang/lib/Driver/Multilib.cpp
clang/unittests/Driver/MultilibTest.cpp
|
Perhaps
"missing required key 'clangMinimumVersion' expect MAJOR.MINOR.PATCHLEVEL" to give an idea what the key is expecting?