1818# ALLOW_LMDB_NOLOCK := 1
1919
2020# Uncomment if you're using OpenCV 3
21- # OPENCV_VERSION := 3
21+ OPENCV_VERSION := 3
2222
2323# To customize your choice of compiler, uncomment and set the following.
2424# N.B. the default for Linux is g++ and the default for OSX is clang++
@@ -34,9 +34,7 @@ CUDA_DIR := /usr/local/cuda
3434# For CUDA < 6.0, comment the *_50 through *_61 lines for compatibility.
3535# For CUDA < 8.0, comment the *_60 and *_61 lines for compatibility.
3636# For CUDA >= 9.0, comment the *_20 and *_21 lines for compatibility.
37- CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
38- -gencode arch=compute_20,code=sm_21 \
39- -gencode arch=compute_30,code=sm_30 \
37+ CUDA_ARCH := -gencode arch=compute_30,code=sm_30 \
4038 -gencode arch=compute_35,code=sm_35 \
4139 -gencode arch=compute_50,code=sm_50 \
4240 -gencode arch=compute_52,code=sm_52 \
@@ -90,7 +88,7 @@ PYTHON_LIB := /usr/lib
9088# PYTHON_LIB += $(shell brew --prefix numpy)/lib
9189
9290# Uncomment to support layers written in Python (will link against Python libs)
93- # WITH_PYTHON_LAYER := 1
91+ WITH_PYTHON_LAYER := 1
9492
9593# Whatever else you find you need goes here.
9694INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
0 commit comments