Skip to content

Commit 3f9237d

Browse files
authored
Match configuration with EV requirements
1 parent 924bd19 commit 3f9237d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile.config.example

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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.
9694
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include

0 commit comments

Comments
 (0)