Import buildroot 2016.02.01
This commit is contained in:
25
firmware/buildroot/package/flann/Config.in
Normal file
25
firmware/buildroot/package/flann/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_FLANN
|
||||
bool "flann"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
FLANN is a library for performing fast approximate nearest
|
||||
neighbor searches in high dimensional spaces. It contains a
|
||||
collection of algorithms we found to work best for nearest
|
||||
neighbor search and a system for automatically choosing the
|
||||
best algorithm and optimum parameters depending on the
|
||||
dataset.
|
||||
|
||||
http://www.cs.ubc.ca/research/flann/
|
||||
|
||||
if BR2_PACKAGE_FLANN
|
||||
|
||||
config BR2_PACKAGE_FLANN_EXAMPLES
|
||||
bool "flann examples"
|
||||
help
|
||||
Build and install flann example applications.
|
||||
|
||||
endif
|
||||
|
||||
comment "flann needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
||||
20
firmware/buildroot/package/flann/flann.mk
Normal file
20
firmware/buildroot/package/flann/flann.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# flann
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLANN_VERSION = 04b4a56533faf8c8228d011d05ba376038364b49
|
||||
FLANN_SITE = $(call github,mariusmuja,flann,$(FLANN_VERSION))
|
||||
FLANN_INSTALL_STAGING = YES
|
||||
FLANN_LICENSE = BSD-3c
|
||||
FLANN_LICENSE_FILES = COPYING
|
||||
FLANN_CONF_OPTS = \
|
||||
-DBUILD_C_BINDINGS=ON \
|
||||
-DBUILD_PYTHON_BINDINGS=OFF \
|
||||
-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
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user