-
Notifications
You must be signed in to change notification settings - Fork 16
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
disable autoprecompile by default #26
disable autoprecompile by default #26
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #26 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 2 2
=========================================
Hits 2 2 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@SaschaMann if this requires your sign off, the thread here has more context JuliaLang/Pkg.jl#3281 |
Do you happen to know a scenario where this could be breaking? I'm fine with merging it as it is though. |
I don't think so. This step promises to build the package, the fact it autoprecompiled wasn't really within the spec I think |
FWIW this did actually cause breakage in some internal code for us but in a VERY specific way: during CI, a different project is instantiated (with test dependencies), and that gets precompiled during |
All of which is to say https://xkcd.com/1172/ |
With native code caching incoming, doing (auto)precompilation at this stage of CI is suboptimal because the native caches will be generated for a julia setup that doesn't match the test julia setup i.e. bounds checking. which would cause precompilation in this step and in a following
julia-runtest
step.This disables auto-precompilation here, but exposes it as an option to re-enable.
My hope here is that we can release this as a non-breaking change so we can avoid a load more unnecessary precompilation once native caching lands.