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

Is Revise forcing my dev-ed package to precompile each session even when no changes? #206

Closed
IanButterworth opened this issue Nov 13, 2018 · 8 comments

Comments

@IanButterworth
Copy link
Contributor

IanButterworth commented Nov 13, 2018

A package I’m develop-ing precompiles every time I start a new session irrespective of if any changes took place. I’m using Revise.jl, is that perhaps forcing re-precompillation?

(I have also tried to force precompillation off with __precompile__(false) which still results in precompillation, which I think might be a known bug)

@IanButterworth
Copy link
Contributor Author

This doesn't seem to be caused by Revise so I'm closing it, but I'm not sure how to resolve this issue

@timholy
Copy link
Owner

timholy commented Nov 13, 2018

Only thing I can think of: make sure all your dependencies are declared in Project.toml or REQUIRE and then make sure you call pkg> resolve in your primary environment.

@timholy
Copy link
Owner

timholy commented Nov 13, 2018

Another possibility: does it use a package that declares __precompile__(false)?

@IanButterworth
Copy link
Contributor Author

IanButterworth commented Nov 13, 2018

All dependencies are declared in Project.toml and pkg> resolve claims nothing to update.

The package does declare __precompile__(false) but it precompiles repeatedly when no change for both __precompile__(false) and __precompile__(true)

It's worth saying that I have VideoIO.jl as a dependency, which also gets repeatedly precompiled each time also.

@timholy
Copy link
Owner

timholy commented Nov 14, 2018

What's your Julia version? I believe this was a bug fixed in 1.0.1 or 1.0.2.

@IanButterworth
Copy link
Contributor Author

IanButterworth commented Nov 14, 2018

I see this in both 1.0.2 and 1.1.0-DEV.655 (2018-11-13)
On OSX

@timholy
Copy link
Owner

timholy commented Nov 14, 2018

Please report as a Julia bug.

@IanButterworth
Copy link
Contributor Author

Ok I just commented on JuliaLang/julia#28384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants