Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.96k forks source link

Add PPC64 arch support in azure-cli #12805

Open andmax opened 4 years ago

andmax commented 4 years ago

After installing azure-cli on an IBM Power8 (ppc64le) machine with Ubuntu 16.04 (following this link: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest) the installation succeeded, but when I run the az command it fails with:

/usr/bin/az: line 2: /opt/az/bin/python3: cannot execute binary file: Exec format error

This is probably due to the fixed arch=arm64 in the azure-cli installation.

I would like to have arch=ppc64 option for Ubuntu linux distribution of azure-cli.

yonzhan commented 4 years ago

@fengzhou-msft please take a look.