Skip to content

[ARM] Fix #24810: Support ARM64 architecture for Bicep installation - #24847

Merged
Xing Zhou (zhoxing-ms) merged 1 commit into
Azure:devfrom
navba-MSFT:patch-14
Dec 9, 2022
Merged

Xing Zhou (zhoxing-ms) merged 1 commit into
Azure:devfrom
navba-MSFT:patch-14

Conversation

@navba-MSFT

@navba-MSFT navba-MSFT (navba-MSFT) commented Dec 9, 2022

Copy link
Copy Markdown
Contributor

Fix to support ARM64 arch for Bicep installation

fixes #24810

On OSX ARM64 architecture VMs the Bicep install fails because the bicep_target_platform_type enum currently has only x64 arch. So this ends up installing x64 version. It eventually fails with the below error:

$ az bicep install --target-platform osx-arm64
az bicep install: 'osx-arm64' is not a valid value for '--target-platform'. Allowed values: win-x64, linux-musl-x64, linux-x64, osx-x64.
> az bicep version
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Here is the download URL for the ARM64:
https://github.com/Azure/bicep/releases/latest/download/bicep-linux-arm64
https://github.com/Azure/bicep/releases/download/v0.13.1/bicep-osx-arm64

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

…stallation

 fixes Azure#24810 

On OSX ARM64 architecture VMs the Bicep install fails because the `bicep_target_platform_type` enum currently has only x64 arch. So this ends up installing x64 version. It eventually fails with the below error:

```
$ az bicep install --target-platform osx-arm64
az bicep install: 'osx-arm64' is not a valid value for '--target-platform'. Allowed values: win-x64, linux-musl-x64, linux-x64, osx-x64.
```

```
> az bicep version
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
```
@yonzhan

Copy link
Copy Markdown
Collaborator

AzureBicep

@shenglol Shenglong Li (shenglol) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@shenglol

Copy link
Copy Markdown
Contributor

Xing Zhou (@zhoxing-ms) Could you help merge the PR? Thanks.

@zhoxing-ms Xing Zhou (zhoxing-ms) changed the title {AzureBicep} fixes Azure/azure-cli#24810 Fix to support ARM64 arch for Bicep installation [ARM] Fix #24810: Support ARM64 architecture for Bicep installation Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot Installation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OS architecture mismatch when installing Azure Bicep with the az bicep install command

5 participants