... | ... | @@ -17,7 +17,7 @@ $ git clone https://gitlab.haskell.org/ghc/ghc |
|
|
$ cd ghc
|
|
|
$ ./boot
|
|
|
$ sdk_path="$(xcrun --sdk macosx --show-sdk-path)"
|
|
|
$ ./configure --with-system-ffi --with-intree-gmp --with-ffi-libraries=$sdk_path/usr/lib --with-ffi-includes=$sdk_path/usr/include/ffi
|
|
|
$ ./configure --with-system-libffi --with-intree-gmp --with-ffi-libraries=$sdk_path/usr/lib --with-ffi-includes=$sdk_path/usr/include/ffi
|
|
|
$ hadrian/build
|
|
|
```
|
|
|
|
... | ... | @@ -27,6 +27,6 @@ This is how to get started using the Nix derivation used by GHC CI: |
|
|
```
|
|
|
$ nix build -f .gitlab/darwin/toolchain.nix -o toolchain.sh
|
|
|
$ source toolchain.sh
|
|
|
$ ./configure --with-system-ffi --with-intree-gmp $CONFIGURE_ARGS
|
|
|
$ ./configure --with-system-libffi --with-intree-gmp $CONFIGURE_ARGS
|
|
|
$ hadrian/build
|
|
|
``` |