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

julia: copy collected suitesparse libraries into julia's private lib #47

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion julia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,16 @@ def install

# Install!
system "make", "install", *build_opts
['amd', 'cholmod', 'colamd', 'spqr', 'umfpack'].each do |sslib|
cp "usr/lib/lib#{sslib}.dylib", "#{lib}/julia"
end

# Add in rpath's into the julia executables so that they can find the homebrew lib folder,
# as well as any keg-only libraries that they need.
rpaths = []

# Only add in openblas if we're not using accelerate
rpathFormulae = [arpack, suitesparse]
rpathFormulae = [arpack]
rpathFormulae << openblas if !build.include? 'with-accelerate'

# Add in each formula to the rpaths list
Expand Down