Commit ad8afc0
[build] Enable CoreCLR runtime pack for android-arm (armeabi-v7a) (#11172)
Enable the CoreCLR runtime flavor for the armeabi-v7a (android-arm) ABI,
mirroring the existing android-arm64 and android-x64 wiring. Scope is
CoreCLR only; NativeAOT for android-arm remains tracked separately (#11423).
- Ndk.projitems: set SupportCoreCLR=True for armeabi-v7a. This drives both
the CoreCLR pack production (build-tools/create-packs) and the native
runtime RID list.
- native-clr.csproj: add armeabi-v7a/arm to the native CoreCLR build ABIs
and replace the stale "arm64 only" comment.
- CMakeLists.txt: set RUNTIME_DIR_ARM for the CoreCLR local and packaged
runtime paths (it was only set for MonoVM before).
- xa_build_configuration.cmake.in + cmake-config.csproj: add the
CORECLR_APP_RUNTIME_DIR_ARM path and its @CORECLR_APP_RUNTIME_ANDROID_ARM@
substitution.
- CMakePresets.json.in: add coreclr-default-debug/release-armeabi-v7a presets.
- WorkloadManifest.in.json: add Microsoft.Android.Runtime.CoreCLR.37.android-arm
to the workload pack list and pack definitions.
Requires the microsoft.netcore.app.runtime.android-arm CoreCLR runtime pack
from dotnet/runtime to be available end-to-end; CI may be red until that
dependency flows in.
### [workloads] Restore CoreCLR android-arm runtime pack
Add the missing Microsoft.NETCore.App.Runtime.android-arm PackageDownload
to workloads.csproj. Without it the CoreCLR arm32 runtime pack is never
restored into $(XAPackagesDir), so RUNTIME_DIR_ARM (set in CMakeLists.txt /
cmake-config.csproj) points at a non-existent directory and the native
CoreCLR arm build cannot find the runtime.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 96f5017 commit ad8afc0
9 files changed
Lines changed: 27 additions & 5 deletions
File tree
- build-tools/scripts
- src
- Xamarin.Android.Build.Tasks/Microsoft.NET.Sdk.Android
- native
- clr/host
- cmake-config
- workloads
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
159 | 169 | | |
160 | 170 | | |
161 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments