azure-functions-core-tools icon indicating copy to clipboard operation
azure-functions-core-tools copied to clipboard

Support Windows ARM64

Open wisesimpson opened this issue 4 years ago • 9 comments

I just got Surface Pro X. It's a nice device except it's win-arm64 so I can't run Azure Functions Core Tools on it. I wish I can develop Azure Functions on this beautiful device. Also there're other win-arm64 based devices out there.

wisesimpson avatar Nov 25 '19 00:11 wisesimpson

We could investigate this for V3 if we plan on replacing our GRPC dependency to the grpc-dotnet rather than the native GRPC implementation we're using for V2.

Otherwise we will have to maintain our own GRPC build for Windows ARM64, which I would rather completely avoid. However this will only work to enable dotnet functions.

ahmelsayed avatar Nov 25 '19 21:11 ahmelsayed

@ahmelsayed I'm using JavaScript. How long should I expect for the support?

wisesimpson avatar Nov 25 '19 22:11 wisesimpson

@ahmelsayed, we are planning on migrating to the new gRPC library -- https://github.com/Azure/azure-functions-host/issues/5237

But I am not sure if that'd be enough. As all the language workers (node, python, etc) also use gRPC and may not have language native implementation.

ankitkumarr avatar Nov 26 '19 19:11 ankitkumarr

It won't be enough. We will have to maintain our own build pipeline for grpc modules for language workers for Windows ARM64, which will not be easy. If we enable ARM it'll be for dotnet only

ahmelsayed avatar Nov 26 '19 19:11 ahmelsayed

Ah! Sorry, I missed the part where you said - "However this will only work to enable dotnet functions". Thanks, makes sense.

@wisesimpson, I don't think we have a timeline at the moment for JavaScript functions.

ankitkumarr avatar Nov 26 '19 19:11 ankitkumarr

As a temporary solution can we install the x86 version instead of x64? At least x86 version can be run in emulator.

Currently if I run npm i -g azure-functions-core-tools --unsafe-perm true on Surface Pro X, I got

attempting to GET "https://functionscdn.azureedge.net/public/2.7.1948/Azure.Functions.Cli.win-x64.2.7.1948.zip" [==================] Downloading Azure Functions Core Tools

Why is the x64 version chosen for arm64 system?

wisesimpson avatar Nov 29 '19 00:11 wisesimpson

Closing this, as we are blocked on node support on Windows ARM64, will revisit this once the blockers are resolved

ahmedelnably avatar Dec 11 '19 22:12 ahmedelnably

@ahmedelnably Actually node is not a show stopper here. I can get the "unofficial" build from their official website and runs smoothly. https://unofficial-builds.nodejs.org/download/release/v12.13.1/

Can you consider at least loading the x86 instead of x64 version for Windows ARM64? I assume this fix won't take much developing time. Then at least we can try to run it through emulator.

Thanks

wisesimpson avatar Dec 12 '19 10:12 wisesimpson

Reopening this issue to track work underway to support win-arm64: #3116

michaelpeng36 avatar Aug 09 '22 21:08 michaelpeng36