diff options
author | Matthieu Dorier <mdorier@anl.gov> | 2019-09-05 18:44:38 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-09-05 12:44:38 -0500 |
commit | 1dbf3c208bb50c1704b0372fcd55a91fb8a0a456 (patch) | |
tree | 94407ce4d8ee1191ac557180b2adc573a0edd899 | |
parent | 6ef95481efdd736d6f5d539e64ceca33abed0e0f (diff) | |
download | spack-1dbf3c208bb50c1704b0372fcd55a91fb8a0a456.tar.gz spack-1dbf3c208bb50c1704b0372fcd55a91fb8a0a456.tar.bz2 spack-1dbf3c208bb50c1704b0372fcd55a91fb8a0a456.tar.xz spack-1dbf3c208bb50c1704b0372fcd55a91fb8a0a456.zip |
FIX Catalyst: corrected catalyst package for aarch64 targets (#12707)
* corrected catalyst package for aarch64 targets
* corrected syntax
* corrected undefined variable
-rw-r--r-- | var/spack/repos/builtin/packages/catalyst/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/catalyst/package.py b/var/spack/repos/builtin/packages/catalyst/package.py index 8153556ffd..6c62aa0039 100644 --- a/var/spack/repos/builtin/packages/catalyst/package.py +++ b/var/spack/repos/builtin/packages/catalyst/package.py @@ -225,6 +225,11 @@ class Catalyst(CMakePackage): else: cmake_args.append('-DPARAVIEW_ENABLE_PYTHON:BOOL=OFF') + arch = spec.architecture + if(arch.platform == 'linux' and arch.target == 'aarch64'): + cmake_args.append('-DCMAKE_CXX_FLAGS=-DPNG_ARM_NEON_OPT=0') + cmake_args.append('-DCMAKE_C_FLAGS=-DPNG_ARM_NEON_OPT=0') + return cmake_args def cmake(self, spec, prefix): |