Ilya Fedin
|
167a914da5
|
Add jemalloc initialization helper
|
2022-02-01 14:38:31 +03:00 |
|
Ilya Fedin
|
0e6f53ced4
|
Pass library as a part of -Wl argument in external_jemalloc
Or cmake can place the arguments in random order
|
2022-01-12 19:11:14 +03:00 |
|
Ilya Fedin
|
10108ea237
|
Move libdl/libpthread handling to common_options
Setting -pthread makes linking libatomic manually unneeded
|
2022-01-05 12:54:40 +03:00 |
|
Ilya Fedin
|
f2384057de
|
Use --push-state/--pop-state linker options
|
2022-01-05 12:54:40 +03:00 |
|
Ilya Fedin
|
815bdb2fb5
|
Specify submodule path as URL rather than SOURCE_DIR to ExternalProject
|
2021-12-29 01:54:49 +04:00 |
|
Ilya Fedin
|
91c725d5c2
|
Use STEP_TARGETS in external_jemalloc_bundled
|
2021-12-28 22:16:45 +04:00 |
|
Ilya Fedin
|
857a31aec6
|
Remove unneeded GLOBAL from external_jemalloc_bundled
|
2021-12-22 14:03:11 +04:00 |
|
John Preston
|
f3a611c82b
|
Add some hardening compiler / linker flags.
|
2021-09-28 18:44:05 +04:00 |
|
Ilya Fedin
|
3c8e9a0c75
|
Don't link anything for jemalloc on FreeBSD
|
2021-09-15 21:54:27 +03:00 |
|
John Preston
|
2827dd851e
|
Force -fPIE flags in jemalloc build.
|
2021-09-12 01:39:17 +03:00 |
|
Ilya Fedin
|
7ca99a4d08
|
Adjust --as-needed for allocation tracer and jemalloc
|
2021-09-12 00:47:59 +03:00 |
|
Ilya Fedin
|
03fad319f5
|
Use clang to build jemalloc (it crashes with gcc)
|
2021-09-12 00:05:04 +03:00 |
|
Ilya Fedin
|
1ad8c72d78
|
Add missed CMAKE_DL_LIBS
|
2021-09-09 16:52:52 +03:00 |
|
Ilya Fedin
|
2661c92394
|
Fix build on Linux with Ninja generator
|
2021-08-08 09:21:32 +03:00 |
|
John Preston
|
6602ed1ea0
|
Build jemalloc from a submodule.
|
2021-07-30 20:47:13 +03:00 |
|
Ilya Fedin
|
66cca9be57
|
Add SYSTEM flag to target_include_directories where appropriate
|
2021-07-19 19:01:08 +03:00 |
|
Ilya Fedin
|
32ec2b8db2
|
Add missed jemalloc dependencies
|
2021-07-01 23:37:37 +03:00 |
|
Ilya Fedin
|
8d7772ab33
|
Switch from mallocng to jemalloc
|
2021-07-01 21:03:06 +03:00 |
|