summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-11-19 04:12:28 -0600
committerGitHub <noreply@github.com>2020-11-19 11:12:28 +0100
commit14a9359395e9e50536c4629159c1a08fc763e4c5 (patch)
treed47d3365fafec323b23b4e916e9ca94b16fc52ab
parent8f3594564c1b855ea1b135676ae21560e547f9a7 (diff)
downloadspack-14a9359395e9e50536c4629159c1a08fc763e4c5.tar.gz
spack-14a9359395e9e50536c4629159c1a08fc763e4c5.tar.bz2
spack-14a9359395e9e50536c4629159c1a08fc763e4c5.tar.xz
spack-14a9359395e9e50536c4629159c1a08fc763e4c5.zip
spack debug report: print concretizer (#19983)
-rw-r--r--lib/spack/spack/cmd/debug.py2
-rw-r--r--lib/spack/spack/test/cmd/debug.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/debug.py b/lib/spack/spack/cmd/debug.py
index 074e95209a..716b6277e4 100644
--- a/lib/spack/spack/cmd/debug.py
+++ b/lib/spack/spack/cmd/debug.py
@@ -15,6 +15,7 @@ import llnl.util.tty as tty
from llnl.util.filesystem import working_dir
import spack.architecture as architecture
+import spack.config
import spack.paths
from spack.main import get_version
from spack.util.executable import which
@@ -89,6 +90,7 @@ def report(args):
print('* **Python:**', platform.python_version())
print('* **Platform:**', architecture.Arch(
architecture.platform(), 'frontend', 'frontend'))
+ print('* **Concretizer:**', spack.config.get('config:concretizer'))
def debug(parser, args):
diff --git a/lib/spack/spack/test/cmd/debug.py b/lib/spack/spack/test/cmd/debug.py
index 2898ad670e..222fa6a0d2 100644
--- a/lib/spack/spack/test/cmd/debug.py
+++ b/lib/spack/spack/test/cmd/debug.py
@@ -11,6 +11,7 @@ import os
import os.path
import spack.architecture as architecture
+import spack.config
from spack.main import SpackCommand, get_version
from spack.util.executable import which
@@ -53,3 +54,4 @@ def test_report():
assert get_version() in out
assert platform.python_version() in out
assert str(arch) in out
+ assert spack.config.get('config:concretizer') in out