You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starts with crossgen2 and moves shared helpers into a central targets file.
This still leaves a significant amount of work to do. We're still building 3 copies of the crossgen2 and ILC projects (plain, in-build, and AOT) and not all might be necessary. Also, some pieces could maybe be reused in other portions of the build.
There's also no way to _not_ use LKG bits. That's left as future work.
<ProjectToBuildCondition="'$(NativeAotSupported)' == 'true' and ('$(CrossBuild)' == 'true' or '$(BuildArchitecture)' != '$(TargetArchitecture)' or '$(HostOS)' != '$(TargetOS)' or '$(EnableNativeSanitizers)' != '')"Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler_crossarch.csproj"Category="clr" />
366
+
<ProjectToBuildCondition="'$(NativeAotSupported)' == 'true' and ('$(CrossBuild)' == 'true' or '$(BuildArchitecture)' != '$(TargetArchitecture)' or '$(HostOS)' != '$(TargetOS)' or '$(EnableNativeSanitizers)' != '')"Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler_inbuild.csproj"Category="clr" />
<ProjectToBuildCondition="'$(TargetOS)' == 'windows' or ('$(TargetOS)' == 'linux' and ('$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64')) or '$(TargetOS)' == 'osx'"Include="$(CoreClrProjectRoot)tools\SuperFileCheck\SuperFileCheck.csproj"Category="clr" />
<ErrorCondition="!Exists('$(CoreCLRArtifactsPath)') and '$(RuntimeFlavor)' == 'CoreCLR'"
72
64
Text="The CoreCLR artifacts path does not exist '$(CoreCLRArtifactsPath)'. The 'clr' subset must be built before building this project. Configuration: '$(CoreCLRConfiguration)'. To use a different configuration, specify the 'RuntimeConfiguration' property." />
<TargetTripleCondition="'$(CrossCompileArch)' != '' and ($(CrossCompileRid.StartsWith('linux-musl')) or $(CrossCompileRid.StartsWith('alpine')))">$(CrossCompileArch)-alpine-linux-musl</TargetTriple>
57
-
<TargetTripleCondition="'$(CrossCompileArch)' != '' and ($(CrossCompileRid.StartsWith('freebsd')))">$(CrossCompileArch)-unknown-freebsd12</TargetTriple>
58
-
</PropertyGroup>
59
-
60
-
<ItemGroup>
61
-
<LinkerArgInclude="--target=$(TargetTriple)"Condition="'$(TargetOS)' != 'osx' and '$(TargetTriple)' != ''" />
<PropertyGroupCondition="'$(AotOrSingleFile)' == 'true' and '$(UseNativeAotForComponents)' != 'true'">
12
+
<PublishSingleFile>true</PublishSingleFile>
13
+
<PublishReadyToRun>true</PublishReadyToRun>
14
+
<!-- Disable crossgen on NetBSD, illumos, Solaris, and Haiku for now. This can be revisited when we have full support. -->
15
+
<PublishReadyToRunCondition="'$(TargetOS)' == 'netbsd' Or '$(TargetOS)' == 'illumos' Or '$(TargetOS)' == 'solaris' Or '$(TargetOS)' == 'haiku'">false</PublishReadyToRun>
16
+
<!-- Disable crossgen on FreeBSD when cross building from Linux. -->
17
+
<PublishReadyToRunCondition="'$(TargetOS)' == 'freebsd' and '$(CrossBuild)' == 'true'">false</PublishReadyToRun>
<TargetTripleCondition="'$(CrossCompileArch)' != '' and ($(CrossCompileRid.StartsWith('linux-musl')) or $(CrossCompileRid.StartsWith('alpine')))">$(CrossCompileArch)-alpine-linux-musl</TargetTriple>
47
+
<TargetTripleCondition="'$(CrossCompileArch)' != '' and ($(CrossCompileRid.StartsWith('freebsd')))">$(CrossCompileArch)-unknown-freebsd12</TargetTriple>
48
+
</PropertyGroup>
49
+
50
+
<ItemGroup>
51
+
<LinkerArgInclude="--target=$(TargetTriple)"Condition="'$(TargetOS)' != 'osx' and '$(TargetTriple)' != ''" />
0 commit comments