Skip to contentSkip to conversation

flann: Disable find package for HDF5

PATCH New Johan Oudinet 3 participants 5 messages Dec 6, 2017 – Dec 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 flann: Disable find package for HDF5

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.

---
 package/flann/flann.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/flann/flann.mk +2 -1
index e777fd8b2e..ef61815bba 100644
@@ -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))
Signature · 1 line
2.14.1
#1 lore raw

PATCH 2/2 flann: Disable find package for HDF5

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

Sorry.

Signature · 1 line
Johan
#2 lore raw

PATCH 2/2 flann: Disable find package for HDF5

In reply to Johan Oudinet

Hello,

Quoted 9 lines · Johan Oudinet

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.

---
 package/flann/flann.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 2/2 flann: Disable find package for HDF5

In reply to Johan Oudinet
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Johan" == Johan Oudinet <[email protected]> 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.

Committed to 2017.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 2/2 flann: Disable find package for HDF5

In reply to Johan Oudinet
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Johan" == Johan Oudinet <[email protected]> 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.

Committed to 2017.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard