-
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
Bazel needlessly downloads un-select()'d external deps #1482
Comments
Unfortunately, the WORKSPACE file is evaluated before |
@jart is creating a |
I can employ that workaround. Thank you. |
@kchodorow Curious whether you would see using |
It's hard to say. I think the select solution is already ugly. I do however wish it did the right thing. I'm not sure how I'm going to use |
I see it as a workaround, but probably a long-term one. I think we do need to "fix" select (or something like it) to be usable from the WORKSPACE file. Maybe as we make it easier to define a "platform" this will work itself out. |
Having select() work from a workspace file would be awesome. On Thu, Jul 7, 2016 at 9:52 AM, Kristina [email protected] wrote:
|
This has come up before, I filed #1485 as a general FR. |
Assume I have the following:
Bazel will download
@clang_macosx
even if I'm Linux, and vice versa. This forces Linux users to pay the price of an additional 139MB download + disk space that they don't need.It would be nice if Bazel was smart enough to not take into consideration references to external dependencies, within
select()
clauses that aren't selected.The text was updated successfully, but these errors were encountered: