diff --git a/build-core.sh b/build-core.sh index ce78c7625f..ef24c635d1 100755 --- a/build-core.sh +++ b/build-core.sh @@ -70,6 +70,7 @@ cmake .. -G Ninja \ -Dxrpld=TRUE \ -Dtests=TRUE && ccache -z && +ccache -p && ninja -j $3 && echo "=== Re-running final link with verbose output ===" && rm -f rippled && ninja -v rippled && ccache -s && strip -s rippled && diff --git a/release-builder.sh b/release-builder.sh index e3d55b86a8..7ca8d8fa38 100755 --- a/release-builder.sh +++ b/release-builder.sh @@ -195,6 +195,7 @@ ENV PATH=/usr/local/bin:$PATH RUN /hbb_exe/activate-exec bash -c "ccache -M 100G && \ ccache -o cache_dir=/cache/ccache && \ ccache -o compiler_check=content && \ + ccache -o direct_mode=true && \ mkdir -p ~/.conan2 /cache/conan2 /cache/conan2_download /cache/conan2_sources && \ echo 'core.cache:storage_path=/cache/conan2' > ~/.conan2/global.conf && \ echo 'core.download:download_cache=/cache/conan2_download' >> ~/.conan2/global.conf && \