diff options
author | OliverPerks <olly.perks@arm.com> | 2020-02-25 04:28:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 22:28:13 -0600 |
commit | 5c68caeb1e11c1cc9626ba48d9c555c30c444582 (patch) | |
tree | cbfdc3d1f3fa67cc6c65bc1ebf102aa210d436f4 | |
parent | 4a0b7c9d2085c1ae41b6190d1aeb03cced737436 (diff) | |
download | spack-5c68caeb1e11c1cc9626ba48d9c555c30c444582.tar.gz spack-5c68caeb1e11c1cc9626ba48d9c555c30c444582.tar.bz2 spack-5c68caeb1e11c1cc9626ba48d9c555c30c444582.tar.xz spack-5c68caeb1e11c1cc9626ba48d9c555c30c444582.zip |
Update of OpenFOAM package.py (#15190)
-rw-r--r-- | var/spack/repos/builtin/packages/openfoam/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam/package.py b/var/spack/repos/builtin/packages/openfoam/package.py index f741db61d9..72fd615805 100644 --- a/var/spack/repos/builtin/packages/openfoam/package.py +++ b/var/spack/repos/builtin/packages/openfoam/package.py @@ -825,10 +825,12 @@ class OpenfoamArch(object): self.arch_option = '-march=knl' # spec.architecture.platform is like `uname -s`, but lower-case - platform = spec.architecture.platform + platform = str(spec.architecture.platform) # spec.target.family is like `uname -m` - target = spec.target.family + target = str(spec.target.family) + + # No spack platform family for ia64 or armv7l if platform == 'linux': if target == 'x86_64': |