Merge pull request #97222 from davidtwco/computecpp-2.0.0

computecpp: 1.3.0 -> 2.2.1
This commit is contained in:
Sandro 2020-11-24 23:45:23 +01:00 committed by GitHub
commit 77c85338c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,24 +3,23 @@
, pkg-config , pkg-config
, autoPatchelfHook , autoPatchelfHook
, installShellFiles , installShellFiles
, ncurses5
, ocl-icd , ocl-icd
, zlib , zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "computecpp"; pname = "computecpp";
version = "1.3.0"; version = "2.2.1";
src = fetchzip { src = fetchzip {
url = "https://computecpp.codeplay.com/downloads/computecpp-ce/${version}/ubuntu-16.04-64bit.tar.gz"; url = "https://computecpp.codeplay.com/downloads/computecpp-ce/${version}/x86_64-linux-gnu.tar.gz";
sha256 = "1q6gqjpzz4a260gsd6mm1iv4z8ar3vxaypmgdwl8pb4i7kg6ykaz"; hash = "sha256-niXNWbkXjd35col6dS66HdxFurXfJw/Xb2c5njukxcg=";
stripRoot = true; stripRoot = true;
}; };
dontStrip = true; dontStrip = true;
buildInputs = [ stdenv.cc.cc.lib ncurses5 ocl-icd zlib ]; buildInputs = [ stdenv.cc.cc.lib ocl-icd zlib ];
nativeBuildInputs = [ autoPatchelfHook pkg-config installShellFiles ]; nativeBuildInputs = [ autoPatchelfHook pkg-config installShellFiles ];
installPhase = '' installPhase = ''