-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prefer chez scheme 10+ over racket fork (#3233)
- Loading branch information
1 parent
ddc634b
commit 1c186f0
Showing
3 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,9 +54,12 @@ make sure you run `./configure --threads` to build multithreading support in. | |
**NOTE**: On FreeBSD, OpenBSD and NetBSD you need to use `gmake` command instead | ||
of `make` in the following steps. | ||
|
||
**NOTE**: If you're running macOS on Apple Silicon (arm64) you will need to | ||
install the Racket fork of chez scheme as described below. If you install gmp | ||
via homebrew, you will also need to `export CPATH=/opt/homebrew/include`. | ||
**NOTE**: If you're running macOS on Apple Silicon (arm64) you will need to use | ||
Chez scheme version `10.0.0` or greater. Homebrew has been updated to ship Chez | ||
Scheme 10+ as of this writing. If you cannot install Chez Scheme 10+, install | ||
the Racket fork of chez scheme as described | ||
[below](#installing-chez-scheme-on-apple-silicon). If you install gmp via | ||
homebrew, you will also need to `export CPATH=/opt/homebrew/include`. | ||
|
||
### 1: Set installation target directory | ||
|
||
|
@@ -194,17 +197,17 @@ nix run github:idris-lang/Idris2#emacs-with-idris idrisCode.idr | |
|
||
## Installing Chez Scheme on Apple Silicon | ||
|
||
The official version of chez scheme does not yet support Apple Silicon. So, on | ||
macOS with Apple Silicon (e.g. M1 and M2 macs), you will need to build and install | ||
the Racket fork of chez scheme. | ||
Chez scheme only supports Apple Silicon for versions `10.0.0` or newer. | ||
|
||
Homebrew bundles Chez Scheme 10+ so if that's your manager of choice, you don't | ||
need to read on. | ||
|
||
If you cannot install that new of a version of Chez Scheme, you will need to | ||
build and install the Racket fork of chez scheme. | ||
|
||
```sh | ||
git clone [email protected]:racket/ChezScheme.git | ||
cd ChezScheme | ||
git submodule init | ||
git submodule update | ||
./configure --pb | ||
make tarm64osx.bootquick | ||
./configure --threads | ||
make | ||
sudo make install | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters