... | ... | @@ -130,6 +130,38 @@ The Trace Generator is currently not available on newer Mac systems. However Gr |
|
|
cd ~/Downloads
|
|
|
./install_mp.bash macos_read_only master
|
|
|
|
|
|
### Mac with M1
|
|
|
Currently Mac offers Rosetta 2 for running code compiled for X86 arcitecture.
|
|
|
We use this to run Gryphon. Install and run MP Gryphon as follows:
|
|
|
|
|
|
1. Create a command window that is configured to emulate X86, ref. https://dev.to/courier/tips-and-tricks-to-setup-your-apple-m1-for-development-547g:
|
|
|
|
|
|
* Open Finder.
|
|
|
* Click Applications to see applications.
|
|
|
* Click the Utilities folder from the list of applications.
|
|
|
* right click (Control-click) the Terminal icon and from the pop-up menu, select Duplicate.
|
|
|
* Right click the new copy, click Rename, and name it Rosetta Terminal.
|
|
|
* Right click Rosetta Terminal, select Get Info.
|
|
|
* In the Rosetta Terminal info window, check Open using Rosetta. Close the Info window.
|
|
|
* For easier access to the new Rosetta Terminal, drag it to the bar at the bottom.
|
|
|
1. Open the new Rosetta Terminal.
|
|
|
1. Verify that it is emulating x86 instead of arm64 by typing `arch`:
|
|
|
|
|
|
arch
|
|
|
|
|
|
It should return `i386` instead of `arm64`. Although it says i386, it still will not run the 32-bit mode trace-generator.
|
|
|
|
|
|
1. Using the Rosetta Terminal, install MP Gryphon following the instructions for Catalina 10.15 and newer:
|
|
|
|
|
|
cd ~/Downloads
|
|
|
./install_mp.bash macos_read_only master
|
|
|
|
|
|
1. Run Gryphon from the Rosetta Terminal:
|
|
|
|
|
|
cd ~/mp_gryphon/gryphon/python
|
|
|
./mp.py
|
|
|
|
|
|
|
|
|
## Gryphon only
|
|
|
To install Gryphon and preloaded examples only:
|
|
|
|
... | ... | |