Skip to content
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

Update build instructions #57

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions docs/rpc/run-rpc-node-without-nearup.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ takes approximately 25 minutes). Note that compilation will need over
with processes being killed, you might want to try reducing number of
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.

By the way, if you’re familiar with Cargo, you could wonder why not
run `cargo build -p neard --release` instead. While this will produce
a binary, the result will be a less optimized version. On technical
level, this is because building via `make neard` enables link-time
optimisation which is disabled by default.
If you’re familiar with Cargo, you could also run `cargo build -p neard
--release` instead, which might or might not be equivalent to `make release`. It
is equivalent at the time of writing, but we don't guarantee this. If in doubt,
consult the `Makefile`, or just stick with `make release`.

The binary path is `target/release/neard`

Expand Down Expand Up @@ -181,11 +180,10 @@ takes approximately 25 minutes). Note that compilation will need over
with processes being killed, you might want to try reducing number of
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.

By the way, if you’re familiar with Cargo, you could wonder why not
run `cargo build -p neard --release` instead. While this will produce
a binary, the result will be a less optimized version. On technical
level, this is because building via `make neard` enables link-time
optimisation which is disabled by default.
If you’re familiar with Cargo, you could also run `cargo build -p neard
--release` instead, which might or might not be equivalent to `make release`. It
is equivalent at the time of writing, but we don't guarantee this. If in doubt,
consult the `Makefile`, or just stick with `make release`.

The binary path is `target/release/neard`

Expand Down