Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Updates CI builds to use libjpeg-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
perdasilva committed Feb 12, 2019
1 parent 38414cb commit bb99ce2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ build_ubuntu_cpu_openblas() {
USE_BLAS=openblas \
USE_MKLDNN=0 \
USE_DIST_KVSTORE=1 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -380,6 +381,7 @@ build_ubuntu_cpu_mkl() {
USE_MKLDNN=0 \
USE_INTEL_PATH=/opt/intel \
USE_DIST_KVSTORE=1 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -397,6 +399,7 @@ build_ubuntu_cpu_cmake_debug() {
-DUSE_OPENMP=OFF \
-DUSE_OPENCV=ON \
-DUSE_SIGNAL_HANDLER=ON \
-DUSE_LIBJPEG_TURBO=ON \
-DCMAKE_BUILD_TYPE=Debug \
-G Ninja \
/work/mxnet
Expand Down Expand Up @@ -425,6 +428,7 @@ build_ubuntu_cpu_cmake_asan() {
-DUSE_GPERFTOOLS=OFF \
-DUSE_JEMALLOC=OFF \
-DUSE_ASAN=ON \
-DUSE_LIBJPEG_TURBO=ON \
-DUSE_CPP_PACKAGE=ON \
-DMXNET_USE_CPU=ON \
/work/mxnet
Expand All @@ -448,6 +452,7 @@ build_ubuntu_cpu_clang39() {
USE_MKLDNN=0 \
USE_OPENMP=0 \
USE_DIST_KVSTORE=1 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -466,6 +471,7 @@ build_ubuntu_cpu_clang60() {
USE_MKLDNN=0 \
USE_OPENMP=1 \
USE_DIST_KVSTORE=1 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -486,6 +492,7 @@ build_ubuntu_cpu_clang_tidy() {
-DUSE_MKLDNN=OFF \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DUSE_OPENCV=ON \
-DUSE_LIBJPEG_TURBO=ON \
-DCMAKE_BUILD_TYPE=Debug \
-G Ninja \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
Expand All @@ -510,6 +517,7 @@ build_ubuntu_cpu_clang39_mkldnn() {
USE_CPP_PACKAGE=1 \
USE_BLAS=openblas \
USE_OPENMP=0 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -526,6 +534,7 @@ build_ubuntu_cpu_clang60_mkldnn() {
USE_CPP_PACKAGE=1 \
USE_BLAS=openblas \
USE_OPENMP=1 \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -539,6 +548,7 @@ build_ubuntu_cpu_mkldnn() {
ENABLE_TESTCOVERAGE=1 \
USE_CPP_PACKAGE=1 \
USE_BLAS=openblas \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand All @@ -552,6 +562,7 @@ build_ubuntu_cpu_mkldnn_mkl() {
ENABLE_TESTCOVERAGE=1 \
USE_CPP_PACKAGE=1 \
USE_BLAS=mkl \
USE_LIBJPEG_TURBO=1 \
-j$(nproc)
}

Expand Down Expand Up @@ -608,6 +619,7 @@ build_ubuntu_gpu_tensorrt() {
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DUSE_CUDNN=1 \
-DUSE_OPENCV=1 \
-DUSE_LIBJPEG_TURBO=ON \
-DUSE_TENSORRT=1 \
-DUSE_OPENMP=0 \
-DUSE_MKLDNN=0 \
Expand All @@ -634,6 +646,7 @@ build_ubuntu_gpu_mkldnn() {
USE_CUDA=1 \
USE_CUDA_PATH=/usr/local/cuda \
USE_CUDNN=1 \
USE_LIBJPEG_TURBO=1 \
CUDA_ARCH="$CI_CUDA_COMPUTE_CAPABILITIES" \
-j$(nproc)
}
Expand All @@ -650,6 +663,7 @@ build_ubuntu_gpu_mkldnn_nocudnn() {
USE_CUDA=1 \
USE_CUDA_PATH=/usr/local/cuda \
USE_CUDNN=0 \
USE_LIBJPEG_TURBO=1 \
CUDA_ARCH="$CI_CUDA_COMPUTE_CAPABILITIES" \
-j$(nproc)
}
Expand All @@ -668,6 +682,7 @@ build_ubuntu_gpu_cuda91_cudnn7() {
USE_CUDNN=1 \
USE_CPP_PACKAGE=1 \
USE_DIST_KVSTORE=1 \
USE_LIBJPEG_TURBO=1 \
CUDA_ARCH="$CI_CUDA_COMPUTE_CAPABILITIES" \
-j$(nproc)
}
Expand Down Expand Up @@ -709,6 +724,7 @@ build_ubuntu_gpu_cmake_mkldnn() {
-DCMAKE_BUILD_TYPE=Release \
-DCUDA_ARCH_NAME=Manual \
-DCUDA_ARCH_BIN=$CI_CMAKE_CUDA_ARCH_BIN \
-DUSE_LIBJPEG_TURBO=ON \
-G Ninja \
/work/mxnet

Expand Down Expand Up @@ -737,6 +753,7 @@ build_ubuntu_gpu_cmake() {
-DCMAKE_BUILD_TYPE=Release \
-DCUDA_ARCH_NAME=Manual \
-DCUDA_ARCH_BIN=$CI_CMAKE_CUDA_ARCH_BIN \
-DUSE_LIBJPEG_TURBO=ON \
-G Ninja \
/work/mxnet

Expand Down

0 comments on commit bb99ce2

Please sign in to comment.