Commit graph

2 commits

Author SHA1 Message Date
Calin Culianu
5b43044059 Linux static build: Force use of gcc-13 in docker images
- We install GCC 13.1 from a ppa in all of the docker containers, and use it
- We compile now with -static-libstdc++ to preserve compatibility with
  stock systems.

However, on GCC 13.1 we got some compile warnings & errors so we:

- Updated libzmq to 4.3.5 (and cppzmq to 4.10.0)
- Updated jemalloc to 5.3.0

We also removed support for the linux_ub16 build (since there are no
sufficiently new C++20 capable compilers available for this Ubuntu
version).
2024-05-23 00:04:24 +03:00
Calin Culianu
5edeaa9b8b
Add jemalloc static library to the static library builder for Windows & Linux (#56)
This makes the docker-based static library builder (`contrib/build/build.sh`) 
clone and compile jemalloc. It then links the jemalloc library statically the 
generated static executable.

Tested and works on both Linux and Windows.

Also in this commit: Added a "Jemalloc" key to the stats outputted by the 
"/stats" HTTP endpoint, which includes some of the output of `malloc_print_stats()` 
from Jemalloc.  Note that for this to contain any data, the jemalloc library must be 
linked at compile-time.
2020-08-28 15:19:08 +03:00