Skip to content

Commit b0368ec

Browse files
authored
Add check for tizen in ilc and crossgen2 (dotnet#90310)
1 parent c2c48d2 commit b0368ec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<PublishDir>$(RuntimeBinDir)ilc-published/</PublishDir>
1313
<!-- Can't use NativeAOT in source build yet https://github.com/dotnet/runtime/issues/66859 -->
1414
<NativeAotSupported Condition="'$(DotNetBuildFromSource)' == 'true'">false</NativeAotSupported>
15+
<NativeAotSupported Condition="$(OutputRID.StartsWith('tizen')) == 'true'">false</NativeAotSupported>
1516
<!-- Disable native AOT on FreeBSD when cross building from Linux. -->
1617
<NativeAotSupported Condition="'$(TargetOS)' == 'freebsd' and '$(CrossBuild)' == 'true'">false</NativeAotSupported>
1718
<PublishAot Condition="'$(NativeAotSupported)' == 'true'">true</PublishAot>

src/coreclr/tools/aot/crossgen2/crossgen2.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<OutputPath>$(RuntimeBinDir)crossgen2</OutputPath>
77
<!-- Can't use NativeAOT in source build yet https://github.com/dotnet/runtime/issues/66859 -->
88
<NativeAotSupported Condition="'$(DotNetBuildFromSource)' == 'true'">false</NativeAotSupported>
9+
<NativeAotSupported Condition="$(OutputRID.StartsWith('tizen')) == 'true'">false</NativeAotSupported>
910
<!-- Trimming is not currently working, but set the appropriate feature flags for NativeAOT -->
1011
<PublishTrimmed Condition="'$(NativeAotSupported)' == 'true'">true</PublishTrimmed>
1112
<RuntimeIdentifiers Condition="'$(_IsPublishing)' != 'true' and '$(DotNetBuildFromSource)' != 'true'">linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;freebsd-arm64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64</RuntimeIdentifiers>

0 commit comments

Comments
 (0)