diff --git a/.circleci/ccache.conf b/.circleci/ccache.conf index 4e782aab1350f..08c87c852b3df 100644 --- a/.circleci/ccache.conf +++ b/.circleci/ccache.conf @@ -1,3 +1 @@ -debug = true -debug_level = 1 compiler_check = none diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c3b9f30696d8..7e2dea6a0c1fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -209,11 +209,6 @@ commands: - run: name: "Ccache stats and configuration" command: | - ls -l ~/cache/sysroot/lib/wasm32-emscripten || echo "no build" - ls -l ~/cache/sysroot/include/emscripten/heap.h - cat ~/cache/sysroot/lib/wasm32-emscripten/crtbegin.o.ccache-log - date - cat ~/cache/build/libcompiler_rt/absvdi2.o.ccache-log ccache -s ccache --print-stats ccache -p @@ -617,6 +612,14 @@ jobs: mkdir -p ~/.ccache cat .circleci/ccache.conf cp .circleci/ccache.conf ~/.ccache + - when: + condition: + not: + equal: [ "main", << pipeline.git.branch >> ] + steps: + - run: + name: Set ccache readonly + command: echo "read_only = true" >> ~/.ccache/ccache.conf - build-libs - run: name: Clean build directory