I’ve created a new stack of changes taking into account the feedback I received on ⚙ D140959 RFC: Multilib prototype. Unlike that change which was strictly a prototype, the new changes should be suitable for detailed review and hopefully approval.
- ⚙ D142878 Add testing for Fuchsia multilib - Add testing for Fuchsia multilib
- ⚙ D142893 [NFC] Class for building MultilibSet - Class for building MultilibSet
- ⚙ D142905 [Driver] Change multilib selection algorithm - Change multilib selection algorithm
- ⚙ D142932 Multilib YAML parsing - Multilib YAML parsing
- ⚙ D142933 [Driver] Add -print-multi-flags-experimental option - Add -print-multi-selection-flags argument
- ⚙ D142986 Enable multilib.yaml in the BareMetal ToolChain - Enable multilib.yaml in the BareMetal ToolChain
The patches I’m most interested to get feedback on are Multilib YAML parsing and Add -print-multi-selection-flags argument because they define a new stable APIs for Clang, so mistakes will be costly to fix later.
I will update the prototype to not use
--sysroot
but instead use-isystem
and-L
for all matching variants.
I haven’t done this but I am working on adding further patches to the stack to achieve the layering effect in the BareMetal ToolChain.