mirror of https://github.com/KLayout/klayout.git
bugfix: ccache not in path.
This commit is contained in:
parent
a220e2e0e0
commit
36af902e3f
|
|
@ -26,21 +26,28 @@ if [[ $DOCKER_IMAGE == "quay.io/pypa/manylinux1_x86_64" ]]; then
|
||||||
ln -s /usr/bin/ccache /usr/lib64/ccache/cc
|
ln -s /usr/bin/ccache /usr/lib64/ccache/cc
|
||||||
ln -s /usr/bin/ccache /usr/lib64/ccache/gcc
|
ln -s /usr/bin/ccache /usr/lib64/ccache/gcc
|
||||||
ln -s /usr/bin/ccache /usr/lib64/ccache/g++
|
ln -s /usr/bin/ccache /usr/lib64/ccache/g++
|
||||||
|
export PATH="/usr/lib64/ccache/:$PATH"
|
||||||
elif [[ $DOCKER_IMAGE == "quay.io/pypa/manylinux1_i686" ]]; then
|
elif [[ $DOCKER_IMAGE == "quay.io/pypa/manylinux1_i686" ]]; then
|
||||||
ln -s /usr/bin/ccache /usr/lib/ccache/c++
|
ln -s /usr/bin/ccache /usr/lib/ccache/c++
|
||||||
ln -s /usr/bin/ccache /usr/lib/ccache/cc
|
ln -s /usr/bin/ccache /usr/lib/ccache/cc
|
||||||
ln -s /usr/bin/ccache /usr/lib/ccache/gcc
|
ln -s /usr/bin/ccache /usr/lib/ccache/gcc
|
||||||
ln -s /usr/bin/ccache /usr/lib/ccache/g++
|
ln -s /usr/bin/ccache /usr/lib/ccache/g++
|
||||||
|
export PATH="/usr/lib/ccache/:$PATH"
|
||||||
fi
|
fi
|
||||||
echo $PATH
|
echo $PATH
|
||||||
# /usr/lib64/ccache:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
||||||
export CCACHE_DIR="/io/ccache"
|
export CCACHE_DIR="/io/ccache"
|
||||||
|
|
||||||
|
# Show ccache stats
|
||||||
|
echo "Cache stats:"
|
||||||
|
ccache -s
|
||||||
|
|
||||||
cd /io
|
cd /io
|
||||||
|
|
||||||
# Compile wheel
|
# Compile wheel
|
||||||
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
"/opt/python/$PY_VERSION/bin/python" setup.py bdist_wheel -d /io/wheelhouse/ || exit 1
|
||||||
|
|
||||||
# Show ccache stats
|
# Show ccache stats
|
||||||
|
echo "Cache stats:"
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
# Bundle external shared libraries into the wheels via auditwheel
|
# Bundle external shared libraries into the wheels via auditwheel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue