diff options
author | 健美猞猁 <weijianwen@gmail.com> | 2020-04-05 00:10:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-04 11:10:48 -0500 |
commit | a7f418e0b2806eeaf832e55c6faa4707ca54b00f (patch) | |
tree | 99660131688038810f6dd7b78f89fb4b2efb6e1f /var | |
parent | 0891c5d85405e2f0b08a8a4d300115e900d043f4 (diff) | |
download | spack-a7f418e0b2806eeaf832e55c6faa4707ca54b00f.tar.gz spack-a7f418e0b2806eeaf832e55c6faa4707ca54b00f.tar.bz2 spack-a7f418e0b2806eeaf832e55c6faa4707ca54b00f.tar.xz spack-a7f418e0b2806eeaf832e55c6faa4707ca54b00f.zip |
Check if CPU family is x86_64. (#15862)
* Check if CPU family is x86_64.
* Remove the leading space.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fl/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/fl/package.py b/var/spack/repos/builtin/packages/fl/package.py index f314ca6cdc..98809a21f1 100644 --- a/var/spack/repos/builtin/packages/fl/package.py +++ b/var/spack/repos/builtin/packages/fl/package.py @@ -17,7 +17,7 @@ class Fl(Package): def install(self, spec, prefix): if (self.spec.satisfies('platform=linux') and - self.spec.satisfies('target=x86_64')): + self.spec.target.family == 'x86_64'): with working_dir('fl_{0}'.format(spec.version)): install_tree('.', prefix) else: |