mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge bitcoin/bitcoin#31099: doc: drop macOS LLVM install instructions
79aa8280b2
doc: drop LLVM install instructions (fanquake) Pull request description: Followup from #31048. ACKs for top commit: maflcko: lgtm ACK79aa8280b2
hebasto: ACK79aa8280b2
. Tree-SHA512: 9404845cc9a17f85363ce893addadaaba839b4a37e1e3e64ad4a50eb237ffb78636970480ff2f486ff5bd1b3dba9b85bf3d6654a680b11c6832d17daf6dd6c0a
This commit is contained in:
commit
99e041f86f
1 changed files with 3 additions and 15 deletions
|
@ -1,15 +1,15 @@
|
||||||
# macOS Build Guide
|
# macOS Build Guide
|
||||||
|
|
||||||
**Updated for MacOS [14](https://www.apple.com/macos/sonoma/)**
|
**Updated for MacOS [15](https://www.apple.com/macos/macos-sequoia/)**
|
||||||
|
|
||||||
This guide describes how to build bitcoind, command-line utilities, and GUI on macOS
|
This guide describes how to build bitcoind, command-line utilities, and GUI on macOS.
|
||||||
|
|
||||||
## Preparation
|
## Preparation
|
||||||
|
|
||||||
The commands in this guide should be executed in a Terminal application.
|
The commands in this guide should be executed in a Terminal application.
|
||||||
macOS comes with a built-in Terminal located in:
|
macOS comes with a built-in Terminal located in:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
/Applications/Utilities/Terminal.app
|
/Applications/Utilities/Terminal.app
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -51,18 +51,6 @@ To install, run the following from your terminal:
|
||||||
brew install cmake boost pkg-config libevent
|
brew install cmake boost pkg-config libevent
|
||||||
```
|
```
|
||||||
|
|
||||||
``` bash
|
|
||||||
brew install llvm
|
|
||||||
```
|
|
||||||
|
|
||||||
And append the following to the configure commands below:
|
|
||||||
|
|
||||||
``` bash
|
|
||||||
-DCMAKE_C_COMPILER="$(brew --prefix llvm)/bin/clang" -DCMAKE_CXX_COMPILER="$(brew --prefix llvm)/bin/clang++"
|
|
||||||
```
|
|
||||||
|
|
||||||
Try `llvm@17` if compilation fails with the default version of llvm.
|
|
||||||
|
|
||||||
### 4. Clone Bitcoin repository
|
### 4. Clone Bitcoin repository
|
||||||
|
|
||||||
`git` should already be installed by default on your system.
|
`git` should already be installed by default on your system.
|
||||||
|
|
Loading…
Add table
Reference in a new issue