Make arch command print out the platform.
This commit is contained in:
parent
3a281b2399
commit
8cd13d4b35
@ -28,8 +28,4 @@
|
|||||||
description = "Print the architecture for this machine"
|
description = "Print the architecture for this machine"
|
||||||
|
|
||||||
def arch(parser, args):
|
def arch(parser, args):
|
||||||
configured_sys_type = architecture.get_sys_type_from_spack_globals()
|
print architecture.sys_type()
|
||||||
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()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user