New SuperIlc command "compile-framework" and some fixes (dotnet/coreclr#26804)
authorTomáš Rylek <trylek@microsoft.com>
Tue, 24 Sep 2019 06:30:51 +0000 (23:30 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2019 06:30:51 +0000 (23:30 -0700)
commitcef9f273c5d0c2db8dbbc888f1bb4492fb504a9d
treefa29c53b1a3eee68222812820d8d57ae9c5c903f
parentf80616ef9c296bae5cd7763c65cda72ee67a80ce
New SuperIlc command "compile-framework" and some fixes (dotnet/coreclr#26804)

1) New command "compile-framework" does just what it says on the tin.
My thinking is that I'll use this option to build the CPAOT
framework during product build in the envisioned pipeline. I have
added hard-coded exclusions for assemblies that fail to build right
now - about half of them aren't interesting as framework assemblies
(e.g. R2RDump.dll), some other fail with IBC bugs and one other bug
I'm about to investigate.

2) Based on JanV's suggestion I have added a somewhat hacky logic
to exclude the "testhost" folder when building the entire Pridotnet/coreclr#1
test tree. I'm open to suggestions how to tackle this in a cleaner
manner, I have shared my thoughts on the subject in code comments
next to the problematic spots.

Thanks

Tomas

Commit migrated from https://github.com/dotnet/coreclr/commit/ddbdf5739bdfbcc94b245090806371afb3dbbef5
src/coreclr/src/tools/ReadyToRun.SuperIlc/BuildFolderSet.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/CommandLineOptions.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/Commands/CompileDirectoryCommand.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/Commands/CompileFrameworkCommand.cs [new file with mode: 0644]
src/coreclr/src/tools/ReadyToRun.SuperIlc/Commands/CompileNugetCommand.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/Commands/CompileSubtreeCommand.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/ParallelRunner.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/ProcessRunner.cs