Skip to content

All infrastructure to allow Pkg to download all Artifacts#43484

Closed
vchuravy wants to merge 1 commit into
masterfrom
vc/platform_tags
Closed

All infrastructure to allow Pkg to download all Artifacts#43484
vchuravy wants to merge 1 commit into
masterfrom
vc/platform_tags

Conversation

@vchuravy

Copy link
Copy Markdown
Member

In working on custom platform tags in BinaryBuilder and JLLWrappers I run into the following show-stopper.
Currently Pkg uses artifact_meta to find the one artifact it is supposed to be downloading for this platform.
Since Pkg does not know anything about the augmented platform it picks one of them (effictivly at random).

See JuliaPackaging/JLLWrappers.jl#35 (comment) and the failing CI there for an example.
The artifacts for LAMMPS_jll have a custom tag, describing the MPI abi and uses the augment_platform! to choose which of the
wrapper to target.

I think we have to be conservative and actually download all of them.

@vchuravy vchuravy added backport 1.6 Change should be backported to release-1.6 backport 1.7 labels Dec 19, 2021
@vchuravy vchuravy requested a review from staticfloat December 19, 2021 19:57
@vchuravy

Copy link
Copy Markdown
Member Author

@staticfloat told me that I am barking up the wrong tree.

@vchuravy vchuravy closed this Dec 19, 2021
@vchuravy vchuravy deleted the vc/platform_tags branch December 19, 2021 20:29
@KristofferC KristofferC removed backport 1.6 Change should be backported to release-1.6 backport 1.7 labels Jan 5, 2022
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