aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/ccache_setup.include
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/dockerfile/ccache_setup.include')
-rw-r--r--templates/tools/dockerfile/ccache_setup.include7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/ccache_setup.include b/templates/tools/dockerfile/ccache_setup.include
new file mode 100644
index 0000000000..2a2de7fdab
--- /dev/null
+++ b/templates/tools/dockerfile/ccache_setup.include
@@ -0,0 +1,7 @@
+# Prepare ccache
+RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
+RUN ln -s /usr/bin/ccache /usr/local/bin/g++
+RUN ln -s /usr/bin/ccache /usr/local/bin/cc
+RUN ln -s /usr/bin/ccache /usr/local/bin/c++
+RUN ln -s /usr/bin/ccache /usr/local/bin/clang
+RUN ln -s /usr/bin/ccache /usr/local/bin/clang++