Skip to content

Commit

Permalink
Merge #3289
Browse files Browse the repository at this point in the history
3289: Update Building.md on how to build without scrypt r=piotr-iohk a=piotr-iohk

- [x] Update Building.md on how to build without scrypt.

### Comments

 - works for me locally on Linux
 - apparently works on M1 as well based on #2578 (comment)

### Issue Number

ADP-1383


Co-authored-by: Piotr Stachyra <piotr.stachyra@iohk.io>
  • Loading branch information
iohk-bors[bot] and Piotr Stachyra committed May 26, 2022
2 parents 9f1d5c2 + 25b1ae8 commit 0ee136a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/developers/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ See [`nix/overlays/build-tools.nix`](https://github.com/input-output-hk/cardano-
$ cabal install --install-method=copy --installdir=/usr/local/bin
```

7. Build without `scrypt` (for compatibility with Apple M1 chip)

```console
$ cabal configure --disable-tests --disable-benchmarks -f-scrypt -O2
$ cabal build cardano-wallet:exe:cardano-wallet
```

#### Syncing `stack` and `cabal` dependencies

1. Install [stack2cabal](https://hackage.haskell.org/package/stack2cabal)
Expand Down

0 comments on commit 0ee136a

Please sign in to comment.