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

fail to load modules if precompilation fails #12723

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

stevengj
Copy link
Member

This fixes #12720: if precompilation fails for any reason, we should fail to load the module, even if an otherwise-valid (but stale) .ji file exists.

@stevengj stevengj added the compiler:precompilation Precompilation of modules label Aug 21, 2015
stevengj added a commit to stevengj/julia that referenced this pull request Aug 21, 2015
…d .ji files should be considered stale if the module is no longer found at the same path
@stevengj
Copy link
Member Author

Seems to be hanging on Windows? @tkelman, any clue on what might be going on here?

@tkelman
Copy link
Contributor

tkelman commented Aug 21, 2015

possibly having to do with the redirection, same as in #12519

@stevengj
Copy link
Member Author

Ah, okay, I'll eliminate the redirection and wait for #12519 to resolve that problem on Windows.

@JeffBezanson
Copy link
Sponsor Member

+1. Ok to merge? Unfortunately looks like it will conflict with #12725.

stevengj added a commit that referenced this pull request Aug 21, 2015
fail to load modules if precompilation fails
@stevengj stevengj merged commit e7dc17d into JuliaLang:master Aug 21, 2015
@stevengj stevengj deleted the detect_precompile_errors branch August 21, 2015 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:precompilation Precompilation of modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

*.ji file unchanged after re-precompilation failed
3 participants