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
[LoongArch64] Add nativeaot support on LoongArch64. (#103889)
* [LoongArch64] Add nativeaot support on LoongArch64.
---------
Co-authored-by: Filip Navara <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
Copy file name to clipboardexpand all lines: eng/Subsets.props
+1-1
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@
120
120
<PropertyGroup>
121
121
<!-- CLR NativeAot only builds in a subset of the matrix -->
122
122
<_NativeAotSupportedOSCondition="'$(TargetOS)' == 'windows' or '$(TargetOS)' == 'linux' or '$(TargetOS)' == 'osx' or '$(TargetOS)' == 'maccatalyst' or '$(TargetOS)' == 'iossimulator' or '$(TargetOS)' == 'ios' or '$(TargetOS)' == 'tvossimulator' or '$(TargetOS)' == 'tvos' or '$(TargetOS)' == 'freebsd'">true</_NativeAotSupportedOS>
123
-
<_NativeAotSupportedArchCondition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm' or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' == 'x86')">true</_NativeAotSupportedArch>
123
+
<_NativeAotSupportedArchCondition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'loongarch64' or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' == 'x86')">true</_NativeAotSupportedArch>
124
124
<NativeAotSupportedCondition="'$(_NativeAotSupportedOS)' == 'true' and '$(_NativeAotSupportedArch)' == 'true'">true</NativeAotSupported>
125
125
<UseNativeAotForComponentsCondition="'$(NativeAotSupported)' == 'true' and '$(TargetOS)' == '$(HostOS)' and ('$(TargetOS)' != 'windows' or '$(TargetArchitecture)' != 'x86') and '$(TargetsLinuxBionic)' != 'true' and ('$(TargetsLinuxMusl)' != 'true' or '$(TargetArchitecture)' != 'arm')">true</UseNativeAotForComponents>
# NativeAOT only buildable for a subset of CoreCLR-supported configurations
153
-
if(CLR_CMAKE_HOST_ARCH_ARM64 OR CLR_CMAKE_HOST_ARCH_AMD64 OR CLR_CMAKE_HOST_ARCH_ARM OR (CLR_CMAKE_HOST_ARCH_I386 AND CLR_CMAKE_HOST_WIN32))
153
+
if(CLR_CMAKE_HOST_ARCH_ARM64 OR CLR_CMAKE_HOST_ARCH_AMD64 OR CLR_CMAKE_HOST_ARCH_ARM ORCLR_CMAKE_HOST_ARCH_LOONGARCH64 OR(CLR_CMAKE_HOST_ARCH_I386 AND CLR_CMAKE_HOST_WIN32))
0 commit comments