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

Allow certain denpendencies to be excluded for sysimg #673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhubonan
Copy link
Contributor

It is possible for a package to depend on more than it needs, for eaxmple, to allow switching backends at run time. One example is the FFTW.jl.

In some cases, it is desirable to exclude certain dependencies to avoid downloading or shipping with shipping artifacts that are not needed for an app (e.g. the MKL_jll.jl which FFTW.jl depends on, but not used by default).

Potentially fix #639, where the unused package with lazy artifact can be explicitly excluded for building system image/app.

It is possible for a package to depend on more than it needs at
runtime, for eaxmple, to allow switching backends. In some cases,
it is desirable to exclude certain dependencies to avoid downloading
or shipping with shipping artifacts that are not needed for an app.
@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #673 (61b647e) into master (6a3bdcc) will decrease coverage by 0.19%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #673      +/-   ##
==========================================
- Coverage   95.25%   95.06%   -0.20%     
==========================================
  Files           2        2              
  Lines         464      466       +2     
==========================================
+ Hits          442      443       +1     
- Misses         22       23       +1     
Impacted Files Coverage Δ
src/PackageCompiler.jl 95.50% <66.66%> (-0.22%) ⬇️

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 6a3bdcc...61b647e. 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.

Lazy downloading artifacts with custom sysimage
1 participant