Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] opencv: Enable NEON flags
Date: Sun, 9 Jul 2017 18:04:06 +0200	[thread overview]
Message-ID: <20170709180406.1423fe8b@windsurf> (raw)
In-Reply-To: <CAEj2-1O-xw2ZJoSY=GXj2FBJp_oc7Z81ri3Xe2n_rezP5uhfZw@mail.gmail.com>

Hello,

On Fri, 07 Jul 2017 02:00:01 +0000, Andre Renaud wrote:
> opencv: Enable NEON optimizations if available
> 
> Signed-off-by: Andre Renaud <andre@ignavus.net>
> 
> diff --git a/package/opencv/opencv.mk b/package/opencv/opencv.mk
> index 92cfd43..b5b1253 100644
> --- a/package/opencv/opencv.mk
> +++ b/package/opencv/opencv.mk
> @@ -79,7 +79,8 @@ OPENCV_CONF_OPTS += \
>         -DENABLE_SSE3=$(if $(BR2_X86_CPU_HAS_SSE3),ON,OFF) \
>         -DENABLE_SSE41=$(if $(BR2_X86_CPU_HAS_SSE4),ON,OFF) \
>         -DENABLE_SSE42=$(if $(BR2_X86_CPU_HAS_SSE42),ON,OFF) \
> -       -DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF)
> +       -DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF) \
> +       -DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2017-07-09 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  2:00 [Buildroot] [PATCH] opencv: Enable NEON flags Andre Renaud
2017-07-09 16:04 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170709180406.1423fe8b@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox