|
| 1 | + CTO_FROM : nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04 |
| 2 | +docker build \ |
| 3 | + --build-arg CTO_FROM="nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04" \ |
| 4 | + --build-arg CTO_TENSORFLOW_VERSION="2.7.0" \ |
| 5 | + --build-arg CTO_OPENCV_VERSION="3.4.16" \ |
| 6 | + --build-arg CTO_NUMPROC="32" \ |
| 7 | + --build-arg CTO_CUDA_APT="" \ |
| 8 | + --build-arg CTO_CUDA_BUILD="-D WITH_CUDA=ON -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -D CMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_ARCH_BIN=6.0,6.1,7.0,7.5,8.0,8.6 -D WITH_NVCUVID=ON" \ |
| 9 | + --build-arg LATEST_BAZELISK="1.11.0" \ |
| 10 | + --build-arg LATEST_BAZEL="3.7.2" \ |
| 11 | + --build-arg CTO_TF_CUDNN="yes" \ |
| 12 | + --build-arg CTO_TF_OPT="v2" \ |
| 13 | + --build-arg CTO_TF_KERAS="keras" \ |
| 14 | + --build-arg CTO_TF_PYTHON="" \ |
| 15 | + --build-arg CTO_TF_NUMPY="numpy" \ |
| 16 | + --build-arg CTO_DNN_ARCH="6.0,6.1,7.0,7.5,8.0,8.6" \ |
| 17 | + --build-arg CTO_CUDA11_APT_XTRA="" \ |
| 18 | + --build-arg CTO_PYTORCH="torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html" \ |
| 19 | + --tag="datamachines/cudnn_tensorflow_opencv:11.3.1_2.7.0_3.4.16-20211222" \ |
| 20 | + -f ubuntu20.04/Dockerfile \ |
| 21 | + . |
| 22 | +-- CUDA NVCC target flags: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES |
| 23 | + |
| 24 | +General configuration for OpenCV 3.4.16 ===================================== |
| 25 | + Version control: unknown |
| 26 | + |
| 27 | + Extra modules: |
| 28 | + Location (extra): /usr/local/src/opencv_contrib/modules |
| 29 | + Version control (extra): unknown |
| 30 | + |
| 31 | + Platform: |
| 32 | + Timestamp: 2021-12-23T00:47:13Z |
| 33 | + Host: Linux 5.11.0-43-generic x86_64 |
| 34 | + CMake: 3.16.3 |
| 35 | + CMake generator: Unix Makefiles |
| 36 | + CMake build tool: /usr/bin/make |
| 37 | + Configuration: Release |
| 38 | + |
| 39 | + CPU/HW features: |
| 40 | + Baseline: SSE SSE2 SSE3 |
| 41 | + requested: SSE3 |
| 42 | + Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX |
| 43 | + requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX |
| 44 | + SSE4_1 (14 files): + SSSE3 SSE4_1 |
| 45 | + SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 |
| 46 | + FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX |
| 47 | + AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX |
| 48 | + AVX2 (28 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 |
| 49 | + AVX512_SKX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX |
| 50 | + |
| 51 | + C/C++: |
| 52 | + Built as dynamic libs?: YES |
| 53 | + C++11: YES |
| 54 | + C++ Compiler: /usr/bin/c++ (ver 9.3.0) |
| 55 | + C++ flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG |
| 56 | + C++ flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG |
| 57 | + C Compiler: /usr/bin/cc |
| 58 | + C flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG |
| 59 | + C flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG |
| 60 | + Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed |
| 61 | + Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed |
| 62 | + ccache: NO |
| 63 | + Precompiled headers: NO |
| 64 | + Extra dependencies: m pthread cudart_static -lpthread dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda/lib64 -L/usr/lib/x86_64-linux-gnu |
| 65 | + 3rdparty dependencies: |
| 66 | + |
| 67 | + OpenCV modules: |
| 68 | + To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto |
| 69 | + Disabled: world |
| 70 | + Disabled by dependency: - |
| 71 | + Unavailable: cvv java matlab ovis python2 ts viz |
| 72 | + Applications: apps |
| 73 | + Documentation: NO |
| 74 | + Non-free algorithms: NO |
| 75 | + |
| 76 | + GUI: |
| 77 | + GTK+: YES (ver 3.24.20) |
| 78 | + GThread : YES (ver 2.64.6) |
| 79 | + GtkGlExt: NO |
| 80 | + VTK support: NO |
| 81 | + |
| 82 | + Media I/O: |
| 83 | + ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11) |
| 84 | + JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80) |
| 85 | + WEBP: build (ver encoder: 0x020f) |
| 86 | + PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37) |
| 87 | + TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.0) |
| 88 | + JPEG 2000: build (ver 1.900.1) |
| 89 | + OpenEXR: build (ver 2.3.0) |
| 90 | + GDAL: NO |
| 91 | + HDR: YES |
| 92 | + SUNRASTER: YES |
| 93 | + PXM: YES |
| 94 | + |
| 95 | + Video I/O: |
| 96 | + DC1394: YES (ver 2.2.5) |
| 97 | + FFMPEG: YES |
| 98 | + avcodec: YES (ver 58.54.100) |
| 99 | + avformat: YES (ver 58.29.100) |
| 100 | + avutil: YES (ver 56.31.100) |
| 101 | + swscale: YES (ver 5.5.100) |
| 102 | + avresample: NO |
| 103 | + GStreamer: YES |
| 104 | + base: YES (ver 1.16.2) |
| 105 | + video: YES (ver 1.16.2) |
| 106 | + app: YES (ver 1.16.2) |
| 107 | + riff: YES (ver 1.16.2) |
| 108 | + pbutils: YES (ver 1.16.2) |
| 109 | + libv4l/libv4l2: NO |
| 110 | + v4l/v4l2: linux/videodev2.h |
| 111 | + Xine: YES (ver 1.2.9) |
| 112 | + |
| 113 | + Parallel framework: TBB (ver 2020.1 interface 11101) |
| 114 | + |
| 115 | + Trace: YES (with Intel ITT) |
| 116 | + |
| 117 | + Other third-party libraries: |
| 118 | + Intel IPP: 2020.0.0 Gold [2020.0.0] |
| 119 | + at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/icv |
| 120 | + Intel IPP IW: sources (2020.0.0) |
| 121 | + at: /usr/local/src/opencv/build/3rdparty/ippicv/ippicv_lnx/iw |
| 122 | + Lapack: NO |
| 123 | + Eigen: YES (ver 3.3.7) |
| 124 | + Custom HAL: NO |
| 125 | + Protobuf: build (3.5.1) |
| 126 | + |
| 127 | + NVIDIA CUDA: YES (ver 11.3, CUFFT CUBLAS FAST_MATH) |
| 128 | + NVIDIA GPU arch: 60 61 70 75 80 86 |
| 129 | + NVIDIA PTX archs: |
| 130 | + |
| 131 | + OpenCL: YES (no extra features) |
| 132 | + Include path: /usr/local/src/opencv/3rdparty/include/opencl/1.2 |
| 133 | + Link libraries: Dynamic load |
| 134 | + |
| 135 | + Python 3: |
| 136 | + Interpreter: /usr/bin/python3 (ver 3.8.10) |
| 137 | + Libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10) |
| 138 | + numpy: /usr/local/lib/python3.8/dist-packages/numpy/core/include (ver 1.21.5) |
| 139 | + install path: /usr/lib/python3/dist-packages/cv2/python-3.8 |
| 140 | + |
| 141 | + Python (for build): /usr/bin/python3 |
| 142 | + |
| 143 | + Java: |
| 144 | + ant: NO |
| 145 | + JNI: NO |
| 146 | + Java wrappers: NO |
| 147 | + Java tests: NO |
| 148 | + |
| 149 | + Install to: /usr/local |
| 150 | +----------------------------------------------------------------- |
| 151 | + |
| 152 | + |
0 commit comments