mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
Merge pull request #21456 from rycee/fix/clblas-cuda
clblas-cuda: use system gtest library
This commit is contained in:
commit
9e1ec537eb
@ -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