opencv{3,4}: do not ignore config.cudaSupport

i686 isn't in the meta.platforms for cudaPackages anyway
This commit is contained in:
Someone Serge 2023-11-02 18:18:35 +00:00
parent c7dbb3ccc9
commit 866daf5f7c
No known key found for this signature in database
GPG Key ID: 7B0E3B1390D61DA4
2 changed files with 2 additions and 3 deletions

View File

@ -15,8 +15,7 @@
, enableOpenblas ? true, openblas, blas, lapack
, enableContrib ? true
, enableCuda ? config.cudaSupport &&
stdenv.hostPlatform.isx86_64
, enableCuda ? config.cudaSupport
, cudaPackages ? { }
, enableUnfree ? false
, enableIpp ? false

View File

@ -37,7 +37,7 @@
, blas
, enableContrib ? true
, enableCuda ? config.cudaSupport && stdenv.hostPlatform.isx86_64
, enableCuda ? config.cudaSupport
, enableCublas ? enableCuda
, enableCudnn ? false # NOTE: CUDNN has a large impact on closure size so we disable it by default
, enableCufft ? enableCuda