From 1d936a8cc6eec96fbdac327397d63482750a79d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Bederi=C3=A1n?= Date: Fri, 22 May 2020 12:24:54 -0300 Subject: [PATCH] julia: Fix LLVM build failing with newer versions of CMake (#16738) --- var/spack/repos/builtin/packages/julia/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index 97c873d075..cd401dd9ea 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -47,7 +47,8 @@ class Julia(Package): # Python only needed to build LLVM? depends_on('python@2.7:2.8', type='build', when='@:1.1') depends_on('python@2.7:', type='build', when='@1.2:') - depends_on('cmake @2.8:', type='build', when='@1.0:') + depends_on('cmake@2.8:', type='build', when='@1.0:') + depends_on('cmake@:3.11', type='build', when='@:1.4') depends_on('git', type='build', when='@master') # Combined build-time and run-time dependencies: