Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alanspencer committed Nov 14, 2021
1 parent 09f7a53 commit 988e166
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,17 @@ On MacOS running on arm64 (M1 chip) homebrew must be installed under x86_64 to w

3. Install Homebrew (https://brew.sh/). To do this:

`cd ~/Downloads
mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
sudo mv homebrew /usr/local/homebrew
export PATH=$HOME/bin:/usr/local/bin:$PATH
alias brew_86='arch -x86_64 /usr/local/homebrew/bin/brew'`
`cd ~/Downloads`

`mkdir homebrew`

`curl -L https://github.com/Homebrew/brew/tarball/`master | tar xz --strip 1 -C homebrew`

`sudo mv homebrew /usr/local/homebrew`

`export PATH=$HOME/bin:/usr/local/bin:$PATH`

`alias brew_86='arch -x86_64 /usr/local/homebrew/bin/brew'`

If this is not done then homebrew with get installed under arm64 architecture making the VTK libs incompatible with the x86_64 QT compile that is installed by default from the QT binary. QT 6.2 claims to be a universal build (i.e. x86_64 + arm64) but VTK cannot currently be build as a universal library. As such on arm64 MacOS machines we are targeting the Intel x86_64 so that it runs on older Macs and under Rosetta on arm64 (M1 chip) machines. Given more time both QT and VTK might both catch up with the newer Apple silicon around.

Expand Down

0 comments on commit 988e166

Please sign in to comment.