From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sun, 7 Jun 2015 14:43:51 +0200 Subject: [Buildroot] [PATCH v5 10/13] package/opencv: add openmp support In-Reply-To: <1433672799-21387-11-git-send-email-s.martin49@gmail.com> References: <1433672799-21387-1-git-send-email-s.martin49@gmail.com> <1433672799-21387-11-git-send-email-s.martin49@gmail.com> Message-ID: <20150607124351.GK3545@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > Cc: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" 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. | '------------------------------^-------^------------------^--------------------'