summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2023-11-14 02:25:56 -0600
committerGitHub <noreply@github.com>2023-11-14 09:25:56 +0100
commitc264cf12a21c44358739fbe1fa674d2cb497ab5d (patch)
tree98dde6baee1b8b290bca7743111728a4e1d6c07c /pyproject.toml
parent769474fcb0875759a5e6fa37b2b624b6c368a278 (diff)
downloadspack-c264cf12a21c44358739fbe1fa674d2cb497ab5d.tar.gz
spack-c264cf12a21c44358739fbe1fa674d2cb497ab5d.tar.bz2
spack-c264cf12a21c44358739fbe1fa674d2cb497ab5d.tar.xz
spack-c264cf12a21c44358739fbe1fa674d2cb497ab5d.zip
dd4hep: avoid IndexError in setup_run_environment (#41051)
Some environments may have `dd4hep` as a concretized package without having it installed (yet). For those environments, `dd4hep` has property `libs` that is an empty list. Nevertheless, it can be added to a run environment (for example in case `dd4hep` is part of an environment). This results in an IndexError: ``` ==> Warning: couldn't load runtime environment due to IndexError: list index out of range ``` To avoid the IndexError, only prepend the `dd4hep` libs if there are actually libs found.
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions