aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildJeMalloc.cmake
Commit message (Collapse)AuthorAge
* Remove support for using jemalloc instead of the system allocatorJames McCoy2019-01-19
| | | | | | There was never any investigation done to determine whether using jemalloc was actually a net benefit for nvim. It has been a portability limitation and adds another factor to consider when triaging issues.
* build: ensure static jemalloc. #3970Thomas Fehér2016-01-09
| | | | | | | | | | Otherwise the dynamic library is built also and find_library will prefer that over the static one. That results in linking against the dynamic library which will not be found after install. This code: https://github.com/neovim/neovim/blob/8b3c399b6d7f4a277d80da4b29349fed944f7d46/third-party/CMakeLists.txt#L130 should prevent the above problem, but it doesn't hurt to be explicit.
* third-party: update jemalloc to 4.0.2Felipe Morales2015-09-22
| | | | | | | | | | | jemalloc 4.0 adds support for OpenBSD, DragonFlyBSD and other platforms. Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.0 4.0.1 and 4.0.2 are bugfix releases Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.1 https://github.com/jemalloc/jemalloc/releases/tag/4.0.2
* CMake: Don't use existing third-party sources by default.Florian Walch2015-09-09
| | | | | | | | Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default. The Homebrew formula, which downloads and extracts the third-party dependency sources before starting the build, would turn this option ON.
* CMake: Build third-party deps in WindowsRui Abreu Ferreira2015-05-15
| | | | | | | | | | | | | | - Update recipes to build with MSVC or cross compile in Unix with Mingw - For recipes that need to be reused, wrap recipe in CMake function using cmake_parse_arguments - New directory .deps/host is the install root for HOST targets, the old .deps/usr is used for TARGET - In windows disable builds for terminal libraries and jemalloc - Added cmake script CopyFilesGlob.cmake to copy files using glob cmake -DFROM_GLOB=*.h -DTO=/usr/include -P CopyFilesGlob.cmake - New CMake variables HOSTDEPS_* can be used in cross compile recipes. Except when the target is UNIX, since that would break 32bit builds in 64bit Unix systems using the Travis 32bit toolchain
* third-party: use the official jemalloc tarballJohn Szakmeister2015-05-11
| | | | | This avoids messages to stderr about VERSION being missing, and allows us to skip the autogen step.
* jemalloc: Force use of prefixed functions.Florian Walch2015-04-29
| | | | | | | | * Set JEMALLOC_NO_DEMANGLE to be able to use `je_*` functions, regardless of how jemalloc was compiled (--with-jemalloc-prefix) * Show jemalloc information in Neovim's version output. Resolve #2449.
* deps: Add jemalloc as an optional dependencyThiago de Arruda2015-04-13
Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the default). To avoid trouble with clang's ASAN, it is disabled by default if the `SANITIZE` option is enabled. Since jemalloc has thread cache for small objects, it fills the gap created by removing klib memory pools. The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to make it work with a custom allocator.