about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-01 21:37:09 +0200
committerGitHub <noreply@github.com>2022-09-01 21:37:09 +0200
commit1c0561aca6a044dc56038d171ce8610ceec6ccb2 (patch)
tree0d68df0068f975672b482f5561e7084a370076b1 /config.toml.example
parentb05f97d5941bed7d564933716a4f4af8db1c901c (diff)
parent73958fdf14d965eac2148991af99f0e0ad0c97ad (diff)
Rollup merge of #101072 - tmandry:llvm-is-vanilla, r=Mark-Simulacrum
bootstrap: Add llvm-has-rust-patches target option

This is so you can check out an upstream commit in src/llvm-project and
have everything just work.

This simplifies the logic in `is_rust_llvm` a bit; it doesn't need to
check for download-ci-llvm because we would have already errored if both
that and llvm-config were specified on the host platform.
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index b320cdcc109..a967d881b02 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -666,6 +666,10 @@ changelog-seen = 2
 # target.
 #llvm-config = <none> (path)
 
+# Override detection of whether this is a Rust-patched LLVM. This would be used
+# in conjunction with either an llvm-config or build.submodules = false.
+#llvm-has-rust-patches = if llvm-config { false } else { true }
+
 # Normally the build system can find LLVM's FileCheck utility, but if
 # not, you can specify an explicit file name for it.
 #llvm-filecheck = "/path/to/llvm-version/bin/FileCheck"