comphy-lab / basilisk-C_v2024_Jul23

Version from July 23 2024
0 stars 0 forks source link

Incompatible with Macbook M3 max #1

Open VatsalSy opened 4 months ago

VatsalSy commented 4 months ago

It seems that this recent version of Basilisk is incompatible with M3 max. Reported by @eheshmati and reproduced by @amanb1901

Potential workaround is:

darcs clone http://basilisk.fr/basilisk
cd basilisk/
darcs obliterate --from-tag=24-01-15

simply say yes one by one to all the patches and then make the new installation using

cd src
ln -s config.osx config
make
VatsalSy commented 4 months ago

@amanb1901 tested and the workaround above works.

To do:

amanb1901 commented 4 months ago

It works on my M3 Max now. I needed to install the latest xcode from the appstore and rerun the command line tool installation (the prompt that one gets when you open xcode for the first time after installiation).

amanb1901 commented 4 months ago

However, it still does not work for @eheshmati .. One additional information, despite xcode fresh installation, I still have:

(base) aman@wlan028101:~$ qcc --version Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin (base) aman@wlan028101:~$ cc --version Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

the clang installation directory is /Library/Developer/CommandLineTools/usr/bin instead of the xcode path.