ccache.include 600 B

12345678910111213
  1. #=================
  2. # Install ccache
  3. # Install ccache from source since ccache 3.x packaged with most linux distributions
  4. # does not support Redis backend for caching.
  5. RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/download/v4.5.1/ccache-4.5.1.tar.gz ${'\\'}
  6. && tar -zxf ccache.tar.gz ${'\\'}
  7. && cd ccache-4.5.1 ${'\\'}
  8. && mkdir build && cd build ${'\\'}
  9. && cmake -DCMAKE_BUILD_TYPE=Release -DZSTD_FROM_INTERNET=ON -DHIREDIS_FROM_INTERNET=ON .. ${'\\'}
  10. && make -j4 && make install ${'\\'}
  11. && cd ../.. ${'\\'}
  12. && rm -rf ccache-4.5.1 ccache.tar.gz