From 106827db0329b6cef44c492cdba3b410c7d333b4 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 20 Mar 2018 06:44:01 +0900 Subject: pocl: fix spec (#7461) It seems there has been a change in concretization that resulted in a request for a llvm latest (5.0.1) while not satisfying the later more precise request for a version. Remove the first line and only rely on the last. --- var/spack/repos/builtin/packages/pocl/package.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/var/spack/repos/builtin/packages/pocl/package.py b/var/spack/repos/builtin/packages/pocl/package.py index 3ac7182966..615d261626 100644 --- a/var/spack/repos/builtin/packages/pocl/package.py +++ b/var/spack/repos/builtin/packages/pocl/package.py @@ -58,19 +58,18 @@ class Pocl(CMakePackage): depends_on("cmake @2.8.12:", type="build") depends_on("hwloc") depends_on("libtool", type=("build", "link", "run")) + depends_on("pkgconfig", type="build") + # We don't request LLVM's shared libraries because these are not # enabled by default, and also because they fail to build for us # (see #1616) - depends_on("llvm +clang") - depends_on("pkgconfig", type="build") - # These are the supported LLVM versions - depends_on("llvm @3.7:3.9", when="@master") - depends_on("llvm @3.7:4.0", when="@0.14") - depends_on("llvm @3.7:3.8", when="@0.13") - depends_on("llvm @3.2:3.7", when="@0.12") - depends_on("llvm @3.2:3.6", when="@0.11") - depends_on("llvm @3.2:3.5", when="@0.10") + depends_on("llvm +clang @3.7:3.9", when="@master") + depends_on("llvm +clang @3.7:4.0", when="@0.14") + depends_on("llvm +clang @3.7:3.8", when="@0.13") + depends_on("llvm +clang @3.2:3.7", when="@0.12") + depends_on("llvm +clang @3.2:3.6", when="@0.11") + depends_on("llvm +clang @3.2:3.5", when="@0.10") variant("distro", default=False, description=("Support several CPU architectures, " -- cgit v1.2.3-70-g09d2