pharo-project / pharo-zeroconf

ZeroConf script generator for http://get.pharo.org
16 stars 15 forks source link

doesn't recognize Mac ARM #36

Closed pdebruic closed 2 years ago

pdebruic commented 2 years ago

On ubuntu ARM curl get.pharo.org/64/90+vm | bash downloads an ARM vm & image.

On an arm Mac it downloads an x86 VM and image .

tesonep commented 2 years ago

I have tried and the script is working correctly. The Script is using the result of uname If I execute

$ uname -a

I got

Darwin rmod-macm1.lille.inria.fr 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 arm64

What are you getting? Is it possible the terminal is running in Rosseta?

MarcusDenker commented 2 years ago

It seems to be ARM Linux... we might not even have VMs yet compiled for that

pdebruic commented 2 years ago

@tesonep so when you run the curl script above you get a arm vm? I do not. Here's my log:

~/tmp % mkdir zeroconf
~/tmp % cd zeroconf
~/tmp/zeroconf % uname -a
Darwin d.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64
~/tmp/zeroconf % uname -m
arm64
~/tmp/zeroconf % curl https://get.pharo.org/64/90+vm | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3054  100  3054    0     0   3598      0 --:--:-- --:--:-- --:--:--  3618
Downloading the latest 90 Image:
    http://files.pharo.org/get-files/90/pharoImage-x86_64.zip
Pharo.image
Downloading the latest pharoVM:
    http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip
pharo-vm/Pharo.app/Contents/MacOS/Pharo
Creating starter scripts pharo and pharo-ui
~/tmp/zeroconf % 
pdebruic commented 2 years ago
#!/usr/bin/env bash
ARCH=`uname -m`
echo $ARCH

gives x86_64 on my machine so I'll figure out what I've got misconfigured..........

Thanks!