Skip to content
Permalink
Browse files

Merge #62890: libclc: 2017-11-29 -> 2019-06-09 (unbreak)

(cherry picked from commit ed77cf1)
  • Loading branch information
vcunat committed Feb 14, 2020
1 parent 2c013a6 commit c17aeb0c1acfa05ca1ae8b51151cd5d07e4be7da
Showing with 6 additions and 6 deletions.
  1. +6 −6 pkgs/development/libraries/libclc/default.nix
@@ -3,23 +3,24 @@
let
llvm = llvmPackages.llvm;
clang = llvmPackages.clang;
clang-unwrapped = llvmPackages.clang-unwrapped;
in

stdenv.mkDerivation {
name = "libclc-2017-11-29";
name = "libclc-2019-06-09";

src = fetchFromGitHub {
owner = "llvm-mirror";
repo = "libclc";
rev = "d6384415ab854c68777dd77451aa2bc0d959da99";
sha256 = "10fqrlnqlknh58x7pfsbg9r07fblfg2mgq2m4fr1jbb836ncn3wh";
rev = "9f6204ec04a8cadb6bef57caa71e3161c4f398f2";
sha256 = "03l9frx3iw3qdsb9rrscgzdwm6872gv6mkssvn027ndf9y321xk7";
};

nativeBuildInputs = [ python ];
buildInputs = [ llvm clang ];
buildInputs = [ llvm clang clang-unwrapped ];

postPatch = ''
sed -i 's,llvm_clang =.*,llvm_clang = "${clang}/bin/clang",' configure.py
sed -i 's,llvm_clang =.*,llvm_clang = "${clang-unwrapped}/bin/clang",' configure.py
sed -i 's,cxx_compiler =.*,cxx_compiler = "${clang}/bin/clang++",' configure.py
'';

@@ -32,6 +33,5 @@ stdenv.mkDerivation {
description = "Implementation of the library requirements of the OpenCL C programming language";
license = licenses.mit;
platforms = platforms.all;
broken = true;
};
}

0 comments on commit c17aeb0

Please sign in to comment.
You can’t perform that action at this time.