-
Notifications
You must be signed in to change notification settings - Fork 45
Add config_settings for platforms #179
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
Conversation
looking for feedback, not sure if we should do this or not, but i figured i'd submit for discussion (right now it's missing many cpus) |
I've replicated something similar into a couple different projects already, so a single canonical list seems like a great idea 👍 |
Can you share what you have for this so we make sure we cover it? |
|
I am about to add this one to [
config_setting(
name = type,
values = {"apple_platform_type": type},
)
for type in [
"ios",
"macos",
"tvos",
"watchos",
]
] |
This is a common pattern you need to select on. Since we have a limited set of CPUs it's nice to provide a source of truth for this type of thing
3e3c9dd
to
06da8c4
Compare
ok i added those constraints here except for the apple_platform_type one. i don't feel strongly but i feel like we should leave that out since ideally things moves towards platforms instead and we don't rely on that as much going forward. but happy to add if folks think we should |
This is a common pattern you need to select on. Since we have a limited
set of CPUs it's nice to provide a source of truth for this type of
thing