All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] opencv: enable SSE1/2/3 and SSSE3 when finding '-msse3' in TARGET_CC_ARCH
@ 2013-03-17 10:33 Koen Kooi
  2013-03-17 10:33 ` [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2013-03-17 10:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
index 77d75da..2114e77 100644
--- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
+++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
@@ -16,7 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.ta
 SRC_URI[md5sum] = "c0a5af4ff9d0d540684c0bf00ef35dbe"
 SRC_URI[sha256sum] = "f8fbe985978d4eae73e8c3b526ed40a37d4761d2029a5b035233f58146f6f59b"
 
-PR = "r1"
+PR = "r2"
 
 S = "${WORKDIR}/OpenCV-${PV}"
 
@@ -27,6 +27,7 @@ EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}
                  -DWITH_V4L=ON \
                  -DWITH_GTK=ON \
                  -DCMAKE_SKIP_RPATH=ON \
+                 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \
                 "
 
 inherit distutils-base pkgconfig cmake
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds
  2013-03-17 10:33 [meta-oe][PATCH 1/2] opencv: enable SSE1/2/3 and SSSE3 when finding '-msse3' in TARGET_CC_ARCH Koen Kooi
@ 2013-03-17 10:33 ` Koen Kooi
  2013-03-22  9:17   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2013-03-17 10:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

This eliminates a few warnings from the configure step and makes sense in general.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
index 2114e77..916c8c5 100644
--- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
+++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
@@ -20,6 +20,10 @@ PR = "r2"
 
 S = "${WORKDIR}/OpenCV-${PV}"
 
+# Do an out-of-tree build
+OECMAKE_SOURCEPATH = "${S}"
+OECMAKE_BUILDPATH = "${WORKDIR}/build-${TARGET_ARCH}"
+
 EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \
                  -DBUILD_PYTHON_SUPPORT=ON \
                  -DWITH_FFMPEG=ON \
-- 
1.8.1.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds
  2013-03-17 10:33 ` [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds Koen Kooi
@ 2013-03-22  9:17   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2013-03-22  9:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

On Sun, Mar 17, 2013 at 11:33:33AM +0100, Koen Kooi wrote:
> This eliminates a few warnings from the configure step and makes sense in general.

Both applied, thanks!

> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
> index 2114e77..916c8c5 100644
> --- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
> @@ -20,6 +20,10 @@ PR = "r2"
>  
>  S = "${WORKDIR}/OpenCV-${PV}"
>  
> +# Do an out-of-tree build
> +OECMAKE_SOURCEPATH = "${S}"
> +OECMAKE_BUILDPATH = "${WORKDIR}/build-${TARGET_ARCH}"
> +
>  EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \
>                   -DBUILD_PYTHON_SUPPORT=ON \
>                   -DWITH_FFMPEG=ON \
> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-22  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 10:33 [meta-oe][PATCH 1/2] opencv: enable SSE1/2/3 and SSSE3 when finding '-msse3' in TARGET_CC_ARCH Koen Kooi
2013-03-17 10:33 ` [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds Koen Kooi
2013-03-22  9:17   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.