clblas-cuda: use system gtest library

Without this the build attempts to download the library.
This commit is contained in:
Robert Helgesson 2016-12-28 12:19:09 +01:00
parent 2d38cad288
commit 2990cd8aea
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -7,6 +7,7 @@
, python , python
, cudatoolkit , cudatoolkit
, nvidia_x11 , nvidia_x11
, gtest
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -40,6 +41,7 @@ stdenv.mkDerivation rec {
cmake ../src -DCMAKE_INSTALL_PREFIX=$out \ cmake ../src -DCMAKE_INSTALL_PREFIX=$out \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DOPENCL_ROOT=${cudatoolkit} \ -DOPENCL_ROOT=${cudatoolkit} \
-DUSE_SYSTEM_GTEST=ON
''; '';
dontStrip = true; dontStrip = true;
@ -51,6 +53,7 @@ stdenv.mkDerivation rec {
python python
cudatoolkit cudatoolkit
nvidia_x11 nvidia_x11
gtest
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {