Vendor and integrate rpmalloc 1.4.5

- Add vendored/rpmalloc/ with upstream source, license, README, changelog
- Build rpmalloc.o directly linked into mergerfs and tests
- USE_RPMALLOC=1 by default, disabled under SANITIZE
- Static builds use rpmalloc-static.c.o with pthread_create interposer disabled
- Static builds use --allow-multiple-definition for glibc malloc replacement
- rpmalloc provides malloc, free, new, delete, and related overrides
- Add rpmalloc to DEPENDENCIES
This commit is contained in:
Antonio SJ Musumeci 2026-04-30 22:15:25 -05:00
parent 3ff9794fff
commit c560de4ceb
9 changed files with 5199 additions and 5 deletions

View file

@ -6,6 +6,7 @@
* rapidhash: https://github.com/Nicoshev/rapidhash
* fmt: https://github.com/fmtlib/fmt
* concurrentqueue: https://github.com/cameron314/concurrentqueue
* rpmalloc: https://github.com/mjansson/rpmalloc
* scope_guard: https://github.com/Neargye/scope_guard
* subprocess: https://github.com/arun11299/cpp-subprocess
* CLI11: https://github.com/CLIUtils/CLI11