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

adds back v0.6 support #275

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ matrix:
julia: nightly
os: linux

- language: julia
julia: 0.6
os: osx
- language: julia
julia: 0.7
os: osx
Expand Down
5 changes: 3 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import Compat.Libdl
import Compat.Sys

if Sys.isapple()
deps_file_str = open(joinpath(dirname(pathof(BinDeps)), "dependencies.jl")) do file
bindeps_path = VERSION >= v"0.7" ? joinpath(dirname(pathof(BinDeps)), "dependencies.jl") : joinpath(Pkg.dir("BinDeps"),"src/dependencies.jl")
deps_file_str = open(bindeps_path) do file
read(file, String)
end
if occursin("ZEval",pathof(BinDeps))
if occursin("ZEval",bindeps_path) || VERSION < v"0.7"
patched_dlclose = replace(deps_file_str, "Libdl.dlclose(h)" => "println(\"ignored: dlclose()\")")
include_string(BinDeps,patched_dlclose)
end
Expand Down