You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you use Overrides.toml to point Julia to a custom artifact Pkg will still eagerly download the original artifact and then just not use it afterwards.
Example: IntelOpenMP_jll:
Overrides.toml
[1d5cc7b8-4909-519e-a0f8-d0f5ad9712d0]
IntelOpenMP = "/path/to/my/custom/artifact/"# contains lib/libiomp5.so and lib/libiompstubs5.so
➜ bauerc@ln-0001 .julia/artifacts ls
947793e42b663bacd09f00d96aa96a47095f3b1c Overrides.toml
➜ bauerc@ln-0001 .julia/artifacts cd 947793e42b663bacd09f00d96aa96a47095f3b1c/lib/; ls
libiomp5.so libiompstubs5.so
If an artifact is marked as lazy = true the unnecessary download of the original artifact doesn't happen, as desired. For example, MKL_jll.jl is lazy.
Desired behaviour:
IMO, if an artifact is overwritten in an Overrides.toml, the original artifact should not be downloaded. Is there something we can do about this?
The text was updated successfully, but these errors were encountered:
I have encountered interest in this feature downstream. This would make the option to use conda-forge dependencies easier, for example, which may be necessary in cases where cross-compilation is not available or when interop is paramount.
I thought Artifacts was moving from to Julia proper and out of Pkg.jl. Is this is the right place to have this issue?
Came up over at MKL.jl here.
Currently, if you use
Overrides.toml
to point Julia to a custom artifact Pkg will still eagerly download the original artifact and then just not use it afterwards.Example:
IntelOpenMP_jll
:Overrides.toml
Pkg still downloads the original artifact:
But doesn't use it (that's desired of course 😄):
Doesn't happen for
lazy
artifactsIf an artifact is marked as
lazy = true
the unnecessary download of the original artifact doesn't happen, as desired. For example,MKL_jll.jl
is lazy.Desired behaviour:
IMO, if an artifact is overwritten in an
Overrides.toml
, the original artifact should not be downloaded. Is there something we can do about this?The text was updated successfully, but these errors were encountered: