Skip to content

Commit

Permalink
Update INSTALL.md (#2708)
Browse files Browse the repository at this point in the history
* Update INSTALL.md

* I did not need the additional DYLD_LIBRARY_PATH entry and I was not confident that there was no impact from the changes to the Chez Scheme build instructions so I am mostly reverting those changes

---------

Co-authored-by: G. Allais <[email protected]>
Co-authored-by: Mathew Polzin <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2024
1 parent 073fbef commit c4f99a8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ Make sure that:

- `$PREFIX/bin` is in your `PATH`

Further, on Apple silicon Macs (M1/M2), you need to set the following environment
variables:

``` sh
export IDRIS2_LIBS=/opt/homebrew/lib
export CPATH=/opt/homebrew/include:/opt/homebrew/lib
```

### 2: Installing without an existing Idris 2

You can build from pre-built Chez Scheme source, as long as you have Chez Scheme
Expand Down Expand Up @@ -195,9 +203,8 @@ git clone [email protected]:racket/ChezScheme.git
cd ChezScheme
git submodule init
git submodule update
arch=tarm64osx
./configure --pb
make ${arch}.bootquick
make tarm64osx.bootquick
./configure --threads
make
sudo make install
Expand Down

0 comments on commit c4f99a8

Please sign in to comment.