File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ static bool ShouldBuildSequential(BuildPartition partition)
88
88
=> partition . RepresentativeBenchmarkCase . Config . Options . IsSet ( ConfigOptions . DisableParallelBuild )
89
89
// .Net SDK 8+ supports ArtifactsPath for proper parallel builds.
90
90
// Older SDKs may produce builds with incorrect bindings if more than 1 partition is built in parallel.
91
- || ( partition . RepresentativeBenchmarkCase . GetToolchain ( ) . Generator is DotNetCliGenerator && partition . RepresentativeBenchmarkCase . GetRuntime ( ) . RuntimeMoniker < RuntimeMoniker . Net80 ) ;
91
+ || ( partition . RepresentativeBenchmarkCase . GetToolchain ( ) . Generator is DotNetCliGenerator
92
+ && DotNetSdkValidator . GetSdkVersionFromMoniker ( partition . RepresentativeBenchmarkCase . GetRuntime ( ) . RuntimeMoniker ) . Major < 8 ) ;
92
93
93
94
var parallelBuildPartitions = buildPartitions . Where ( x => ! ShouldBuildSequential ( x ) ) . ToArray ( ) ;
94
95
var sequentialBuildPartitions = buildPartitions . Where ( ShouldBuildSequential ) . ToArray ( ) ;
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ private static string CheckFor45PlusVersion(int releaseKey)
199
199
return "" ;
200
200
}
201
201
202
- private static Version GetSdkVersionFromMoniker ( RuntimeMoniker runtimeMoniker )
202
+ internal static Version GetSdkVersionFromMoniker ( RuntimeMoniker runtimeMoniker )
203
203
{
204
204
return runtimeMoniker switch
205
205
{
You can’t perform that action at this time.
0 commit comments