gnu: opencv: Build Python bindings.

* gnu/packages/image-processing.scm (opencv)[arguments]: Change variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tomasz Jeneralczyk 2022-08-14 14:46:21 +02:00 committed by Ludovic Courtès
parent 619af9f307
commit 5920196e47
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -20,6 +20,7 @@
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru> ;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -511,6 +512,9 @@ (define-public opencv
;; DISPATCH is the list of optional dispatches. ;; DISPATCH is the list of optional dispatches.
"-DCPU_BASELINE=SSE2" "-DCPU_BASELINE=SSE2"
;; Build Python bindings.
"-DBUILD_opencv_python3=ON"
,@(match (%current-system) ,@(match (%current-system)
("x86_64-linux" ("x86_64-linux"
'("-DCPU_DISPATCH=NEON;VFPV3;FP16;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2;POPCNT;AVX;FP16;AVX2;FMA3;AVX_512F;AVX512_SKX" '("-DCPU_DISPATCH=NEON;VFPV3;FP16;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2;POPCNT;AVX;FP16;AVX2;FMA3;AVX_512F;AVX512_SKX"