mirror of https://github.com/AlexeyAB/darknet.git
CircleCI: compile with CUDA 9.0 and cuDNN 7
This commit is contained in:
parent
4fc963681a
commit
db73dc9027
|
@ -2,21 +2,8 @@ version: 2.0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: gcc:latest
|
- image: nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
|
||||||
working_directory: ~/work
|
working_directory: ~/work
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
# - run:
|
- run: make LIBSO=1 GPU=1 CUDNN=1 -j 8
|
||||||
# name: Update OpenCV
|
|
||||||
# command: 'apt-get install libopencv-dev'
|
|
||||||
- run: make LIBSO=1 -j 8
|
|
||||||
- run: |
|
|
||||||
ulimit -c unlimited
|
|
||||||
./darknet
|
|
||||||
- run:
|
|
||||||
command: |
|
|
||||||
mkdir -p /tmp/core_dumps
|
|
||||||
cp core.* /tmp/core_dumps
|
|
||||||
when: on_fail
|
|
||||||
- store_artifacts:
|
|
||||||
path: /tmp/core_dumps
|
|
||||||
|
|
Loading…
Reference in New Issue