Skip to content

Commit 256edb9

Browse files
committed
Use ILCompiler_publish.csproj to handle the publish flow like how we do with crossgen2.
1 parent deb09dd commit 256edb9

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

eng/Subsets.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,11 @@
388388
<!-- skip the architectures that don't have LKG runtime packs -->
389389
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\crossgen2\crossgen2_publish.csproj" Condition="'$(NativeAotSupported)' == 'true' and '$(StageOneBuild)' != 'true'" Category="clr" />
390390
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\ILCompiler.Build.Tasks\ILCompiler.Build.Tasks.csproj" Category="clr" Condition="'$(NativeAotSupported)' == 'true'" />
391-
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler.csproj" Category="clr" Condition="'$(NativeAotSupported)' == 'true' and '$(StageOneBuild)' != 'true'" />
391+
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler_publish.csproj" Category="clr" Condition="'$(NativeAotSupported)' == 'true' and '$(StageOneBuild)' != 'true'" />
392392
<ProjectToBuild Include="$(CoreClrProjectRoot)nativeaot\BuildIntegration\BuildIntegration.proj" Category="clr" Condition="'$(NativeAotSupported)' == 'true'" />
393393

394394
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler_inbuild.csproj" Category="clr" />
395+
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler.csproj" Category="clr" />
395396

396397
<ProjectToBuild Include="$(CoreClrProjectRoot)tools\aot\crossgen2\crossgen2_inbuild.csproj" Category="clr" />
397398

src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@
55
</PropertyGroup>
66

77
<Import Project="ILCompiler.props" />
8-
9-
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'">
10-
<PublishDir>$(RuntimeBinDir)ilc-published/</PublishDir>
11-
</PropertyGroup>
12-
13-
<Target Name="PublishCompiler"
14-
Condition="'$(BuildingInsideVisualStudio)' != 'true'"
15-
AfterTargets="Build"
16-
DependsOnTargets="Publish" />
17-
188
</Project>

0 commit comments

Comments
 (0)