Skip to content

Commit 5ed46d5

Browse files
authored
[Mono] Disable LLVM JIT (#2134)
1 parent ecb25bf commit 5ed46d5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/BenchmarkDotNet/Extensions/ProcessExtensions.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,6 @@ internal static void SetEnvironmentVariables(this ProcessStartInfo start, Benchm
149149
// disable ReSharper's Dynamic Program Analysis (see https://github.com/dotnet/BenchmarkDotNet/issues/1871 for details)
150150
start.EnvironmentVariables["JETBRAINS_DPA_AGENT_ENABLE"] = "0";
151151

152-
if (benchmarkCase.Job.Infrastructure.Toolchain is MonoAotLLVMToolChain)
153-
{
154-
MonoAotLLVMRuntime aotruntime = (MonoAotLLVMRuntime)benchmarkCase.GetRuntime();
155-
156-
if (aotruntime.AOTCompilerMode == MonoAotCompilerMode.llvm)
157-
{
158-
start.EnvironmentVariables["MONO_ENV_OPTIONS"] = "--llvm";
159-
}
160-
}
161152

162153
if (!benchmarkCase.Job.HasValue(EnvironmentMode.EnvironmentVariablesCharacteristic))
163154
return;

0 commit comments

Comments
 (0)