-
Notifications
You must be signed in to change notification settings - Fork 46
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
Environment variable from default overrides not propagated #435
Comments
Doesn't seem to work out of the box alisw/alibuild#435
Just to be sure, I have tested again with updated master branches of both alibuild and alidist, the variables from the override section doesn't seem to be propagated. @ktf can you have a quick look whether I'm doing something wrong. |
Hi @matthiasrichter, aliBuild does propagate the environment variable For instance, in AliRoot we have:
whereas in FairRoot we hardcoded:
I have tested the variables propagation and aliBuild works correctly, I would say this is an alidist problem of the |
Hi @dberzano let me check again. I had updated the FairRoot recipe in exactly the way you mention and it did not work |
I have checked the case, it's still valid. My user story: As a developer I want to build all packages with build type RELEASE, except some packages I'm working on. For those I want to write a custom build type in the defaults file, like e.g.
expecting now that the environment from the overrides section is propagated to the build of my package. This does not happen. Note: For the recipes I'm using a patch which replace the hardcoded build type in the recipe |
I can reproduce it with a simple "reproducer".
Expected result is Thanks for spotting! |
I'm testing how to set the cmake build type from the defaults file, I want to have RELEASE for all packages but the ones I'm doing development on. Here is what I'm trying in the defaults file:
However, FairRoot build uses the common build type "RELEASE". It looks like the variable I want to set in the FairRoot environment from the overrides section is not propagated.
Using branch IB/v5-08/prod
The text was updated successfully, but these errors were encountered: