Hierarchical constraint settings #28877
Replies: 4 comments 13 replies
|
I think all of my suggestions went into the original discussion and PR. The main point (which @fmeum has already added) is that this needs to be very explicit, even if it requires some degree of redundancy on the part of the user: even if (That said, I am slightly unhappy that this example implies both a package and a target named Overall, I approve this design. |
|
I'm not the expert here, but I generally have the need for precise specification of microarchitectures. Namely, we have a special platform for "Linux Intel Haswell" that denotes Linux with Currently, Bazel sees my "Linux Haswell" and "Linux Generic Intel" as totally different and not compatible targets (see my definitions here) |
|
@fmeum Something bothered me in your design proposal, but it wasn't until now I realised how to (potentially) solve it. The suggestion below tries to address the same scope, so I didn't want to create a new discussion thread. Alternative suggestion
Long description
Option 1, no attached Option 2, What about a target that requires a certain minimum version of the Linux kernel to run? Instead of using Option 1: Option 2: This will allow for my target to be defined as Unfortunately, the list of features will just grow over time, so |
|
Here is an example from BCR's OpenCV module that can serve as strong motivation for what this proposal may want to make easier. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is the discussion for the "Hierarchical constraint settings" proposal.
All reactions