mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-28 15:45:35 +00:00
73dba1a5bc
- Upgrade rust-libp2p `v0.52` implementation to rust-libp2p `v0.52.3`. - Remove rust-libp2p `master` implementation. Given that `v0.52.3` contains the stable QUIC implementation, there is no more need for `master`.
23 lines
700 B
Makefile
23 lines
700 B
Makefile
commitSha := e8759c85c278006f5fc94e823c2a3620abaaf697
|
|
|
|
all: perf
|
|
|
|
perf: rust-libp2p-${commitSha}/target/release/perf
|
|
cp ./rust-libp2p-${commitSha}/target/release/perf .
|
|
|
|
rust-libp2p-${commitSha}/target/release/perf: rust-libp2p-${commitSha}
|
|
docker run --rm --user "$(shell id -u):$(shell id -g)" -v "$(shell pwd)/rust-libp2p-${commitSha}":/usr/src/myapp -w /usr/src/myapp rust:1.69 cargo build --release --bin perf
|
|
|
|
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
|
unzip -o rust-libp2p-${commitSha}.zip
|
|
|
|
rust-libp2p-${commitSha}.zip:
|
|
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip"
|
|
|
|
clean:
|
|
rm rust-libp2p-*.zip
|
|
rm -rf rust-libp2p-*
|
|
rm perf
|
|
|
|
.PHONY: all clean
|