Skip to content

Commit

Permalink
also abspath the precompile execution file (JuliaLang#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Feb 25, 2020
1 parent 4611a79 commit 3061935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PackageCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ function create_sysimage(packages::Union{Symbol, Vector{Symbol}}=Symbol[];
base_sysimage::Union{Nothing, String}=nothing,
isapp::Bool=false)
precompile_statements_file = abspath.(precompile_statements_file)
precompile_execution_file = abspath.(precompile_execution_file)
if replace_default==true
if sysimage_path !== nothing
error("cannot specify `sysimage_path` when `replace_default` is `true`")
Expand Down Expand Up @@ -573,6 +574,7 @@ function create_app(package_dir::String,
force=false,
cpu_target::String=default_app_cpu_target())
precompile_statements_file = abspath.(precompile_statements_file)
precompile_execution_file = abspath.(precompile_execution_file)
package_dir = abspath(package_dir)
ctx = create_pkg_context(package_dir)
if isempty(ctx.env.manifest)
Expand Down

0 comments on commit 3061935

Please sign in to comment.