From 5d51dff38097e8c2bf46d7a5b804e65935aa7f47 Mon Sep 17 00:00:00 2001 From: Chenna Kautilya Date: Wed, 13 Sep 2023 08:44:41 -0700 Subject: [PATCH] Add sccache mixin (#35) --- index.yaml | 1 + sccache.mixin | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 sccache.mixin diff --git a/index.yaml b/index.yaml index 3cb4cb9..927823a 100644 --- a/index.yaml +++ b/index.yaml @@ -12,6 +12,7 @@ mixin: - memcheck.mixin - mold.mixin - ninja.mixin + - sccache.mixin - shared.mixin - test-linters.mixin - tsan.mixin diff --git a/sccache.mixin b/sccache.mixin new file mode 100644 index 0000000..63454a3 --- /dev/null +++ b/sccache.mixin @@ -0,0 +1,10 @@ +{ + "build": { + "sccache": { + "cmake-args": [ + "-DCMAKE_C_COMPILER_LAUNCHER=sccache", + "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" + ] + } + } +}