[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56803] [PATCH v2 4/6] gnu: Add support for python in opencv
From: |
Tomasz Jeneralczyk |
Subject: |
[bug#56803] [PATCH v2 4/6] gnu: Add support for python in opencv |
Date: |
Sun, 14 Aug 2022 14:46:21 +0200 |
The package already had all dependencies needed for its python bindings, so
enabling python support was as easy as adding a flag. Which makes me think
this was the intention from the start.
Also add copyright.
* gnu/packages/image-processing.scm (opencv)[arguments]: Change variable.
---
gnu/packages/image-processing.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 3dfe086af8..f26691cad7 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -511,6 +512,8 @@ (define-public opencv
;; DISPATCH is the list of optional dispatches.
"-DCPU_BASELINE=SSE2"
+ "-DBUILD_opencv_python3=ON"
+
,@(match (%current-system)
("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"
--
2.37.1