We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc903c6 commit 3f7ef2dCopy full SHA for 3f7ef2d
src/bootstrap/dist.rs
@@ -1907,6 +1907,14 @@ impl Step for LlvmTools {
1907
let target = self.target;
1908
assert!(builder.config.extended);
1909
1910
+ /* run only if llvm-config isn't used */
1911
+ if let Some(config) = builder.config.target_config.get(&target) {
1912
+ if let Some(ref _s) = config.llvm_config {
1913
+ builder.info(&format!("Skipping LlvmTools stage{} ({}): external LLVM", stage, target));
1914
+ return None;
1915
+ }
1916
1917
+
1918
builder.info(&format!("Dist LlvmTools stage{} ({})", stage, target));
1919
let src = builder.src.join("src/llvm");
1920
let name = pkgname(builder, "llvm-tools");
0 commit comments