blob: 243fee174d2098f6ea6c181ad4587e8c62b4e965 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
_BLAS_INCLUDE := $(shell pkgconf --cflags-only-I openblas | sed 's/-I//g')
_NUMPY_INCLUDE := $(shell python -c 'import numpy; print(numpy.get_include())')
_OCVMAJ := $(shell opencv_version | awk -F'.' '{ print $$1 }')
_PYINC := $(shell python -c 'import sysconfig; print(sysconfig.get_path("include"))')
_PYMAJ := $(shell python -c 'import sys; print("%s" %sys.version_info[0])')
_PYVER := $(shell python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')
CPU_ONLY := 1
USE_OPENCV := 1
USE_LEVELDB := 1
USE_LMDB := 1
OPENCV_VERSION := $(_OCVMAJ)
BLAS := open
BLAS_INCLUDE := $(_BLAS_INCLUDE)
BLAS_LIB := /usr/lib
PYTHON_LIBRARIES := boost_python$(_PYMAJ) python$(_PYVER)
PYTHON_INCLUDE := $(_PYINC) $(_NUMPY_INCLUDE)
PYTHON_LIB := /usr/lib
WITH_PYTHON_LAYER := 1
INCLUDE_DIRS := $(PYTHON_INCLUDE)
LIBRARY_DIRS := $(PYTHON_LIB)
USE_PKG_CONFIG := 1
BUILD_DIR := build
DISTRIBUTE_DIR := distribute
TEST_GPUID := 0
Q ?= @
|