From a7f418e0b2806eeaf832e55c6faa4707ca54b00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=9E=E7=8C=81?= Date: Sun, 5 Apr 2020 00:10:48 +0800 Subject: [PATCH] Check if CPU family is x86_64. (#15862) * Check if CPU family is x86_64. * Remove the leading space. --- var/spack/repos/builtin/packages/fl/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: