summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/config.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-06-13 13:30:13 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-06-13 15:55:41 +0200
commita1c2e003f921cc4a04c5845ed18d75546a96fd88 (patch)
tree8c4682d797c0ede6bc2d156b931f6e3282fa68f4 /src/buildtool/execution_api/local/config.hpp
parent27c3ec0bcab188a43c50ba4be0632ab8410bb677 (diff)
downloadjustbuild-a1c2e003f921cc4a04c5845ed18d75546a96fd88.tar.gz
TargetCache: Initial implementation
Diffstat (limited to 'src/buildtool/execution_api/local/config.hpp')
-rw-r--r--src/buildtool/execution_api/local/config.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/local/config.hpp b/src/buildtool/execution_api/local/config.hpp
index 2dc4466b..5ce8b9ef 100644
--- a/src/buildtool/execution_api/local/config.hpp
+++ b/src/buildtool/execution_api/local/config.hpp
@@ -123,6 +123,12 @@ class LocalExecutionConfig {
return CacheRoot() / "ac";
}
+ /// \brief Target cache directory
+ [[nodiscard]] static auto TargetCacheDir() noexcept
+ -> std::filesystem::path {
+ return CacheRoot() / "tc";
+ }
+
[[nodiscard]] static auto GetLauncher() noexcept
-> std::vector<std::string> {
return Data().launcher;