mirror of https://github.com/grpc/grpc.git
Enable ccache in more builds (#28665)
* upgrade ruby docker images to debian 11 * upgrade C# docker images to debian11 * update sanity dockerimage to debian11 * upgrade cxx interop to debian11 * add ccache to python interop images * enable use of ccache for interop tests * adjust run_tests.py to new docker images * add ccache to rake-compiler-dock docker images * improve prepare_ccache_symlinks_rc * enable use of ccache in rake-compiler-dock docker containers * add ccache support for python_manylinux2014_aarch64 * add ccache support for python_linux_armv7 * deduplicate python3.9 install * ccache for crosscompiled darwin gems is broken * fix bash -l resetting of PATH in grpc_artifact_python_linux_armv7pull/28684/head
parent
f1e79853ed
commit
1cf6b085f2
29 changed files with 340 additions and 33 deletions
@ -1,3 +1,17 @@ |
||||
FROM larskanis/rake-compiler-dock-mri-x64-mingw32:1.1.0 |
||||
|
||||
RUN find / -name win32.h | while read f ; do sed -i 's/gettimeofday/rb_gettimeofday/' $f ; done |
||||
|
||||
#================= |
||||
# Install ccache |
||||
|
||||
# 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 |
||||
|
@ -1 +1,15 @@ |
||||
FROM larskanis/rake-compiler-dock-mri-x86-linux:1.1.0 |
||||
|
||||
#================= |
||||
# Install ccache |
||||
|
||||
# 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 |
||||
|
@ -1,3 +1,17 @@ |
||||
FROM larskanis/rake-compiler-dock-mri-x86-mingw32:1.1.0 |
||||
|
||||
RUN find / -name win32.h | while read f ; do sed -i 's/gettimeofday/rb_gettimeofday/' $f ; done |
||||
|
||||
#================= |
||||
# Install ccache |
||||
|
||||
# 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 |
||||
|
@ -1 +1,15 @@ |
||||
FROM larskanis/rake-compiler-dock-mri-x86_64-linux:1.1.0 |
||||
|
||||
#================= |
||||
# Install ccache |
||||
|
||||
# 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 |
||||
|
Loading…
Reference in new issue