mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
doc: add LLVM instruction for macOS < 13
Github-Pull: #29934
Rebased-From: 22574046c9
This commit is contained in:
parent
a995902d60
commit
475aac41fb
1 changed files with 14 additions and 0 deletions
|
@ -51,6 +51,20 @@ To install, run the following from your terminal:
|
|||
brew install automake libtool boost pkg-config libevent
|
||||
```
|
||||
|
||||
For macOS 11 (Big Sur) and 12 (Monterey) you need to install a more recent version of llvm.
|
||||
|
||||
``` bash
|
||||
brew install llvm
|
||||
```
|
||||
|
||||
And append the following to the configure commands below:
|
||||
|
||||
``` bash
|
||||
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
|
||||
```
|
||||
|
||||
Try `llvm@17` if compilation fails with the default version of llvm.
|
||||
|
||||
### 4. Clone Bitcoin repository
|
||||
|
||||
`git` should already be installed by default on your system.
|
||||
|
|
Loading…
Add table
Reference in a new issue