Proposing update_env_if construct to CM script meta #482
Closed
arjunsuresh
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently CM script meta is not having an option to update env variables based on some conditions and these updates need to happen in customize.py. This works fine for small scripts but for generic scripts like
get-generic-python-libthis increases the complexity of the code in customize.py.Any
depscan update a ENV variables - for exampledetect-cpucan setCPU_ARCHITECTUREasx86and ifget-generic-sys-utilhas selected a package sayXwe can update the installation source forXonx86in_cm.ymlitself if we can have the below construct.Here, we can use
skip_if_env,enable_if_env,skip_if_any_envandenable_if_any_envwhich we currently use to conditionally turn on dependencies.Beta Was this translation helpful? Give feedback.
All reactions