[Buildroot] [PATCH v5 10/13] package/opencv: add openmp support
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jun 7 12:43:51 UTC 2015
Samuel, All,
On 2015-06-07 12:26 +0200, Samuel Martin spake thusly:
> Note that this situation is not ideal because it only add openmp support
> to the Buildroot toolchain, not the external ones; but a couple of
> packages already are in this situation.
>
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> Cc: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Regards,
Yann E. MORIN.
> ---
> changes v4->v5:
> - new patch
> ---
> package/opencv/opencv.mk | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/package/opencv/opencv.mk b/package/opencv/opencv.mk
> index 2902a20..81c5544 100644
> --- a/package/opencv/opencv.mk
> +++ b/package/opencv/opencv.mk
> @@ -250,6 +250,8 @@ else
> OPENCV_CONF_OPTS += -DWITH_OPENGL=OFF
> endif
>
> +OPENCV_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF)
> +
> ifeq ($(BR2_PACKAGE_OPENCV_WITH_PNG),y)
> OPENCV_CONF_OPTS += -DWITH_PNG=ON
> OPENCV_DEPENDENCIES += libpng
> --
> 2.4.2
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list