Skip to content

Fix common.lib.ps1 use correct dotnet on ARM64 devices. - #3986

Merged
Medeni Baykal (Haplois) merged 2 commits into
mainfrom
dev/haplois/build-on-arm
Sep 1, 2022
Merged

Medeni Baykal (Haplois) merged 2 commits into
mainfrom
dev/haplois/build-on-arm

Conversation

@Haplois

Copy link
Copy Markdown
Contributor

Build script updated to work on ARM64 devices natively.

@Haplois
Medeni Baykal (Haplois) enabled auto-merge (squash) September 1, 2022 12:35
Comment thread scripts/common.lib.ps1
$x64Architecture = "x64"
if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64")
{
$x64Architecture = "arm64"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What about x86, shall we have some similar logic?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't know, I don't have a device to test it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's keep it as-is for now then.

@Haplois
Medeni Baykal (Haplois) merged commit 2372631 into main Sep 1, 2022
@Haplois
Medeni Baykal (Haplois) deleted the dev/haplois/build-on-arm branch September 1, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants