opencv: dont try cuda on 32 bit
config.cudaSupport can be true and cudatoolkit doesn't work with i686, which can happen inside pkgsi686Linux wrapping.
This commit is contained in:
parent
5858a3693e
commit
c4adeddb5f
|
@ -14,7 +14,8 @@
|
|||
, enableOpenblas ? true, openblas
|
||||
, enableContrib ? true
|
||||
|
||||
, enableCuda ? config.cudaSupport or false, cudatoolkit
|
||||
, enableCuda ? (config.cudaSupport or false) &&
|
||||
stdenv.hostPlatform.isx86_64, cudatoolkit
|
||||
|
||||
, enableUnfree ? false
|
||||
, enableIpp ? false
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
, enableOpenblas ? true, openblas
|
||||
, enableContrib ? true
|
||||
|
||||
, enableCuda ? config.cudaSupport or false, cudatoolkit
|
||||
, enableCuda ? (config.cudaSupport or false) &&
|
||||
stdenv.hostPlatform.isx86_64, cudatoolkit
|
||||
|
||||
, enableUnfree ? false
|
||||
, enableIpp ? false
|
||||
|
|
Loading…
Reference in New Issue