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

Commit

Permalink
add ldd debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhliu committed Aug 26, 2019
1 parent 0858222 commit 9583719
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ build_ubuntu_cpu_openblas() {
export CC="gcc"
export CXX="g++"
build_ccache_wrappers
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH
make \
DEV=1 \
USE_TVM_OP=1 \
Expand All @@ -392,7 +391,6 @@ build_ubuntu_cpu_mkl() {
set -ex
export CC="ccache gcc"
export CXX="ccache g++"
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH
make \
DEV=1 \
ENABLE_TESTCOVERAGE=1 \
Expand All @@ -411,7 +409,6 @@ build_ubuntu_cpu_cmake_debug() {
pushd .
cd /work/build
build_ccache_wrappers
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH
cmake \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
Expand Down Expand Up @@ -558,10 +555,12 @@ build_ubuntu_cpu_clang60_mkldnn() {
}

build_ubuntu_cpu_mkldnn() {
echo "ldd ./lib/libmxnet.so"
ls ./lib/
ldd ./lib/libmxnet.so
set -ex

build_ccache_wrappers
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH

make \
DEV=1 \
Expand All @@ -577,7 +576,6 @@ build_ubuntu_cpu_mkldnn_mkl() {
set -ex

build_ccache_wrappers
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH

make \
DEV=1 \
Expand Down Expand Up @@ -792,7 +790,6 @@ build_ubuntu_cpu_large_tensor() {
set -ex
cd /work/build
build_ccache_wrappers
#export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH
cmake \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
Expand Down Expand Up @@ -854,6 +851,7 @@ sanity_check() {
}

unittest_ubuntu_python2_cpu_cython() {
echo "ldd ./lib/libmxnet.so"
ls ./lib/
ldd ./lib/libmxnet.so
set -ex
Expand All @@ -869,6 +867,9 @@ unittest_ubuntu_python2_cpu_cython() {
}

unittest_ubuntu_python2_cpu() {
echo "ldd ./lib/libmxnet.so"
ls ./lib/
ldd ./lib/libmxnet.so
set -ex
export PYTHONPATH=./python/
export MXNET_MKLDNN_DEBUG=0
Expand All @@ -890,6 +891,9 @@ unittest_ubuntu_python3_cpu() {
}

unittest_ubuntu_python3_cpu_mkldnn() {
echo "ldd ./lib/libmxnet.so"
ls ./lib/
ldd ./lib/libmxnet.so
set -ex
export PYTHONPATH=./python/
export MXNET_MKLDNN_DEBUG=0 # Ignored if not present
Expand Down

0 comments on commit 9583719

Please sign in to comment.