-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
label_flag cannot refer to a platform #25440
Comments
Hmm, interesting. The core problem is technical: when the target What you really need is to resolve the I'm not sure this is something Bazel can easily do automatically, the core issue is that the ordering of analysis is backwards in your example. |
I can definitely modify |
You probably don't even need a |
Whether I use a |
That doesn't seem right, could you post your code? |
@fmeum sure, here's the
and
Then
See how in the transition impl, only the label name is available, not the value. There's no way to get providers here either |
Oh, I see. Does |
Description of the bug:
When attempting to use
label_flag
to select aplatform
via a command-line flag, the following error occurs:Which category does this issue belong to?
Configurability
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
To support microcontroller packages with multiple cores, we can pass the platform for the primary/startup core on the command line with
--platforms
; but can't make the platform for the secondary/co-processor core configurable in the same way:Would like to be able to build with:
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 8.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: