From 2990cd8aeac6b6a05121eebb0f5ca997eb73a650 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 28 Dec 2016 12:19:09 +0100 Subject: [PATCH] clblas-cuda: use system gtest library Without this the build attempts to download the library. --- .../development/libraries/science/math/clblas/cuda/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/science/math/clblas/cuda/default.nix b/pkgs/development/libraries/science/math/clblas/cuda/default.nix index c142514b2625..6d3faa2fb7ff 100644 --- a/pkgs/development/libraries/science/math/clblas/cuda/default.nix +++ b/pkgs/development/libraries/science/math/clblas/cuda/default.nix @@ -7,6 +7,7 @@ , python , cudatoolkit , nvidia_x11 +, gtest }: stdenv.mkDerivation rec { @@ -40,6 +41,7 @@ stdenv.mkDerivation rec { cmake ../src -DCMAKE_INSTALL_PREFIX=$out \ -DCMAKE_BUILD_TYPE=Release \ -DOPENCL_ROOT=${cudatoolkit} \ + -DUSE_SYSTEM_GTEST=ON ''; dontStrip = true; @@ -51,6 +53,7 @@ stdenv.mkDerivation rec { python cudatoolkit nvidia_x11 + gtest ]; meta = with stdenv.lib; {