Skip to content

Commit e4ad3c4

Browse files
committed
updates for 3.2 and for more cpus
1 parent 4dbf628 commit e4ad3c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ cp -rf build/numpy/lib64/python2.7/site-packages/numpy lambda-package
3030
-D BUILD_EXAMPLES=OFF \
3131
-D PYTHON2_NUMPY_INCLUDE_DIRS="$NUMPY" \
3232
.
33-
make
33+
make -j`cat /proc/cpuinfo | grep MHz | wc -l`
3434
)
3535
cp build/opencv/lib/cv2.so lambda-package/cv2/__init__.so
36-
cp -L build/opencv/lib/*.so.3.1 lambda-package/cv2
36+
cp -L build/opencv/lib/*.so.3.2 lambda-package/cv2
3737
strip --strip-all lambda-package/cv2/*
3838
chrpath -r '$ORIGIN' lambda-package/cv2/__init__.so
3939
touch lambda-package/cv2/__init__.py

0 commit comments

Comments
 (0)