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

Support package variants for dev packages #802

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

TimoWilken
Copy link
Contributor

@TimoWilken TimoWilken commented Oct 9, 2023

Support package variants for dev packages

This allows compiling development packages partially (e.g. using a
non-standard CMake target) to save time when developing locally.

It also allows packages to depend on "variants" of other packages, e.g.
O2Physics -> O2#Analysis and O2sim -> O2#Simulation. aliBuild merges variants
if multiple are required, e.g. aliBuild build O2sim O2Physics in the above
case would build O2 with ALIBUILD_BUILD_VARIANT=Analysis,Simulation. "Full"
builds (no variants) always take precedence, and are the only possible
behaviour for non-development packages (e.g. to allow reusing tarballs as
before, and to avoid heisenbugs in CI).

This allows compiling development packages partially (e.g. using a
non-standard CMake target) to save time when developing locally.

It also allows packages to depend on "variants" of other packages, e.g.
O2Physics -> O2#Analysis and O2sim -> O2#Simulation. aliBuild merges variants
if multiple are required, e.g. aliBuild build O2sim O2Physics in the above
case would build O2 with ALIBUILD_BUILD_VARIANT=Analysis,Simulation. "Full"
builds (no variants) always take precedence, and are the only possible
behaviour for non-development packages (e.g. to allow reusing tarballs as
before, and to avoid heisenbugs in CI).
@TimoWilken TimoWilken requested a review from ktf October 9, 2023 16:18
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