From 95b63e47386a654dc1cfe7a7bf0dfa11c74384ff Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 4 Feb 2026 14:28:29 +1030 Subject: [PATCH] Makefile: add "canned-gossmap" target Taked /tmp/gossip_store and created canned gossmap for testing. Signed-off-by: Rusty Russell --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 97983e6a8..fd6c8aa7a 100644 --- a/Makefile +++ b/Makefile @@ -1156,6 +1156,9 @@ ccan-rune-rune.o: $(CCANDIR)/ccan/rune/rune.c ccan-rune-coding.o: $(CCANDIR)/ccan/rune/coding.c @$(call VERBOSE, "cc $<", $(CC) $(CFLAGS) -c -o $@ $<) +canned-gossmap: devtools/gossmap-compress + DATE=`date +%Y-%m-%d` && devtools/gossmap-compress compress --output-node-map /tmp/gossip_store tests/data/gossip-store-$$DATE.compressed > tests/data/gossip-store-$$DATE-node-map && xz -9 tests/data/gossip-store-$$DATE-node-map && ls -l tests/data/gossip-store-$$DATE* + print-binary-sizes: $(ALL_PROGRAMS) $(ALL_TEST_PROGRAMS) $(BIN_PROGRAMS) @echo User programs: @size -t $(PKGLIBEXEC_PROGRAMS) $(filter-out tools/reckless,$(BIN_PROGRAMS)) $(PLUGINS)