Skip to content

Commit

Permalink
disable autoprecomp during app instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Dec 12, 2020
1 parent 4294021 commit ca30fd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/PackageCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,11 @@ function create_app(package_dir::String,
precompile_execution_file = abspath.(precompile_execution_file)
package_dir = abspath(package_dir)
ctx = create_pkg_context(package_dir)
Pkg.instantiate(ctx)
if VERSION >= v"1.6.0-DEV.1673"
Pkg.instantiate(ctx, allow_autoprecomp = false)
else
Pkg.instantiate(ctx)
end
if isempty(ctx.env.manifest)
@warn "it is not recommended to create an app without a preexisting manifest"
end
Expand Down

0 comments on commit ca30fd7

Please sign in to comment.