Skip to content

Commit

Permalink
Switch Julia over to LLVM 3.7 for HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jan 7, 2016
1 parent ef0c74e commit e6b8d2d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions julia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class Julia < Formula
sha256 "e1b44905b14191ed5b50ff117df4520f94cb4ed6707a4fad740a262f6bd55d9e" => :mavericks
end

depends_on "staticfloat/julia/llvm33-julia"
if build.head?
depends_on "staticfloat/julia/llvm37-julia"
else
depends_on "staticfloat/julia/llvm33-julia"
end
depends_on "pcre2"
depends_on "gmp"
depends_on "fftw"
Expand Down Expand Up @@ -83,7 +87,11 @@ def install
end

# Tell julia about our llc, since it's been named nonstandardly
build_opts << "LLVM_CONFIG=llvm-config-3.3"
if build.head?
build_opts << "LLVM_CONFIG=llvm-config-3.7"
else
build_opts << "LLVM_CONFIG=llvm-config-3.3"
end

# Make sure we have space to muck around with RPATHS
ENV['LDFLAGS'] += " -headerpad_max_install_names"
Expand Down

2 comments on commit e6b8d2d

@tkelman
Copy link
Collaborator

@tkelman tkelman commented on e6b8d2d Jan 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs bottle info in llvm37 formula?

@staticfloat
Copy link
Owner Author

@staticfloat staticfloat commented on e6b8d2d Jan 7, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.