Skip to content

Commit

Permalink
[ci] control location of ccache cache + monitor ccache stats
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 25, 2024
1 parent af4c88e commit 90d2ef7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ before_script:
# TODO optimize ta_test build memory consumption
- export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:=1}
- echo "CMAKE_BUILD_PARALLEL_LEVEL=$CMAKE_BUILD_PARALLEL_LEVEL"
# configure ccache
- export CCACHE_DIR=/root/.ccache
- export CCACHE_COMPRESS=true
- export CCACHE_COMPRESSLEVEL=6
# print out the ccache configuration
- ccache -p
# zero out the ccache statistics
- ccache -z

ubuntu:
stage: build
Expand Down Expand Up @@ -64,3 +72,8 @@ ubuntu:
ENABLE_CUDA : [ "ENABLE_CUDA=ON" ]
TA_TARGETS : [ "tiledarray examples-tiledarray check_serial-tiledarray" ]
RUNNER_TAGS: [ cuda ]


after_script:
# print out the ccache statistics
- ccache -s

0 comments on commit 90d2ef7

Please sign in to comment.