diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2019-08-03 09:15:49 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-02 19:15:49 -0500 |
commit | b6789b2ba3a64d4f5a8e3ab233143d093ae1409c (patch) | |
tree | 503c7b30b155d8e05ac8c1e0b599580c9954b1ec /var/spack | |
parent | a54687ead935933d245717000a4584abb1a28d56 (diff) | |
download | spack-b6789b2ba3a64d4f5a8e3ab233143d093ae1409c.tar.gz spack-b6789b2ba3a64d4f5a8e3ab233143d093ae1409c.tar.bz2 spack-b6789b2ba3a64d4f5a8e3ab233143d093ae1409c.tar.xz spack-b6789b2ba3a64d4f5a8e3ab233143d093ae1409c.zip |
py-flye: change to build ARM. (#12176)
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/py-flye/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-flye/package.py b/var/spack/repos/builtin/packages/py-flye/package.py index 1192012319..9e04ed636f 100644 --- a/var/spack/repos/builtin/packages/py-flye/package.py +++ b/var/spack/repos/builtin/packages/py-flye/package.py @@ -16,3 +16,8 @@ class PyFlye(PythonPackage): version('2.4.2', sha256='5b74d4463b860c9e1614ef655ab6f6f3a5e84a7a4d33faf3b29c7696b542c51a') depends_on('python@2.7:2.8', type=('build', 'run')) + + def setup_environment(self, spack_env, run_env): + if self.spec.satisfies('target=aarch64'): + spack_env.set('arm_neon', '1') + spack_env.set('aarch64', '1') |