build: add some diagnostics to linux build script

This commit is contained in:
Eric Wasylishen 2017-03-05 12:19:36 -07:00
parent 3948541458
commit 7488ad30fc
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,8 @@ if [ -d build ]; then
exit 1
fi
cmake --version
mkdir build
cd build
wget https://github.com/embree/embree/releases/download/v2.13.0/embree-2.13.0.x86_64.linux.tar.gz -O embree.tgz
@ -13,3 +15,8 @@ cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$(pwd)/embree-2.13.0.x86_64.li
make -j8 VERBOSE=1
cpack
# check rpath
readelf -d ./light/light
unzip -X tyrutils-*.zip
readelf -d ./tyrutils-*/bin/light