mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-16 17:45:00 +00:00
add p2pd to deps target
This commit is contained in:
parent
94ade77c99
commit
ea8ef2d6ed
8
Makefile
8
Makefile
@ -31,7 +31,7 @@ build-system-checks:
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
}
|
}
|
||||||
|
|
||||||
deps: | deps-common beacon_chain.nims
|
deps: | deps-common beacon_chain.nims p2pd
|
||||||
|
|
||||||
#- deletes and recreates "beacon_chain.nims" which on Windows is a copy instead of a proper symlink
|
#- deletes and recreates "beacon_chain.nims" which on Windows is a copy instead of a proper symlink
|
||||||
update: | update-common
|
update: | update-common
|
||||||
@ -51,13 +51,13 @@ p2pd: | go-checks
|
|||||||
# Windows 10 with WSL enabled, but no distro installed, fails if "../../nimble.sh" is executed directly
|
# Windows 10 with WSL enabled, but no distro installed, fails if "../../nimble.sh" is executed directly
|
||||||
# in a Makefile recipe but works when prefixing it with `bash`. No idea how the PATH is overridden.
|
# in a Makefile recipe but works when prefixing it with `bash`. No idea how the PATH is overridden.
|
||||||
DISABLE_LFS_SCRIPT := 0
|
DISABLE_LFS_SCRIPT := 0
|
||||||
test: | build deps p2pd
|
test: | build deps
|
||||||
ifeq ($(DISABLE_LFS_SCRIPT), 0)
|
ifeq ($(DISABLE_LFS_SCRIPT), 0)
|
||||||
V=$(V) scripts/process_lfs.sh
|
V=$(V) scripts/process_lfs.sh
|
||||||
endif
|
endif
|
||||||
$(ENV_SCRIPT) nim test $(NIM_PARAMS) beacon_chain.nims && rm -f 0000-*.json
|
$(ENV_SCRIPT) nim test $(NIM_PARAMS) beacon_chain.nims && rm -f 0000-*.json
|
||||||
|
|
||||||
$(TOOLS): | build deps p2pd
|
$(TOOLS): | build deps
|
||||||
for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \
|
for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \
|
||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim"
|
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim"
|
||||||
@ -68,7 +68,7 @@ clean_eth2_network_simulation_files:
|
|||||||
eth2_network_simulation: | build deps p2pd clean_eth2_network_simulation_files
|
eth2_network_simulation: | build deps p2pd clean_eth2_network_simulation_files
|
||||||
GIT_ROOT="$$PWD" tests/simulation/start.sh
|
GIT_ROOT="$$PWD" tests/simulation/start.sh
|
||||||
|
|
||||||
testnet0 testnet1: | build deps p2pd
|
testnet0 testnet1: | build deps
|
||||||
NIM_PARAMS="$(NIM_PARAMS)" $(ENV_SCRIPT) scripts/build_testnet_node.sh $@
|
NIM_PARAMS="$(NIM_PARAMS)" $(ENV_SCRIPT) scripts/build_testnet_node.sh $@
|
||||||
|
|
||||||
clean-testnet0:
|
clean-testnet0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user