@@ -258,6 +258,7 @@ extends:
258258 displayName : Linux-ARM64-gnu
259259 pool :
260260 type : linux
261+ hostArchitecture : arm64
261262 steps :
262263 - task : RustInstaller@1
263264 inputs :
@@ -310,6 +311,7 @@ extends:
310311 displayName : Linux-ARM64-musl
311312 pool :
312313 type : linux
314+ hostArchitecture : arm64
313315 steps :
314316 - task : RustInstaller@1
315317 inputs :
@@ -323,14 +325,13 @@ extends:
323325 $env:CC_aarch64_unknown_linux_musl='clang'
324326 $env:AR_aarch64_unknown_linux_musl='llvm-ar'
325327 $env:CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"
326- dpkg --add-architecture arm64
327- apt update -o APT::Architecture="arm64" -o APT::Architectures="arm64"
328- apt -y install clang:arm64
329- apt -y install llvm:arm64
330- apt -y install musl-tools:arm64
331- apt -y install gcc-multilib:arm64
332- apt -y install libssl-dev:arm64
333- apt -y install pkg-config:arm54
328+ apt update
329+ apt -y install clang
330+ apt -y install llvm
331+ apt -y install musl-tools
332+ apt -y install gcc-multilib
333+ apt -y install libssl-dev
334+ apt -y install pkg-config
334335 rustup default stable-aarch64-unknown-linux-musl
335336 ./build.ps1 -Release -Architecture aarch64-unknown-linux-musl
336337 ./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-musl -Release
0 commit comments