summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTomoki, Karatsu <49965247+t-karatsu@users.noreply.github.com>2021-02-18 00:07:05 +0900
committerGitHub <noreply@github.com>2021-02-17 10:07:05 -0500
commit3e72a12bfd32e34ac4347ed4ef9574ec15ae0f14 (patch)
tree63b900d8a46de94dfcb2b48493657b0e0b3ebec4 /var
parentee1b0b9fb980d16c80a5f43d9f93f54424995268 (diff)
downloadspack-3e72a12bfd32e34ac4347ed4ef9574ec15ae0f14.tar.gz
spack-3e72a12bfd32e34ac4347ed4ef9574ec15ae0f14.tar.bz2
spack-3e72a12bfd32e34ac4347ed4ef9574ec15ae0f14.tar.xz
spack-3e72a12bfd32e34ac4347ed4ef9574ec15ae0f14.zip
py-llvmlite: Specified llvm version for aarch64. (#21695)
* py-llvmlite: Specified llvm version for aarch64. * Add ~flang variant to llvm dependencies.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-llvmlite/package.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-llvmlite/package.py b/var/spack/repos/builtin/packages/py-llvmlite/package.py
index 6d8e8657aa..ff1d401351 100644
--- a/var/spack/repos/builtin/packages/py-llvmlite/package.py
+++ b/var/spack/repos/builtin/packages/py-llvmlite/package.py
@@ -28,12 +28,15 @@ class PyLlvmlite(PythonPackage):
depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3.99')
# llvmlite compatibility information taken from https://github.com/numba/llvmlite#compatibility
- depends_on('llvm@10.0:10.0.99', when='@0.34.0:')
- depends_on('llvm@9.0:9.0.99', when='@0.33.0:0.33.99')
- depends_on('llvm@7.0:8.0.99', when='@0.29.0:0.32.99')
- depends_on('llvm@7.0:7.0.99', when='@0.27.0:0.28.99')
- depends_on('llvm@6.0:6.0.99', when='@0.23.0:0.26.99')
- depends_on('llvm@4.0:4.0.99', when='@0.17.0:0.20.99')
+ for t in ['arm:', 'ppc:', 'ppc64:', 'ppc64le:', 'ppcle:',
+ 'sparc:', 'sparc64:', 'x86:', 'x86_64:']:
+ depends_on('llvm@10.0:10.0.99~flang', when='@0.34.0: target={0}'.format(t))
+ depends_on('llvm@9.0:9.0.99~flang', when='@0.34.0: target=aarch64:')
+ depends_on('llvm@9.0:9.0.99~flang', when='@0.33.0:0.33.99')
+ depends_on('llvm@7.0:8.0.99~flang', when='@0.29.0:0.32.99')
+ depends_on('llvm@7.0:7.0.99~flang', when='@0.27.0:0.28.99')
+ depends_on('llvm@6.0:6.0.99~flang', when='@0.23.0:0.26.99')
+ depends_on('llvm@4.0:4.0.99~flang', when='@0.17.0:0.20.99')
depends_on('binutils', type='build')
def setup_build_environment(self, env):