diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2023-10-16 22:36:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 22:36:22 +0200 |
commit | 4a96d29e694ee207fd591546363f0d7dd9dc2cc7 (patch) | |
tree | 790e70c3efd2ef4e8ac51d4f0c198039b4123d95 /lib | |
parent | 1e44f33163d8d75632f0c9d67738d3fffb308cdb (diff) | |
download | spack-4a96d29e694ee207fd591546363f0d7dd9dc2cc7.tar.gz spack-4a96d29e694ee207fd591546363f0d7dd9dc2cc7.tar.bz2 spack-4a96d29e694ee207fd591546363f0d7dd9dc2cc7.tar.xz spack-4a96d29e694ee207fd591546363f0d7dd9dc2cc7.zip |
Use string representation of deptypes for concrete specs (#40566)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/solver/asp.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py index ce0ae2ca7f..af0ddd67ae 100644 --- a/lib/spack/spack/solver/asp.py +++ b/lib/spack/spack/solver/asp.py @@ -1883,7 +1883,11 @@ class SpackSolverSetup: continue # skip build dependencies of already-installed specs if concrete_build_deps or dtype != dt.BUILD: - clauses.append(fn.attr("depends_on", spec.name, dep.name, dtype)) + clauses.append( + fn.attr( + "depends_on", spec.name, dep.name, dt.flag_to_string(dtype) + ) + ) for virtual_name in dspec.virtuals: clauses.append( fn.attr("virtual_on_edge", spec.name, dep.name, virtual_name) |