mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 08:28:20 +00:00
clblas: turn of gtest, fix build
clblas does not work anymore with gmock 1.8.1. Turning off the test suite fixes the build.
This commit is contained in:
parent
dc3ed336df
commit
4c74ee948e
|
@ -8,7 +8,6 @@
|
|||
, ocl-icd
|
||||
, opencl-headers
|
||||
, Accelerate, CoreGraphics, CoreVideo, OpenCL
|
||||
, gtest
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -33,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_SYSTEM_GTEST=ON"
|
||||
"-DBUILD_TEST=OFF"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -42,7 +41,6 @@ stdenv.mkDerivation rec {
|
|||
blas
|
||||
python
|
||||
boost
|
||||
gtest
|
||||
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
|
||||
ocl-icd
|
||||
opencl-headers
|
||||
|
|
Loading…
Reference in a new issue