mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
675 B
14 lines
675 B
1 year ago
|
#=================
|
||
|
# Install ccache (use slighly older release of ccache that works older compilers and cmake)
|
||
|
|
||
|
# Install ccache from source since ccache 3.x packaged with most linux distributions
|
||
|
# does not support Redis backend for caching.
|
||
|
RUN curl -sSL -o ccache.tar.gz https://github.com/ccache/ccache/releases/download/v4.5.1/ccache-4.5.1.tar.gz ${'\\'}
|
||
|
&& tar -zxf ccache.tar.gz ${'\\'}
|
||
|
&& cd ccache-4.5.1 ${'\\'}
|
||
|
&& mkdir build && cd build ${'\\'}
|
||
|
&& cmake -DCMAKE_BUILD_TYPE=Release -DZSTD_FROM_INTERNET=ON -DHIREDIS_FROM_INTERNET=ON .. ${'\\'}
|
||
|
&& make -j4 && make install ${'\\'}
|
||
|
&& cd ../.. ${'\\'}
|
||
|
&& rm -rf ccache-4.5.1 ccache.tar.gz
|