Skip to content

Commit

Permalink
Update CONTRIBUTING.md (#5695)
Browse files Browse the repository at this point in the history
Added instructions to for running `yarn bootstrap on an Apple silicon based machine.
  • Loading branch information
sobvan authored Apr 29, 2021
1 parent 7decad2 commit 6aa5fd0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,15 @@ sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev p
```

Verify that everything works by running `yarn test node`.

### Develop on MacOs on Apple Silicon (M1 chip)

To install dependencies specify that you explicitly need the arm64 version
```
arch -arm64 brew install pkg-config cairo pango libpng jpeg giflib librsvg
```

After this `yarn bootstrap` can be run with
```
CPLUS_INCLUDE_PATH=/opt/homebrew/include yarn bootstrap
```

0 comments on commit 6aa5fd0

Please sign in to comment.