mirror of https://github.com/waku-org/nwaku.git
chore: adding NIMFLAGS usage to readme (#2469)
This commit is contained in:
parent
216531b0eb
commit
a1d5cbd9a9
1
Makefile
1
Makefile
|
@ -57,6 +57,7 @@ TARGET ?= prod
|
||||||
|
|
||||||
## Git version
|
## Git version
|
||||||
GIT_VERSION ?= $(shell git describe --abbrev=6 --always --tags)
|
GIT_VERSION ?= $(shell git describe --abbrev=6 --always --tags)
|
||||||
|
## Compilation parameters. If defined in the CLI the assignments won't be executed
|
||||||
NIM_PARAMS := $(NIM_PARAMS) -d:git_version=\"$(GIT_VERSION)\"
|
NIM_PARAMS := $(NIM_PARAMS) -d:git_version=\"$(GIT_VERSION)\"
|
||||||
|
|
||||||
## Heaptracker options
|
## Heaptracker options
|
||||||
|
|
|
@ -26,6 +26,10 @@ The standard developer tools, including a C compiler, GNU Make, Bash, and Git. M
|
||||||
# You'll run `make update` after each `git pull` in the future to keep those submodules updated.
|
# You'll run `make update` after each `git pull` in the future to keep those submodules updated.
|
||||||
make wakunode2
|
make wakunode2
|
||||||
|
|
||||||
|
# Build with custom compilation flags. Do not use NIM_PARAMS unless you know what you are doing.
|
||||||
|
# Replace with your own flags
|
||||||
|
make wakunode2 NIMFLAGS="-d:chronicles_colors:none -d:disableMarchNative"
|
||||||
|
|
||||||
# Run with DNS bootstrapping
|
# Run with DNS bootstrapping
|
||||||
./build/wakunode2 --dns-discovery --dns-discovery-url=DNS_BOOTSTRAP_NODE_URL
|
./build/wakunode2 --dns-discovery --dns-discovery-url=DNS_BOOTSTRAP_NODE_URL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue