| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
This avoids messages to stderr about VERSION being missing, and allows
us to skip the autogen step.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
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.
|