diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2020-02-20 13:45:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 13:45:58 -0800 |
commit | 2e387ef5855d533f685478cc15e3d9bea799bf30 (patch) | |
tree | 25fc1e5cdfc3298de513144bd714345130e32398 /.github/ISSUE_TEMPLATE/build_error.md | |
parent | 01bda126924564a399c7d529eb1e94df71ba9e8e (diff) | |
download | spack-2e387ef5855d533f685478cc15e3d9bea799bf30.tar.gz spack-2e387ef5855d533f685478cc15e3d9bea799bf30.tar.bz2 spack-2e387ef5855d533f685478cc15e3d9bea799bf30.tar.xz spack-2e387ef5855d533f685478cc15e3d9bea799bf30.zip |
Package hashing: fix detection of directives (#14763)
The hashing logic looks for function calls that are Spack directives.
It expects that when a Spack directive is used that it is referenced
directly by name, and that the directive function is not itself
retrieved by calling another function. When the hashing logic
encountered a function call where the function was determined
dynamically, it would fail (attempting to access a name attribute
that does not happen to exist in this case).
This updates the hashing logic to filter out function calls where the
function is determined dynamically when looking for uses of Spack
directives.
Diffstat (limited to '.github/ISSUE_TEMPLATE/build_error.md')
0 files changed, 0 insertions, 0 deletions