2017-10-19 06:54:17 +08:00
|
|
|
version: 2.0
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2021-03-28 23:13:43 +08:00
|
|
|
- image: datamachines/cudnn_tensorflow_opencv:11.2.0_2.4.1_4.5.1-20210211
|
|
|
|
# - image: alexeyab84/dockerfiles:latest
|
2021-02-28 14:30:31 +08:00
|
|
|
# - image: alantrrs/cuda-opencv:latest
|
2017-10-20 04:28:27 +08:00
|
|
|
# - image: nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
|
2017-10-19 06:54:17 +08:00
|
|
|
working_directory: ~/work
|
|
|
|
steps:
|
|
|
|
- checkout
|
2019-12-02 21:46:13 +08:00
|
|
|
- run: nvcc --version
|
2019-12-16 23:41:28 +08:00
|
|
|
- run: gcc --version
|
2021-03-01 10:44:04 +08:00
|
|
|
- run: export PATH=$PATH:/usr/local/include/opencv4/
|
|
|
|
- run: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/:/usr/lib/:/usr/lib64/
|
2018-02-20 07:43:04 +08:00
|
|
|
- run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=0 -j 8
|
|
|
|
- run: make clean
|
2019-12-16 23:26:50 +08:00
|
|
|
- run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=0 DEBUG=1 -j 8
|
|
|
|
- run: make clean
|
2019-02-28 22:04:44 +08:00
|
|
|
- run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=0 AVX=1 -j 8
|
|
|
|
- run: make clean
|
2018-02-20 07:43:04 +08:00
|
|
|
- run: make LIBSO=1 GPU=0 CUDNN=0 OPENCV=1 -j 8
|
|
|
|
- run: make clean
|
2019-04-05 03:57:05 +08:00
|
|
|
- run: make LIBSO=1 GPU=1 CUDNN=0 OPENCV=1 -j 8
|
|
|
|
- run: make clean
|
2017-10-20 04:28:27 +08:00
|
|
|
- run: make LIBSO=1 GPU=1 CUDNN=1 OPENCV=1 -j 8
|
2018-04-16 22:52:03 +08:00
|
|
|
- run: make clean
|
|
|
|
- run: make LIBSO=1 GPU=1 CUDNN=1 OPENCV=1 CUDNN_HALF=1 -j 8
|
2019-12-16 23:26:50 +08:00
|
|
|
- run: make clean
|
|
|
|
- run: make LIBSO=1 GPU=1 CUDNN=1 OPENCV=1 CUDNN_HALF=1 USE_CPP=1 -j 8
|