-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Pkg3: OS-specific dependency support #28193
Comments
Not doing this for 0.7/1.0—see this comment on the upstream issue. |
Good, I really think that's the right decision. |
Did you read my linked comment before throwing a confused face on there, @ararslan? |
I did. |
Ok then. |
A bad decision. This is really a basic piece of functionality for a package manager. Its stupid not to have it in 1.0 version. Who can afford to support three operating systems? I don't have a Mac, and just buying one because I want to develop Julia packages is a bit expensive. |
I'm not sure where you're getting the idea that you need to buy a Mac. Nobody is forcing you to do that. All this is "forcing" you to do is install the |
Well, this issue is about OS-specific dependency support. Without this I think I have to support at least three OS. Ok, you say there is a work-around that makes it also possible not to do that. But this doesn't sound like a clean solution to me. It makes me feel very uneasy. |
What is the specific thing you think this decision is forcing you to do? |
It forces me to think about the compatibility of my packages with Windows and Mac even if I want to release them for Linux only first. |
It’s a very clean solution. If you are developing a non-OS specific
package, you literally don’t have to do anything.
If you are developing an OS-specific package, all you have to do is detect
the OS in your `deps/build.jl` file - e.g. if you have a Linux-specific
package, wrap your build code inside an `if is_linux() ... end``` block,
and then `build.jl` will do nothing on non-Linux systems.
|
Thanks for your explanations. Lets see how that works in practice. |
JuliaLang/Pkg.jl#165
The text was updated successfully, but these errors were encountered: