Skip to content

fix: clear configured target override variables - #239

Open
HaoZeke wants to merge 1 commit into
fix/eessi-environment-isolationfrom
fix/clear-configured-target-overrides
Open

HaoZeke wants to merge 1 commit into
fix/eessi-environment-isolationfrom
fix/clear-configured-target-overrides

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Committed by Rohit; gated on cloud agents.

Sites can rename the variables that carry a target's CPU and accelerator
values with cpu_override_var and accel_override_var. A value the calling
shell left in such a custom variable survived into commands of the
European Environment for Scientific Software Installations, so a target
without cpu_target skipped hardware detection. Every command started by
the pipeline, including audit and watch probes, now clears the custom
names along with EESSI_SOFTWARE_SUBDIR_OVERRIDE and
EESSI_ACCELERATOR_TARGET_OVERRIDE, which the init scripts always
read. The regression exports both kinds of name from the parent shell
and asserts that neither reaches the build stub.

Sites can rename the variables that carry a target's CPU and accelerator
values with cpu_override_var and accel_override_var. A value the calling
shell left in such a custom variable survived into commands of the
European Environment for Scientific Software Installations, so a target
without cpu_target skipped hardware detection. Every command started by
the pipeline, including audit and watch probes, now clears the custom
names along with EESSI_SOFTWARE_SUBDIR_OVERRIDE and
EESSI_ACCELERATOR_TARGET_OVERRIDE, which the init scripts always
read. The regression exports both kinds of name from the parent shell
and asserts that neither reaches the build stub.

This branch has not been deployed

No deployments
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.

1 participant