summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhealther <healther@users.noreply.github.com>2018-02-26 19:33:40 +0100
committerscheibelp <scheibel1@llnl.gov>2018-02-26 10:33:40 -0800
commit3683ab87b5a3927f31e0d0337b314c2a3e515782 (patch)
tree45d66350f9aecce8ac966f01ae91a8781c147a2b
parent5b3e149f08c24e4d143f7870116dce7ac33e6779 (diff)
downloadspack-3683ab87b5a3927f31e0d0337b314c2a3e515782.tar.gz
spack-3683ab87b5a3927f31e0d0337b314c2a3e515782.tar.bz2
spack-3683ab87b5a3927f31e0d0337b314c2a3e515782.tar.xz
spack-3683ab87b5a3927f31e0d0337b314c2a3e515782.zip
llvm package: update python dependency (#7100)
llvm versions >= 5 can use python 3.x
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index f1f84cc489..ae35eb56e9 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -81,7 +81,8 @@ class Llvm(CMakePackage):
depends_on('cmake@3.4.3:', type='build')
# Universal dependency
- depends_on('python@2.7:2.8') # Seems not to support python 3.X.Y
+ depends_on('python@2.7:2.8', when='@:4.999')
+ depends_on('python')
depends_on('py-lit', type=('build', 'run'))
# lldb dependencies