mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 05:53:11 +00:00
chore: optimize libwaku size (#3242)
* avoid compile TRACE level to reduce libwaku size * waku_rln_relay/constants.nim: avoid adding constant seq that is used in tests only * ci:yml USE_LIBBACKTRACE=0 to force -d:debug when running tests
This commit is contained in:
parent
9d0b30cc99
commit
192db550c9
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -117,6 +117,7 @@ jobs:
|
||||
|
||||
export MAKEFLAGS="-j1"
|
||||
export NIMFLAGS="--colors:off -d:chronicles_colors:none"
|
||||
export USE_LIBBACKTRACE=0
|
||||
|
||||
make V=1 LOG_LEVEL=DEBUG QUICK_AND_DIRTY_COMPILER=1 POSTGRES=$postgres_enabled test testwakunode2
|
||||
|
||||
|
||||
1
Makefile
1
Makefile
@ -7,7 +7,6 @@
|
||||
BUILD_SYSTEM_DIR := vendor/nimbus-build-system
|
||||
EXCLUDED_NIM_PACKAGES := vendor/nim-dnsdisc/vendor
|
||||
LINK_PCRE := 0
|
||||
LOG_LEVEL := TRACE
|
||||
FORMAT_MSG := "\\x1B[95mFormatting:\\x1B[39m"
|
||||
# we don't want an error here, so we can handle things later, in the ".DEFAULT" target
|
||||
-include $(BUILD_SYSTEM_DIR)/makefiles/variables.mk
|
||||
|
||||
@ -101,7 +101,7 @@ task testcommon, "Build & run common tests":
|
||||
### Waku tasks
|
||||
task wakunode2, "Build Waku v2 cli node":
|
||||
let name = "wakunode2"
|
||||
buildBinary name, "apps/wakunode2/"
|
||||
buildBinary name, "apps/wakunode2/", " -d:chronicles_log_level='TRACE' "
|
||||
|
||||
task benchmarks, "Some benchmarks":
|
||||
let name = "benchmarks"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user