Skip to content

Commit

Permalink
Merge pull request #20 from JuliaLinearAlgebra/an/error
Browse files Browse the repository at this point in the history
Provide a better error message when the build has failed
  • Loading branch information
andreasnoack committed Jul 10, 2018
2 parents 7461c3a + e33b95a commit 4294759
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Arpack.jl
Expand Up @@ -7,7 +7,16 @@ Arnoldi and Lanczos iteration for computing eigenvalues
"""
module Arpack

include("../deps/deps.jl")
if isfile("../deps/deps.jl")
include("../deps/deps.jl")
else
throw(ErrorException("""
No deps.jl file could be found. Please try running Pkg.build("Arpack").
Currently, the build command might fail when Julia has been built from source
and the recommendation is to use the official binaries from julialang.org.
For more info see https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5.
"""))
end

using LinearAlgebra: BlasFloat, BlasInt, Diagonal, I, SVD, UniformScaling,
checksquare, factorize,ishermitian, issymmetric, mul!,
Expand Down

0 comments on commit 4294759

Please sign in to comment.