All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/2] TBB and OpenCV3
@ 2017-09-28 23:50 Bradford Barr
  2017-09-28 23:50 ` [Buildroot] [PATCH v2 1/2] tbb: new package Bradford Barr
  2017-09-28 23:50 ` [Buildroot] [PATCH v2 2/2] opencv3: add support for tbb Bradford Barr
  0 siblings, 2 replies; 9+ messages in thread
From: Bradford Barr @ 2017-09-28 23:50 UTC (permalink / raw)
  To: buildroot

From: bradford barr <bradford@density.io>

Updated patches for tbb and tbb support in opencv3. The tbb build system isn't
very friendly to cross compiling. The `arch=$(BR2_ARCH)' is mostly used by the
build system to generate a build directory.

I pulled in the 0001-cross-compile.patch from yocto and added a signed-off by.
I hope that's right. 

Running test-pkg against tbb helped me figure out that pretty much everything
that uses glibc will compile cleanly.

The tbb package only supplies dynamic libraries, no static libraries. It also
does not create symlinks for the its libraries, those had to be generated
manually.

The `0001-tbb-debug.patch' for opencv3 has been submitted upstream. and can be
found here[1].

I hope I didn't miss anything this time around.

[1]: https://github.com/opencv/opencv/pull/9743

bradford barr (2):
  tbb: new package
  opencv3: add support for tbb

 package/Config.in                    |  1 +
 package/opencv3/0001-tbb-debug.patch | 27 +++++++++++++++++++
 package/opencv3/Config.in            |  6 +++++
 package/opencv3/opencv3.mk           | 12 +++++++--
 package/tbb/0001-cross-compile.patch | 41 +++++++++++++++++++++++++++++
 package/tbb/Config.in                | 16 ++++++++++++
 package/tbb/tbb.hash                 |  2 ++
 package/tbb/tbb.mk                   | 50 ++++++++++++++++++++++++++++++++++++
 8 files changed, 153 insertions(+), 2 deletions(-)
 create mode 100644 package/opencv3/0001-tbb-debug.patch
 create mode 100644 package/tbb/0001-cross-compile.patch
 create mode 100644 package/tbb/Config.in
 create mode 100644 package/tbb/tbb.hash
 create mode 100644 package/tbb/tbb.mk

-- 
2.9.3

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

end of thread, other threads:[~2017-10-12 21:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28 23:50 [Buildroot] [PATCH v2 0/2] TBB and OpenCV3 Bradford Barr
2017-09-28 23:50 ` [Buildroot] [PATCH v2 1/2] tbb: new package Bradford Barr
2017-10-06 16:27   ` Yegor Yefremov
2017-10-12 20:45   ` Thomas Petazzoni
2017-10-12 21:12     ` Bradford Barr
2017-10-12 21:14       ` Bradford Barr
2017-10-12 21:21       ` Thomas Petazzoni
2017-09-28 23:50 ` [Buildroot] [PATCH v2 2/2] opencv3: add support for tbb Bradford Barr
2017-10-12 20:46   ` Thomas Petazzoni

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.