Skip to content

Commit 2fd14af

Browse files
pjcollinsgrendello
authored andcommitted
[ci] Build on Ubuntu 20.04 LTS (#24)
.NET Android builds using binutils packages created on Ubuntu 22.04 have been failing on Ubuntu 20.04 with the followng: [llc stderr] /mnt/vss/_work/1/s/bin/Release/dotnet/packs/Microsoft.Android.Sdk.Linux/34.0.101/tools/Linux/binutils/bin/llc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /mnt/vss/_work/1/s/bin/Release/dotnet/packs/Microsoft.Android.Sdk.Linux/34.0.101/tools/Linux/binutils/bin/llc) (TaskId:407) Updates the Linux build to use the oldest (and still supported) Ubuntu LTS to improve compatibility.
1 parent f3a4212 commit 2fd14af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build-tools/automation/azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ variables:
5757
- name: WindowsPoolImage1ESPT
5858
value: 1ESPT-Windows2022
5959
- name: LinuxPoolImage1ESPT
60-
value: 1ESPT-Ubuntu22.04
60+
value: 1ESPT-Ubuntu20.04
6161
- name: MicroBuildPoolName
6262
value: VSEngSS-MicroBuild2022-1ES
6363

@@ -121,14 +121,14 @@ extends:
121121

122122
- script: ./build-llvm.sh
123123
env:
124-
CC: gcc-13
125-
CXX: g++-13
124+
CC: gcc-10
125+
CXX: g++-10
126126
displayName: Build LLVM
127127

128128
- script: ./build-xa-utils.sh
129129
env:
130-
CC: gcc-13
131-
CXX: g++-13
130+
CC: gcc-10
131+
CXX: g++-10
132132
displayName: Build utilities
133133

134134
- script: |

0 commit comments

Comments
 (0)