summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-12-19 11:57:42 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-12-20 11:36:18 +0100
commit8ef99074b990410a4748e4ec76ff7cc4baf9867d (patch)
treeb524af84f1616d50216e82f2f610497ac4307d55 /src/other_tools/just_mr
parent981f44d47463ebbc3502494ad2f49173785d632b (diff)
downloadjustbuild-8ef99074b990410a4748e4ec76ff7cc4baf9867d.tar.gz
TreeStructure: make just-mr aware of "tree structure" roots
Diffstat (limited to 'src/other_tools/just_mr')
-rw-r--r--src/other_tools/just_mr/utils.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp
index d0d33a1e..58b6931b 100644
--- a/src/other_tools/just_mr/utils.hpp
+++ b/src/other_tools/just_mr/utils.hpp
@@ -156,7 +156,7 @@ enum class CheckoutType : std::uint8_t {
File,
Distdir,
GitTree,
- Computed
+ Precomputed
};
/// \brief Checkout type map
@@ -168,7 +168,8 @@ std::unordered_map<std::string, CheckoutType> const kCheckoutTypeMap = {
{"file", CheckoutType::File},
{"distdir", CheckoutType::Distdir},
{"git tree", CheckoutType::GitTree},
- {"computed", CheckoutType::Computed}};
+ {"computed", CheckoutType::Precomputed},
+ {"tree structure", CheckoutType::Precomputed}};
namespace JustMR::Utils {
/// \brief Recursive part of the ResolveRepo function.