summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-04-28 12:49:21 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-28 12:49:21 -0700
commit8cd13d4b3552e6737ed9fc768bbe544024e05b10 (patch)
tree96f8f9c5f0397240ab826077e70847854ca7cb2c
parent3a281b239998133c7ed3fe03a54e44d643d0d0bd (diff)
downloadspack-8cd13d4b3552e6737ed9fc768bbe544024e05b10.tar.gz
spack-8cd13d4b3552e6737ed9fc768bbe544024e05b10.tar.bz2
spack-8cd13d4b3552e6737ed9fc768bbe544024e05b10.tar.xz
spack-8cd13d4b3552e6737ed9fc768bbe544024e05b10.zip
Make arch command print out the platform.
-rw-r--r--lib/spack/spack/cmd/arch.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/cmd/arch.py b/lib/spack/spack/cmd/arch.py
index db27544ffd..cd0ce2bb2e 100644
--- a/lib/spack/spack/cmd/arch.py
+++ b/lib/spack/spack/cmd/arch.py
@@ -28,8 +28,4 @@ import spack.architecture as architecture
description = "Print the architecture for this machine"
def arch(parser, args):
- configured_sys_type = architecture.get_sys_type_from_spack_globals()
- if not configured_sys_type:
- configured_sys_type = "autodetect"
- print "Configured sys_type: %s" % configured_sys_type
- print "Autodetected default sys_type: %s" % architecture.sys_type()
+ print architecture.sys_type()