Auto merge of #125125 - lovesegfault:opt-dist-specify-rustc-perf, r=M… · rust-lang/rust@8387315 (original) (raw)
`@@ -69,6 +69,10 @@ enum EnvironmentCmd {
`
69
69
`#[arg(long, default_value = "opt-artifacts")]
`
70
70
`artifact_dir: Utf8PathBuf,
`
71
71
``
``
72
`` +
/// Checkout directory of rustc-perf
, it will be fetched automatically if unspecified.
``
``
73
`+
#[arg(long)]
`
``
74
`+
rustc_perf_checkout_dir: Option,
`
``
75
+
72
76
`` /// Is LLVM for rustc
built in shared library mode?
``
73
77
`#[arg(long, default_value_t = true)]
`
74
78
`llvm_shared: bool,
`
`@@ -109,6 +113,7 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec)>
`
109
113
` llvm_dir,
`
110
114
` python,
`
111
115
` artifact_dir,
`
``
116
`+
rustc_perf_checkout_dir,
`
112
117
` llvm_shared,
`
113
118
` use_bolt,
`
114
119
` skipped_tests,
`
`@@ -121,6 +126,7 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec)>
`
121
126
`.host_llvm_dir(llvm_dir)
`
122
127
`.artifact_dir(artifact_dir)
`
123
128
`.build_dir(checkout_dir)
`
``
129
`+
.prebuilt_rustc_perf(rustc_perf_checkout_dir)
`
124
130
`.shared_llvm(llvm_shared)
`
125
131
`.use_bolt(use_bolt)
`
126
132
`.skipped_tests(skipped_tests)
`