summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2023-06-06 20:41:32 -0500
committerGitHub <noreply@github.com>2023-06-06 18:41:32 -0700
commit5f1bc15e80deb15efde63632cfcba6d2a3c1f363 (patch)
tree8961c51b8b5c5ed9659fd46a628389de8e44ead8 /lib
parentfa9fb60df332a430ed10ce007d3a07ec90aefcb5 (diff)
downloadspack-5f1bc15e80deb15efde63632cfcba6d2a3c1f363.tar.gz
spack-5f1bc15e80deb15efde63632cfcba6d2a3c1f363.tar.bz2
spack-5f1bc15e80deb15efde63632cfcba6d2a3c1f363.tar.xz
spack-5f1bc15e80deb15efde63632cfcba6d2a3c1f363.zip
E4S Cray CI Stack (#37837)
* e4s cray ci stack * e4s ci: add cray * add zen4 tag * WIP: new defintions just for cray * updates * remove ci signing job overrride, not necessary * echo $PATH and show modules loaded * add mirror * add external def for cray-libsci * comment out quantum-espresso * use /etc/protected-runner as key path * cray ci stack: do not remove tags: [spack, public] * make cray stack composable * generate job should run on public tagged runner, override default config:install_tree:root * CI: Use relative path in default script * CI: Use relative includes paths for shell runners * Use concrete_env_dir for relpath * ml-darwin-aarch64-mps: jax has bazel codesign issue --------- Co-authored-by: Scott Wittenburg <scott.wittenburg@kitware.com> Co-authored-by: Ryan Krattiger <ryan.krattiger@kitware.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/ci.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py
index 5d894d9540..6739eb9813 100644
--- a/lib/spack/spack/ci.py
+++ b/lib/spack/spack/ci.py
@@ -946,7 +946,7 @@ def generate_gitlab_ci_yaml(
# Add config scopes to environment
env_includes = env_yaml_root["spack"].get("include", [])
cli_scopes = [
- os.path.abspath(s.path)
+ os.path.relpath(s.path, concrete_env_dir)
for s in cfg.scopes().values()
if type(s) == cfg.ImmutableConfigScope
and s.path not in env_includes