-
Notifications
You must be signed in to change notification settings - Fork 19
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
Opt out of precompilation #268
Comments
There is currently no way to opt out of that at a package level.
It does: Lines 507 to 536 in ff138cf
Every build of Julia invalidates this cache though, as there's no guarantee compilation caches work across Julia commits. |
Okay, thanks. Do you see an alternative solution? If not, is this something that would be interesting to add? And how difficult would it be?
Okay, sorry, I did not check this. Makes sense. I do not want to push, just trying to find a solution :) |
That feels like a rather ugly way to accomplish this.
No, we test against a single version, so every version of every package only has to be precompiled once. I only meant to say that the precompilation cache doesn't persist across nightly evaluations. Although this seems like a potentially useful feature, or at least the more general mechanism of packages providing information (such as test flags, or whether to skip the package altogether), I'm not sure it's so valuable to be able to disable precompilation. It will result in collected run times to be incorrect, and we use that data to spot regressions, so I don't think I want to make it possible to do so. Also, how much of a problem is this with your package? Does it time out right now? |
Makes sense. Thanks for explaining.
Yes, typically it does (and I see this happening only recently). At the time of writing, the latest run actually finished.
It is not a problem per se, technically only a red PkgEval badge. But of course it would be nice to learn when something breaks on the nightly build. We still use |
I'm not sure. Maybe @KristofferC has some thoughts (on this, or on the general question of skipping precompilation for test deps PkgEval doesn't need). |
Is there a way to deactivate precompilation of all test dependencies?
I have a use case where a package has lots of optional dependencies that are pretty heavy to precompile (and PkgEval does not seem to use a cache). I am already defining cheaper tests via the environment variable
JULIA_PKGEVAL
such that those optional packages are not used in the tests. But the timeout hits even before running the tests because all those optional packages get precompiled first.The text was updated successfully, but these errors were encountered: