Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 24aeadf

Browse files
authored
Disable arm64 AOT cross compile on Linux x64 (#1011)
1 parent bdce198 commit 24aeadf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎eng/pipelines/templates/jobs/build.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,17 @@ jobs:
7878

7979
- task: Powershell@2
8080
displayName: "(Native AOT) Install Linux arm64 cross compile toolchain"
81-
condition: and(succeeded(), eq('${{ parameters.OSName }}', 'linux'), eq(variables['Architecture'], 'arm64'))
81+
# The arm64 cross-compilation toolchain install on Linux x64 has glitches. This will be re-enabled once resolved.
82+
# condition: and(succeeded(), eq('${{ parameters.OSName }}', 'linux'), eq(variables['Architecture'], 'arm64'))
83+
condition: eq('false', 'true')
8284
inputs:
8385
pwsh: true
8486
filePath: $(Build.SourcesDirectory)/eng/scripts/Install-LinuxArm64CrossCompileToolchain.ps1
8587

8688
- task: Powershell@2
8789
displayName: "(Native AOT) Build module"
88-
condition: and(succeeded(), ne(variables['NoPackagesChanged'],'true'))
90+
# Native build runs on all platforms except when targeting arm64 from Linux x64.
91+
condition: and(succeeded(), ne(variables['NoPackagesChanged'],'true'), not(and(eq('${{ parameters.OSName }}', 'linux'), eq(variables['Architecture'], 'arm64'))))
8992
inputs:
9093
pwsh: true
9194
filePath: $(Build.SourcesDirectory)/eng/scripts/Build-Module.ps1

0 commit comments

Comments
 (0)