build: configure CCACHE_BASEDIR for better ccache utilization
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
parent
4a8a93af96
commit
bab4c0543e
|
@ -93,6 +93,7 @@ if [ "${BUILD_RPM}" == "1" ]; then
|
|||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||
ccache -z
|
||||
fi
|
||||
export CCACHE_BASEDIR=$(readlink -m $BUILD_DIR/BUILD/compute-runtime-${VERSION}/)
|
||||
rpmbuild --rebuild ${REPO_DIR}/../output/SRPMS/intel-level-zero-gpu-${VERSION}*.src.rpm "${build_args[@]}"
|
||||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||
ccache -s
|
||||
|
|
|
@ -98,6 +98,7 @@ if [ "${BUILD_RPM}" == "1" ]; then
|
|||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||
ccache -z
|
||||
fi
|
||||
export CCACHE_BASEDIR=$(readlink -m $BUILD_DIR/BUILD/compute-runtime-${VERSION}/)
|
||||
rpmbuild --rebuild ${REPO_DIR}/../output/SRPMS/intel-opencl-${VERSION}*.src.rpm "${build_args[@]}"
|
||||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||
ccache -s
|
||||
|
|
Loading…
Reference in New Issue