From 5ed46d575ead7f3a85de5605e234f5d534f536e3 Mon Sep 17 00:00:00 2001 From: Fan Yang <52458914+fanyang-mono@users.noreply.github.com> Date: Thu, 6 Oct 2022 13:31:13 -0400 Subject: [PATCH] [Mono] Disable LLVM JIT (#2134) --- src/BenchmarkDotNet/Extensions/ProcessExtensions.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/BenchmarkDotNet/Extensions/ProcessExtensions.cs b/src/BenchmarkDotNet/Extensions/ProcessExtensions.cs index 9dffbf5eff..5c0ae5e82f 100644 --- a/src/BenchmarkDotNet/Extensions/ProcessExtensions.cs +++ b/src/BenchmarkDotNet/Extensions/ProcessExtensions.cs @@ -149,15 +149,6 @@ internal static void SetEnvironmentVariables(this ProcessStartInfo start, Benchm // disable ReSharper's Dynamic Program Analysis (see https://github.com/dotnet/BenchmarkDotNet/issues/1871 for details) start.EnvironmentVariables["JETBRAINS_DPA_AGENT_ENABLE"] = "0"; - if (benchmarkCase.Job.Infrastructure.Toolchain is MonoAotLLVMToolChain) - { - MonoAotLLVMRuntime aotruntime = (MonoAotLLVMRuntime)benchmarkCase.GetRuntime(); - - if (aotruntime.AOTCompilerMode == MonoAotCompilerMode.llvm) - { - start.EnvironmentVariables["MONO_ENV_OPTIONS"] = "--llvm"; - } - } if (!benchmarkCase.Job.HasValue(EnvironmentMode.EnvironmentVariablesCharacteristic)) return;