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 shortcutting builds #5176

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

Allow shortcutting builds #5176

wants to merge 1 commit into from

Conversation

ktf
Copy link
Member

@ktf ktf commented Oct 8, 2023

This shows how the alibuild-variant-support package could be used to e.g. speed up builds of O2Physics tutorials by only building the Tutorials/install target, rather than the whole package.

This shows how the alibuild-variant-support package could be used
to e.g. speed up builds of O2Physics tutorials by only building the
Tutorials/install target, rather than the whole package.
@ktf ktf requested a review from a team as a code owner October 8, 2023 12:47
@ktf
Copy link
Member Author

ktf commented Oct 8, 2023

@aalkin @TimoWilken this is what I think I was mentioning last week / in the past.

Right now it would only work with:

ALIBUILD_BUILD_VARIANT=tutorial aliBuild build O2Physics --defaults o2 --debug

but it would be cool to have support in aliBuild so that one could do:

aliBuild build O2Physics#tutorials --defaults o2 --debug

with the "#tutorial" being stripped to determine the package name, yet inserted in the develHash, so that if one drops it, it rebuilds the development package without need to cleanup.

@awegrzyn
Copy link
Contributor

Are there any docs on how to use ALIBUILD_BUILD_VARIANT? It seems like interesting feature.

@ktf
Copy link
Member Author

ktf commented Oct 12, 2023

not yet, we are still developing the idea. we could brainstorm things a bit together though, since indeed you / FLP was one of the customers I had in mind for such a feature.

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.

None yet

2 participants