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

Commit

Permalink
Disable ccache log print due to threadunsafety
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoabreu committed Aug 2, 2018
1 parent 564e01a commit 24832a9
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,6 @@ build_jetson() {
popd
}

report_ccache_usage() {
set -ex
pushd .

# Show global ccache summary at the end of each run.
ccache -s
if [ -e $CCACHE_LOGFILE ]
then
# Display local ccache log, excluding some overly verbose output.
cat $CCACHE_LOGFILE | grep -v "Config:" | grep -v "stats.lock"
else
echo "No ccache log found."
fi

popd
}

#
# ARM builds
#
Expand Down Expand Up @@ -159,7 +142,6 @@ build_armv6() {
-G Ninja /work/mxnet

ninja -v
report_ccache_usage
build_wheel
popd
}
Expand Down Expand Up @@ -191,7 +173,6 @@ build_armv7() {
-G Ninja /work/mxnet

ninja -v
report_ccache_usage
build_wheel
popd
}
Expand All @@ -210,7 +191,6 @@ build_armv8() {
-DUSE_MKL_IF_AVAILABLE=OFF\
-G Ninja /work/mxnet
ninja -v
report_ccache_usage
build_wheel
}

Expand All @@ -237,7 +217,6 @@ build_android_armv7() {
-DUSE_MKL_IF_AVAILABLE=OFF\
-G Ninja /work/mxnet
ninja -v
report_ccache_usage
}

build_android_armv8() {
Expand Down Expand Up @@ -270,8 +249,6 @@ build_centos7_cpu() {
USE_BLAS=openblas \
USE_DIST_KVSTORE=1 \
-j$(nproc)

report_ccache_usage
}

build_amzn_linux_cpu() {
Expand All @@ -289,7 +266,6 @@ build_amzn_linux_cpu() {
-DUSE_DIST_KVSTORE=ON\
-G Ninja /work/mxnet
ninja -v
report_ccache_usage
}


Expand All @@ -306,8 +282,6 @@ build_centos7_mkldnn() {
USE_MKLDNN=1 \
USE_BLAS=openblas \
-j$(nproc)

report_ccache_usage
}

build_centos7_gpu() {
Expand Down Expand Up @@ -341,26 +315,6 @@ build_ubuntu_cpu_openblas() {
USE_BLAS=openblas \
USE_DIST_KVSTORE=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_cpu_clang39() {
set -ex

export CXX=clang++-3.9
export CC=clang-3.9

build_ccache_wrappers

make \
USE_CPP_PACKAGE=1 \
USE_BLAS=openblas \
USE_OPENMP=0 \
USE_DIST_KVSTORE=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_cpu_clang50() {
Expand All @@ -377,8 +331,6 @@ build_ubuntu_cpu_clang50() {
USE_OPENMP=1 \
USE_DIST_KVSTORE=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_cpu_clang39_mkldnn() {
Expand All @@ -395,8 +347,6 @@ build_ubuntu_cpu_clang39_mkldnn() {
USE_MKLDNN=1 \
USE_OPENMP=0 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_cpu_clang50_mkldnn() {
Expand All @@ -413,8 +363,6 @@ build_ubuntu_cpu_clang50_mkldnn() {
USE_MKLDNN=1 \
USE_OPENMP=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_cpu_mkldnn() {
Expand All @@ -428,8 +376,6 @@ build_ubuntu_cpu_mkldnn() {
USE_BLAS=openblas \
USE_MKLDNN=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_gpu() {
Expand All @@ -450,8 +396,6 @@ build_ubuntu_gpu_mkldnn() {
USE_CUDA_PATH=/usr/local/cuda \
USE_CUDNN=1 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_gpu_mkldnn_nocudnn() {
Expand All @@ -467,8 +411,6 @@ build_ubuntu_gpu_mkldnn_nocudnn() {
USE_CUDA_PATH=/usr/local/cuda \
USE_CUDNN=0 \
-j$(nproc)

report_ccache_usage
}

build_ubuntu_gpu_cuda91_cudnn7() {
Expand Down Expand Up @@ -515,7 +457,6 @@ build_ubuntu_gpu_cmake_mkldnn() {
/work/mxnet

ninja -v
report_ccache_usage
# libmkldnn.so.0 is a link file. We need an actual binary file named libmkldnn.so.0.
cp 3rdparty/mkldnn/src/libmkldnn.so.0 3rdparty/mkldnn/src/libmkldnn.so.0.tmp
mv 3rdparty/mkldnn/src/libmkldnn.so.0.tmp 3rdparty/mkldnn/src/libmkldnn.so.0
Expand All @@ -537,7 +478,6 @@ build_ubuntu_gpu_cmake() {
/work/mxnet

ninja -v
report_ccache_usage
}


Expand Down

0 comments on commit 24832a9

Please sign in to comment.