-
Notifications
You must be signed in to change notification settings - Fork 461
fix(#5566): updated two docs to make build steps clearer #5568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,8 +57,20 @@ $ cd agave | |
$ ./cargo build | ||
``` | ||
|
||
## **3a. Build. (macOS)** | ||
|
||
```bash | ||
$ # Install build dependencies | ||
$ brew install pkg-config libudev protobuf llvm coreutils | ||
$ ./scripts/cargo-install-all.sh . # This takes a while ~45m | ||
|
||
# Include the installed bins in your PATH | ||
$ export PATH=$PATH:$PWD/bin | ||
$ ./cargo build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sonicfromnewyoke I put that there mostly for clarity that from this point the developer can start running the |
||
``` | ||
|
||
> [!NOTE] | ||
> Note that this builds a debug version that is **not suitable for running a testnet or mainnet validator**. Please read [`docs/src/cli/install.md`](docs/src/cli/install.md#build-from-source) for instructions to build a release version for test and production uses. | ||
> Note that these steps build a debug version that is **not suitable for running a testnet or mainnet validator**. Please read [`docs/src/cli/install.md`](docs/src/cli/install.md#build-from-source) for instructions to build a release version for test and production uses. | ||
|
||
# Testing | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wdyt about moving this line a lil bit higher, just after
On Fedora:
paragraph?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah good point, that makes more sense and flows better