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
, 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; {