@@ -571,19 +571,19 @@ private static Job CreateJobForGivenRuntime(Job baseJob, string runtimeId, Comma
571571 return MakeWasmJob ( baseJob , options , "net9.0" , runtimeMoniker ) ;
572572
573573 case RuntimeMoniker . MonoAOTLLVM :
574- return MakeMonoAOTLLVMJob ( baseJob , options , RuntimeInformation . IsNetCore ? CoreRuntime . GetCurrentVersion ( ) . MsBuildMoniker : "net6.0" ) ;
574+ return MakeMonoAOTLLVMJob ( baseJob , options , RuntimeInformation . IsNetCore ? CoreRuntime . GetCurrentVersion ( ) . MsBuildMoniker : "net6.0" , runtimeMoniker ) ;
575575
576576 case RuntimeMoniker . MonoAOTLLVMNet60 :
577- return MakeMonoAOTLLVMJob ( baseJob , options , "net6.0" ) ;
577+ return MakeMonoAOTLLVMJob ( baseJob , options , "net6.0" , runtimeMoniker ) ;
578578
579579 case RuntimeMoniker . MonoAOTLLVMNet70 :
580- return MakeMonoAOTLLVMJob ( baseJob , options , "net7.0" ) ;
580+ return MakeMonoAOTLLVMJob ( baseJob , options , "net7.0" , runtimeMoniker ) ;
581581
582582 case RuntimeMoniker . MonoAOTLLVMNet80 :
583- return MakeMonoAOTLLVMJob ( baseJob , options , "net8.0" ) ;
583+ return MakeMonoAOTLLVMJob ( baseJob , options , "net8.0" , runtimeMoniker ) ;
584584
585585 case RuntimeMoniker . MonoAOTLLVMNet90 :
586- return MakeMonoAOTLLVMJob ( baseJob , options , "net9.0" ) ;
586+ return MakeMonoAOTLLVMJob ( baseJob , options , "net9.0" , runtimeMoniker ) ;
587587
588588 case RuntimeMoniker . Mono60 :
589589 return MakeMonoJob ( baseJob , options , MonoRuntime . Mono60 ) ;
@@ -637,9 +637,9 @@ private static Job MakeMonoJob(Job baseJob, CommandLineOptions options, MonoRunt
637637 packagesPath : options . RestorePath ? . FullName ) ) ) ;
638638 }
639639
640- private static Job MakeMonoAOTLLVMJob ( Job baseJob , CommandLineOptions options , string msBuildMoniker )
640+ private static Job MakeMonoAOTLLVMJob ( Job baseJob , CommandLineOptions options , string msBuildMoniker , RuntimeMoniker moniker )
641641 {
642- var monoAotLLVMRuntime = new MonoAotLLVMRuntime ( aotCompilerPath : options . AOTCompilerPath , aotCompilerMode : options . AOTCompilerMode , msBuildMoniker : msBuildMoniker ) ;
642+ var monoAotLLVMRuntime = new MonoAotLLVMRuntime ( aotCompilerPath : options . AOTCompilerPath , aotCompilerMode : options . AOTCompilerMode , msBuildMoniker : msBuildMoniker , moniker : moniker ) ;
643643
644644 var toolChain = MonoAotLLVMToolChain . From (
645645 new NetCoreAppSettings (
0 commit comments