mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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
|
||||
, 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; {
|
||||
|
Loading…
Reference in New Issue
Block a user