-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We already use extensive toolchain transitions to handle our various compilation_modes. It looks like this is not enough anymore.
Our current approach is limited in the following ways:
- We cannot create dynamic libraries in the bootstrap toolchain as linking is not supported there. This means that we can't provide builds for dynamic libc++ and friends.
- We cannot use
ll_binarytools in genrules since that requires thell_binaryto be inexecconfiguration. We need some way to transition from thecompilation_mode-specifictargetconfigurations to anexecconfiguration. This is not supported at the moment.
We need to be careful that opening the toolchains up to handle such cases only leads to excessive rebuilds when absolutely necessary. Otherwise users may end up building LLVM several times just to get a trivial ll_binary working in a genrule. We may also need better platform support to tackle this elegantly.
Things work at the moment because we can fall back to rules_cc for exec tools. This is a very undesirable limitation of the current implementation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request