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

Suggestion: Do not mark BUILTIN_FILE as a precompilation dependency #271

Closed
wants to merge 1 commit into from

Conversation

tkf
Copy link

@tkf tkf commented Apr 7, 2019

include(BUILTIN_FILE) is problematic because BUILTIN_FILE is recorded as a dependency of the precompilation file. To see the problem, suppose JuliaInterpreter is precompiled for project A and then for project B using the same Julia version. Now importing JuliaInterpreter for project A again triggers precompilation because BUILTIN_FILE is updated by project B.

This is not a major issue in standard Julia environment until JuliaLang/julia#27418 is solved. However, this problem can already be observed in jlm which is a system image manager I wrote to solve the precompilation problem. It would be nice if JuliaInterpreter can go ahead and solve the problem before the precompilation problem is solved in Julia. Let me know if it makes sense to do so or there is a better way to fix it.

@tkf tkf changed the title Do not mark BUILTIN_FILE as a precompilation dependency Suggestion: Do not mark BUILTIN_FILE as a precompilation dependency Apr 7, 2019
@codecov-io
Copy link

Codecov Report

Merging #271 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #271   +/-   ##
======================================
  Coverage    85.6%   85.6%           
======================================
  Files          14      14           
  Lines        2036    2036           
======================================
  Hits         1743    1743           
  Misses        293     293
Impacted Files Coverage Δ
src/JuliaInterpreter.jl 95.45% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50fe1a8...871aafa. Read the comment docs.

1 similar comment
@codecov-io
Copy link

codecov-io commented Apr 7, 2019

Codecov Report

Merging #271 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #271   +/-   ##
======================================
  Coverage    85.6%   85.6%           
======================================
  Files          14      14           
  Lines        2036    2036           
======================================
  Hits         1743    1743           
  Misses        293     293
Impacted Files Coverage Δ
src/JuliaInterpreter.jl 95.45% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50fe1a8...871aafa. Read the comment docs.

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.

2 participants