Skip to content
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

Mac binary distribution packages #3987

Closed
staticfloat opened this issue Aug 8, 2013 · 12 comments
Closed

Mac binary distribution packages #3987

staticfloat opened this issue Aug 8, 2013 · 12 comments
Labels
building Build system, or building Julia or its dependencies system:mac Affects only macOS

Comments

@staticfloat
Copy link
Member

Back in the olden days (e.g. before the recent rewrite of BinDeps for Pkg2) I bundled Winston and dependencies with the OSX binaries. This was because we wanted to avoid forcing users to compile Cairo, etc. just to plot out some lines.

Taking a look at it now, it seems we've got much more bulletproof system integration, so do I still need to do this? Furthermore, are there other packages I should be bundling that I'm not?

@ViralBShah
Copy link
Member

I think we should bundle common binary libs such as sundials, hdf5, glpk, clp, and nlopt. Let users pick up the corresponding julia packages through Pkg.

@mlubin
Copy link
Member

mlubin commented Aug 8, 2013

It would be great to bundle glpk and clp, but glpk is currently blocked by #3342 (jump-dev/GLPK.jl#3), and clp has a GPL-incompatible license (EPL), so someone with more experience than me should decide if it's ok to distribute together with the other GPL libraries used by Julia.

@ViralBShah
Copy link
Member

Debian distributes CLP. I think we should be fine.

http://packages.debian.org/search?keywords=clp

@mlubin
Copy link
Member

mlubin commented Aug 8, 2013

I have to some patches to CLP/CoinMP which might be slightly objectionable to put in homebrew-science. Would the bundling system work if I provided a custom .rb file?

@staticfloat
Copy link
Member Author

Yes, we could make it work.
-E

On Thu, Aug 8, 2013 at 4:43 PM, Miles Lubin notifications@github.comwrote:

I have to some patches to CLP/CoinMP which might be slightly objectionable
to put in homebrew-science. Would the bundling system work if I provided a
custom .rb file?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3987#issuecomment-22366561
.

@mlubin
Copy link
Member

mlubin commented Aug 11, 2013

I've put up a formula for coinmp (includes CLP and CBC, for linear and mixed-integer optimization) at https://github.com/mlubin/homebrew-coin/blob/master/coinmp.rb. It would be great to have this in the OS X distribution (so linprog and JuMP will work out of the box). If you're bundling these (or any) libraries, please note the copyrights and licenses somewhere in the distribution.

@mlubin
Copy link
Member

mlubin commented Aug 20, 2013

GLPK is now compatible with homebrew, so I'd recommend bundling this as well. @carlobaldassi

@lsorber
Copy link

lsorber commented Aug 22, 2013

+1 for CLP/CBC and GLPK in the OS X distribution.

@ViralBShah
Copy link
Member

@staticfloat Do you think that on the build machine, we can set things up so that brew installs the binaries in the julia installation directory? That way, we can just rewrite the library dependency paths, and bundle up the whole thing for distribution. Over time, we can add more brew packages too - and there can even be the basic and supercharged batteries version available for download.

@mlubin
Copy link
Member

mlubin commented Aug 22, 2013

Eventually we should have a more automated system to build OS X binaries for packages, which would be a bit more scalable than trying to include anything you might want in the Julia binary distribution itself. In the near future though (for 0.2 at least), it would definitely be convenient to have these packages bundled.

@staticfloat
Copy link
Member Author

I've written a Homebrew.jl package which addresses this issue pretty directly. It's not ready for prime-time yet, but discussion and bottle requests should go over there.

@ViralBShah
Copy link
Member

Great idea to have a Hombrew.jl package!

IanButterworth pushed a commit that referenced this issue Aug 9, 2024
…1a6e8 (#55437)

Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: release-1.10
Julia branch: backports-release-1.10
Old commit: 9cb6d35f8
New commit: 45521a6e8
Julia version: 1.10.4
Pkg version: 1.10.0(Does not match)
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@9cb6d35...45521a6

```
$ git log --oneline 9cb6d35f8..45521a6e8
45521a6e8 backport extension dependency modeling from Base 1.11 to Pkg 1.10 (#3986)
1810b1123 don't swallow internal errors (#3987)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:mac Affects only macOS
Projects
None yet
Development

No branches or pull requests

4 participants