clblas-cuda: use system gtest library
Without this the build attempts to download the library.
This commit is contained in:
parent
2d38cad288
commit
2990cd8aea
@ -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; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user