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

[develop2] test for relocatable toolchains #13169

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Feb 20, 2023

Changelog: omit
Docs: omit

Close #5059

This test allows:

  • To create relocatable toolchain packages
  • A relocatable toolchain package requires some customization in every machine, that would break immutability
  • We an use a base immutable package with the heavy bits, that take long to build
  • Another package tool_requires this one, and uses build_policy="missing" and upload_policy="skip" to avoid uploading, and to build it when necessary, in a transparent way
  • This other package implements in its package() or build() or both the necessary customizations to the current machine, copying from the other package what it needs

@memsharded memsharded added this to the 2.0 milestone Feb 20, 2023
@memsharded memsharded requested a review from AbrilRBS February 20, 2023 18:38
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also TIL that you can specify upload_policy!

@memsharded memsharded merged commit da56e96 into conan-io:develop2 Feb 20, 2023
@memsharded memsharded deleted the test/develop2_relocatable_toolchain branch February 20, 2023 22:52
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.

4 participants