All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
@ 2017-12-06 14:47 Johan Oudinet
  2017-12-06 14:50 ` Johan Oudinet
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johan Oudinet @ 2017-12-06 14:47 UTC (permalink / raw)
  To: buildroot

The HDF5 package is used by flann for testing purpose only and is
not part of buildroot packages. However, if present in the host, it will
be used and trigger the unsafe header/library path used in
cross-compilation error.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
---
 package/flann/flann.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/flann/flann.mk b/package/flann/flann.mk
index e777fd8b2e..ef61815bba 100644
--- a/package/flann/flann.mk
+++ b/package/flann/flann.mk
@@ -15,6 +15,7 @@ FLANN_CONF_OPTS = \
 	-DBUILD_MATLAB_BINDINGS=OFF \
 	-DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_FLANN_EXAMPLES),ON,OFF) \
 	-DUSE_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF) \
-	-DPYTHON_EXECUTABLE=OFF
+	-DPYTHON_EXECUTABLE=OFF \
+	-DCMAKE_DISABLE_FIND_PACKAGE_HDF5=TRUE
 
 $(eval $(cmake-package))
-- 
2.14.1

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

* [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
  2017-12-06 14:47 [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
@ 2017-12-06 14:50 ` Johan Oudinet
  2017-12-06 22:48 ` Thomas Petazzoni
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Johan Oudinet @ 2017-12-06 14:50 UTC (permalink / raw)
  To: buildroot

The title of this mail should be [Patch 1/1] flann...

Sorry.

-- 
Johan

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

* [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
  2017-12-06 14:47 [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
  2017-12-06 14:50 ` Johan Oudinet
@ 2017-12-06 22:48 ` Thomas Petazzoni
  2017-12-27 11:35 ` Peter Korsgaard
  2017-12-28 22:43 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-12-06 22:48 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  6 Dec 2017 15:47:53 +0100, Johan Oudinet wrote:
> The HDF5 package is used by flann for testing purpose only and is
> not part of buildroot packages. However, if present in the host, it will
> be used and trigger the unsafe header/library path used in
> cross-compilation error.
> 
> Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
> ---
>  package/flann/flann.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

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

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

* [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
  2017-12-06 14:47 [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
  2017-12-06 14:50 ` Johan Oudinet
  2017-12-06 22:48 ` Thomas Petazzoni
@ 2017-12-27 11:35 ` Peter Korsgaard
  2017-12-28 22:43 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2017-12-27 11:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Johan" == Johan Oudinet <johan.oudinet@gmail.com> writes:

 > The HDF5 package is used by flann for testing purpose only and is
 > not part of buildroot packages. However, if present in the host, it will
 > be used and trigger the unsafe header/library path used in
 > cross-compilation error.

 > Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>

Committed to 2017.11.x, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5
  2017-12-06 14:47 [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
                   ` (2 preceding siblings ...)
  2017-12-27 11:35 ` Peter Korsgaard
@ 2017-12-28 22:43 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2017-12-28 22:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Johan" == Johan Oudinet <johan.oudinet@gmail.com> writes:

 > The HDF5 package is used by flann for testing purpose only and is
 > not part of buildroot packages. However, if present in the host, it will
 > be used and trigger the unsafe header/library path used in
 > cross-compilation error.

 > Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-12-28 22:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-06 14:47 [Buildroot] [PATCH 2/2] flann: Disable find package for HDF5 Johan Oudinet
2017-12-06 14:50 ` Johan Oudinet
2017-12-06 22:48 ` Thomas Petazzoni
2017-12-27 11:35 ` Peter Korsgaard
2017-12-28 22:43 ` Peter Korsgaard

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.