Skip to content

Commit

Permalink
merge bitcoin#29934: add LLVM instruction for macOS < 13
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Nov 10, 2024
1 parent c0806ea commit d97214c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ See [dependencies.md](dependencies.md) for a complete overview.
brew install automake libtool boost gmp 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 Dash repository

`git` should already be installed by default on your system.
Expand Down

0 comments on commit d97214c

Please sign in to comment.