Enable parallelism in Crossgen2 and add flags for it in SuperIlc. (#495)
authorAnubhav Srivastava <SrivastavaAnubhav@users.noreply.github.com>
Fri, 6 Dec 2019 02:43:00 +0000 (18:43 -0800)
committerFadi Hanna <fadim@microsoft.com>
Fri, 6 Dec 2019 02:43:00 +0000 (18:43 -0800)
commit14a1cdb50f0341eddcef0160fece562c1c008e96
tree637fb9ea7cc493afed2689774da9abd53ec85983
parenta6d62d618c4457f13767c78f3864799577a0ea6f
Enable parallelism in Crossgen2 and add flags for it in SuperIlc. (#495)

* Enable parallelism in Crossgen2 and add flags for it in SuperIlc.

* Use fluent api pattern in ReadyToRunCodegenCompilationBuilder for resilient, IBC tuning, and parallelism flags.
src/coreclr/src/tools/ReadyToRun.SuperIlc/BuildOptions.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/CommandLineOptions.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/CpaotRunner.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/ReadyToRunCodegenCompilation.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/ReadyToRunCodegenCompilationBuilder.cs
src/coreclr/src/tools/crossgen2/crossgen2/CommandLineOptions.cs
src/coreclr/src/tools/crossgen2/crossgen2/Program.cs