Skip to content

Commit

Permalink
upgrade syntax for 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Nov 3, 2016
1 parent 2e2a9f7 commit faf794a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ so = "so"
all_load = "--whole-archive"
noall_load = "--no-whole-archive"

@osx_only begin
@static if is_apple()
so = "dylib"
all_load = "-all_load"
noall_load = "-noall_load"
Expand Down Expand Up @@ -55,11 +55,11 @@ libhsl_ma97 = library_dependency("libhsl_ma97", depends=[libblas, liblapack, lib

# Users should place hsl_ma97-2.3.0.tar.gz in ~/.julia/v0.x/HSL/deps/downloads

@unix_only begin
@static if is_unix()
# Set metis_libpath for all Unix platforms.
# TODO: update this when there are more providers.
metis_libpath = joinpath(metis_prefix, "lib")
@osx_only begin
@static if is_apple()
# It's different on OSX because we used Homebrew.
metis_libpath = joinpath(Homebrew.prefix("homebrew/science/metis4"), "lib")
end
Expand Down

0 comments on commit faf794a

Please sign in to comment.