Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-11-04 21:11:25 +0300
committerWes Haggard <weshaggard@users.noreply.github.com>2017-11-04 21:11:25 +0300
commit203e4dbeb141b932bf4750276c3aac9a4aaf902e (patch)
tree5d52ab587c2a9eb1a03ef2bade3d9a943ec96ba0 /src/coreclr/crosscomponents.cmake
parent239444541b60ec8f6d9138a004e6ef6aca303509 (diff)
[Infrastructure] Use MSBuild v15 extension point to control CL parallelism, abstract MSBuild /maxcpucount switch (dotnet/coreclr#14578)
This commit frees -ExtraParameters and uses MSBuild v15 extension point to control CL compiler parallelism. If MSBuild 15.0 is available - installed with Visual Studio 2017 - CL parallelism control is achieved by using extension point in Microsoft.Common.props file which allows to include Directory.Build.props - for details see [Microsoft.Common.props] [1] file in MSBuild repo. https://github.com/Microsoft/msbuild/blob/dotnet/coreclr@b38e4ceeaaec36c5237ae698041e9b9f18c84876/src/Tasks/Microsoft.Common.props#L36. MSBuild parallelism is controled via abstracted /maxcpucount command line switch which now is available as -MSBuildNodeCount pass through run.cmd/run.sh command line argument with default value equal to /maxcpucount (what defaults to number of logical processors). This allows to control MSBuild parallelism on all supported platforms. It is possible to control MSBuild parallelism programatically via MSBuild public API using MaxNodeCount properties available on the following APIs: Microsoft.Build.Evaluation.ProjectCollection.MaxNodeCount Microsoft.Build.Execution.BuildParameters.MaxNodeCount It's use in current build infrastructure would require creating unnecessary complexity and was ruled out. Commit migrated from https://github.com/dotnet/coreclr/commit/5a01d8a39576f0d07441e4d123a90138f4ae0735
Diffstat (limited to 'src/coreclr/crosscomponents.cmake')
-rw-r--r--src/coreclr/crosscomponents.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/coreclr/crosscomponents.cmake b/src/coreclr/crosscomponents.cmake
index 96c477ee343..1e386dcbaf9 100644
--- a/src/coreclr/crosscomponents.cmake
+++ b/src/coreclr/crosscomponents.cmake
@@ -8,8 +8,13 @@ set (CLR_CROSS_COMPONENTS_LIST
if(NOT CLR_CMAKE_PLATFORM_LINUX)
list (APPEND CLR_CROSS_COMPONENTS_LIST
+ mcs
mscordaccore
mscordbi
sos
+ superpmi
+ superpmi-shim-collector
+ superpmi-shim-counter
+ superpmi-shim-simple
)
endif()