diff options
author | Mario Melara <maamelara@gmail.com> | 2015-12-11 12:04:47 -0800 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2015-12-11 12:04:47 -0800 |
commit | 31df2dd9dd713e75d161eb5a0187536886363469 (patch) | |
tree | fa36b1cd7c524e0ab921dfb842123d543f7c7bbf /lib | |
parent | fee88d289d00f6886d0cd336aab4cabbb5d45acc (diff) | |
download | spack-31df2dd9dd713e75d161eb5a0187536886363469.tar.gz spack-31df2dd9dd713e75d161eb5a0187536886363469.tar.bz2 spack-31df2dd9dd713e75d161eb5a0187536886363469.tar.xz spack-31df2dd9dd713e75d161eb5a0187536886363469.zip |
Fixed targets ti be x86_64, important note: have not tested this on linux machine
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/architectures/linux.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/architectures/linux.py b/lib/spack/spack/architectures/linux.py index 6c454f7a40..052b10c019 100644 --- a/lib/spack/spack/architectures/linux.py +++ b/lib/spack/spack/architectures/linux.py @@ -3,9 +3,9 @@ from spack.architecture import Architecture, Target class Linux(Architecture): priority = 60 - front_end = 'linux' - back_end = 'linux' - default = 'linux' + front_end = 'x86_64' + back_end = 'x86_64' + default = 'x86_64' def __init__(self): super(Linux, self).__init__('linux') @@ -15,4 +15,4 @@ class Linux(Architecture): def detect(self): arch = subprocess.Popen(['uname', '-i'], stdout = subprocess.PIPE) arch, _ = arch.communicate() - return 'x86_64' in arch.strip() + return 'linux' in arch.strip().lower() |