From f03bfb871bce3d89f948b7138474f91f22fc930a Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Fri, 13 Sep 2024 18:54:53 +0300 Subject: [PATCH] avoid updating LLVM submodule during bootstrap unit tests Signed-off-by: onur-ozkan --- src/bootstrap/src/core/config/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 9271e809853b7..79c2f73161e48 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -2739,6 +2739,8 @@ impl Config { return false; } + // Fetching the LLVM submodule is unnecessary for self-tests. + #[cfg(not(feature = "bootstrap-self-test"))] self.update_submodule("src/llvm-project"); // Check for untracked changes in `src/llvm-project`.