Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing emsdk on ubuntu(use paralles to install ubuntu vmware) fails(Apple M1 hardware) #944

Closed
penghuazhou opened this issue Dec 13, 2021 · 2 comments

Comments

@penghuazhou
Copy link

penghuazhou commented Dec 13, 2021

It alse cannot work in ubuntu(use paralles to install ubuntu 20.04.2 arm64 vmware on macbook m1)

parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio$ git clone https://github.com/emscripten-core/emsdk.git
Cloning into 'emsdk'...
remote: Enumerating objects: 3001, done.
remote: Counting objects: 100% (263/263), done.
remote: Compressing objects: 100% (144/144), done.
remote: Total 3001 (delta 168), reused 197 (delta 118), pack-reused 2738
Receiving objects: 100% (3001/3001), 1.53 MiB | 2.28 MiB/s, done.
Resolving deltas: 100% (1923/1923), done.
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio$ 
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio$ 
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio$ 
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio$ cd emsdk
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio/emsdk$ ./emsdk install tot
Cloning from https://chromium.googlesource.com/emscripten-releases...
Cloning into '/home/parallels/Desktop/istio/emsdk/releases'...
remote: Sending approximately 12.88 MiB ...
remote: Counting objects: 30, done
remote: Finding sources: 100% (30/30)
remote: Total 29567 (delta 17000), reused 29565 (delta 17000)
Receiving objects: 100% (29567/29567), 12.82 MiB | 3.07 MiB/s, done.
Resolving deltas: 100% (17000/17000), done.
Fetching latest changes to the branch/tag 'main' for '/home/parallels/Desktop/istio/emsdk/releases'...
refs/heads/main
Already up to date.
Successfully updated and checked out branch/tag 'main' on repository '/home/parallels/Desktop/istio/emsdk/releases'
Current repository version: "Mon, 13 Dec 2021 03:34:24 +0000 9059f3a910524083e5046157ce4fa5fb603fb537"
error: tool or SDK not found: 'sdk-releases-upstream-9059f3a910524083e5046157ce4fa5fb603fb537-64bit'
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio/emsdk$ 
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio/emsdk$ 
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio/emsdk$ ./emsdk install latest
Resolving SDK alias 'latest' to '3.0.0'
Resolving SDK version '3.0.0' to 'sdk-releases-upstream-7fbe748230f2ce99abbf975d9ad997699efb3153-64bit'
error: tool or SDK not found: 'sdk-releases-upstream-7fbe748230f2ce99abbf975d9ad997699efb3153-64bit'
parallels@ubuntu-linux-20-04-desktop:~/Desktop/istio/emsdk$ 
@sbc100
Copy link
Collaborator

sbc100 commented Dec 13, 2021

I believe this is because the VM is running and arm64 flavor of linux, right?

We don't currently build pre-built binaries from arm64-linux. See #547. In fact I think we can probably close this in favor of #547.

It would certainly be helpful if emsdk was able to give a more useful error message in this case. Something like "architecture XX is not supported".. but it was not easy to do this last time I checked.

@penghuazhou
Copy link
Author

thanks

akoeplinger pushed a commit to akoeplinger/emsdk that referenced this issue Dec 13, 2024
…926.2 (emscripten-core#944)

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.XliffTasks
 From Version 10.0.0-beta.24467.1 -> To Version 10.0.0-beta.24476.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
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

No branches or pull requests

2 participants