Make arch command print out the platform.

This commit is contained in:
Todd Gamblin 2016-04-28 12:49:21 -07:00
parent 3a281b2399
commit 8cd13d4b35

View File

@ -28,8 +28,4 @@
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()