Merge pull request #21456 from rycee/fix/clblas-cuda

clblas-cuda: use system gtest library
This commit is contained in:
Michael Raskin 2016-12-30 22:03:56 +00:00 committed by GitHub
commit 9e1ec537eb

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