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

Various precompile fixes #49585

Merged
merged 6 commits into from
May 4, 2023

Conversation

IanButterworth
Copy link
Member

  • Precompile @time with a compiling workload, which without it seemed to cause @time to miss compilation in some cases the first time it's used (hard to repro)
  • Fix reporting of broken precompile directives in generate_precompile
  • Add the varargs version of Base.recursive_prefs_merge given it's on the list but the varargs version will be hit if you have local preferences
  • Precompile @time_imports just in case

if precompile(ps...)
n_succeeded += 1
else
@warn "Failed to precompile expression" form=statement _module=nothing _file=nothing _line=0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much noise does this generate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 failures locally so none currently. That's why I was thinking it would be good to have it be noisy

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KristofferC KristofferC marked this pull request as ready for review May 4, 2023 10:07
@KristofferC KristofferC merged commit 425389e into JuliaLang:master May 4, 2023
@IanButterworth IanButterworth deleted the ib/precompile_fixes branch May 4, 2023 13:08
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

Successfully merging this pull request may close these issues.

3 participants