aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake
Commit message (Collapse)AuthorAge
...
* build: third-party: enable CXX language earlier (#10862)Daniel Hahler2019-08-27
| | | | | | | | This is required for `CMAKE_CXX_COMPILER` to be set already, not only after including third-party/cmake/BuildGperf.cmake. Closes https://github.com/neovim/neovim/pull/10860. Ref: 31f879983f
* third-party: use neovim/unibilium (#10677)Daniel Hahler2019-08-26
| | | | Ref: https://github.com/neovim/neovim/issues/10302 Fixes https://github.com/neovim/neovim/issues/9071.
* third-party: download: retry (#10599)Daniel Hahler2019-07-24
| | | | | | | | | | | | | | | | | | | | | | This is meant to handle the common case of failing to download libtermkey: FAILED: cd /home/travis/build/neovim/neovim/deps-downloads/libtermkey && /usr/local/cmake-3.12.4/bin/cmake -DPREFIX=/home/travis/nvim-deps/build -DDOWNLOAD_DIR=/home/travis/build/neovim/neovim/deps-downloads/libtermkey -DURL=http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz -DEXPECTED_SHA256=cecbf737f35d18f433c8d7864f63c0f878af41f8bd0255a3ebb16010dc044d5f -DTARGET=libtermkey -DUSE_EXISTING_SRC_DIR=OFF -P /home/travis/build/neovim/neovim/third-party/cmake/DownloadAndExtractFile.cmake && /usr/local/cmake-3.12.4/bin/cmake -E touch /home/travis/nvim-deps/build/src/libtermkey-stamp/libtermkey-download -- file: /home/travis/build/neovim/neovim/deps-downloads/libtermkey/libtermkey-0.21.1.tar.gz -- downloading... src='http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz' dst='/home/travis/build/neovim/neovim/deps-downloads/libtermkey/libtermkey-0.21.1.tar.gz' timeout='none' CMake Error at /home/travis/build/neovim/neovim/third-party/cmake/DownloadAndExtractFile.cmake:77 (message): error: downloading 'http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz' failed status_code: 6 status_string: "Couldn't resolve host name" log: Curl_ipv4_resolve_r failed for www.leonerd.org.uk Couldn't resolve host 'www.leonerd.org.uk' Closing connection 0 Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* build: GetBinaryDeps: move include, fix doc (#10579)Daniel Hahler2019-07-22
|
* third-party: busted 2.0.0-0 (#10517)Daniel Hahler2019-07-16
|
* third-party: use CXX only for BuildGperf (#10512)Daniel Hahler2019-07-15
| | | | | This allows to build deps without g++ when not using the bundled gperf. > make deps DEPS_CMAKE_FLAGS='-DUSE_BUNDLED_GPERF=0'
* tests: use vim.inspect (#10485)Daniel Hahler2019-07-13
| | | | | | | The inspect modules is vendored as `vim.inspect`, and therefore it makes sense to use this in tests also. Ref: https://github.com/neovim/neovim/issues/6580 Ref: https://github.com/neovim/neovim/commit/bb3aa824b
* build: BuildLuv: set/pass WITH_LUA_ENGINE (#10449)Daniel Hahler2019-07-09
| | | Ref: https://github.com/neovim/neovim/pull/10438
* BuildLuarocks: improve commentsDaniel Hahler2019-07-05
| | | | | | | I found it often irritation to see the same comment about "DEPENDS" there all the time. This uses the LuaRocks rock name as a comment instead (which is hard to parse from the recipe), moves the note about DEPENDS to the top (extended), and fixes/aligns some whitespace.
* BuildLuarocks.cmake: use ROCKS_DIRDaniel Hahler2019-07-05
| | | | | | | | With LuaRocks 3 it will include the version, and this will make the upgrade easier then. It also makes sense to factor this out in general for clarity already. Pulled out of https://github.com/neovim/neovim/pull/10292.
* third-party: fix warning with (un)bundled libtermkey/unibilium (#10416)Daniel Hahler2019-07-04
| | | | | | Fixes warning with: > cmake -S third-party -B .deps -DUSE_BUNDLED=OFF -DUSE_BUNDLED_UNIBILIUM=0 -DUSE_BUNDLED_LIBTERMKEY=1 > The dependency target "unibilium" of target "libtermkey" does not exist.
* build: bundle: clean binary dir with new downloads (#10411)Daniel Hahler2019-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required to (re)build e.g. libluv when the version changes (which triggers a new download). With `make deps`, changing the `LUV_URL`/`LUV_SHA256`, and `make deps` again: Before: > Up-to-date: /home/daniel/Vcs/neovim/.deps/usr/lib/libluv.a After: > Installing: /home/daniel/Vcs/neovim/.deps/usr/lib/libluv.a See with https://github.com/neovim/neovim/pull/10358 - where .deps contained libluv 1.29, the merge updates it to 1.30, but then it failed to link because `libluv.a` is considered to be up-to-date (after downloading the new version). Note that header files get installed, since they have the original time stamp, but `libluv.a` is being generated (does not use the timestamp from the archive here, but needs to get rebuild). It could be argued that the build system of the included project should catch/handle this, but it seems to be good practice to clean the binary / build dir with a new download to start from scratch. Ref: https://gitlab.kitware.com/cmake/cmake/issues/19452 Also fixes cmake/BuildLuv / luv-static: use name with -DTARGET for download command, and pass (shared) `SRC_DIR` explicitly instead.
* build: update some test dependencies (#10339)Daniel Hahler2019-06-29
| | | | | | | | | | * build: update some test dependencies * luacheck ignores * BuildLua: add ${BUSTED} to depends for ${BUSTED_LUA} This is required to rebuild it when busted gets updated.
* build: CMake: do not set CMP0059 to old (#10363)Daniel Hahler2019-06-29
| | | | | | | | | Keeps using add_definitions for compatibility with older CMake. Newer CMake (3.12) would have `add_compile_definitions`, but it is not required, since `add_defitions` was meant to be used for compile/preprocessor definitions initially anyway. Ref: https://github.com/neovim/neovim/pull/4389
* build: remove patch: luv-Add-missing-definitions-for-MinGW [skip travis] #10360Daniel Hahler2019-06-28
| | | | Added in 4ae7acd15 initially, but seems to not be necessary anymore, and/or should be send upstream otherwise.
* build: BuildLua: fix check for mingw [skip ci] (#10352)Daniel Hahler2019-06-27
|
* build: use main cmake modules with third-party (#10330)Daniel Hahler2019-06-25
| | | | | | This is meant to make it possible to use `find_package(LuaJit)` etc with the third-party CMake project in general. Followup to https://github.com/neovim/neovim/pull/10297/files#r296439576.
* build: CMake: remove LUAROCKS_VERSION (#10317)Daniel Hahler2019-06-24
| | | This is not necessary and avoids confusion.
* build: luarocks: fall back to luajit (#10297)Daniel Hahler2019-06-24
| | | | | | | | | This regressed in 204ec6337. Currently it would detect/use lua5.3 from the system, but in general luajit is / should be preferred. Noticed this due to nvim-client failing to build with Lua 5.3 (https://github.com/neovim/lua-client/pull/43).
* build: luajit: do not disable jit (#10318)Daniel Hahler2019-06-24
| | | | | | | | This was added in 4c92a0bac to help with debugging, but could also have been just moved there instead of disabling it manually (which was done due to issues on Travis with OSX). Since the JIT is the main feature of luajit, we should not disable it, especially not during compile time.
* build: tests: build luv rock also with USE_BUNDLED_LUV=0 (#10307)Daniel Hahler2019-06-23
| | | | Followup to https://github.com/neovim/neovim/pull/10291 Ref: https://github.com/neovim/neovim/issues/10289
* build: USE_BUNDLED_LUV=0 with USE_BUNDLED_LUAROCKS=1 #10291Daniel Hahler2019-06-22
| | | Fixes https://github.com/neovim/neovim/issues/10289
* lua: introduce vim.loop (expose libuv event-loop) #10123George Zhao2019-06-10
| | | | | | Co-authored-by: Andrey Popp <8mayday@gmail.com> closes #9546 closes #10084
* messages: use proper multiline error message for rpcrequest and API wrappersBjörn Linse2019-05-26
|
* Build gperf with configured host compiler.bryant2019-04-14
| | | | | | This was initially added but unused in 7e2348f2b1b487c875bbcf6c6711a276f9063040, which led to its accidental removal in feee814b304b0c616fb2141bbd7835314f601816.
* third-party: libtermkey v0.20 -> v0.21.1Marco Hinz2019-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ bzr log --line --forward -r v0.20.. 372: Paul "LeoNerd" Evans 2017-03-30 {v0.20} Bumped VERSION to 0.20 373: Paul "LeoNerd" Evans 2017-04-10 [merge] Apply typo fixes from jamessan 374: Paul "LeoNerd" Evans 2017-11-29 Build termkey.pc by invoking a small shell script instead of sed'ing a template 375: Paul "LeoNerd" Evans 2018-03-29 Implement mouse key parsing (thanks Marc André Tanner <mat@brain-dump.org>) 376: Paul "LeoNerd" Evans 2019-01-02 Bugfix for infinite CPU spin on TERM=dumb, which has no terminfo key strings 377: Paul "LeoNerd" Evans 2019-02-14 Fix a couple of valgrind-cleanness errors in DEBUG mode 378: Paul "LeoNerd" Evans 2019-02-14 Fix valgrind uninitialised value warning 379: Paul "LeoNerd" Evans 2019-02-14 Remember to unibi_destroy() even if we never (lazily) loaded terminfo 380: Paul "LeoNerd" Evans 2019-02-14 Bugfix memory leak in TI driver on xterm 381: Paul "LeoNerd" Evans 2019-02-17 driver-ti.c does not need a separate TYPE_MOUSE node type since TERMKEY_TYPE_MOUSE already exists 382: Paul "LeoNerd" Evans 2019-02-17 Perform TI string lookup by iterating all the strings we care about, rather than iterating everything in the DB; that way a hook function can invent new strings 383: Paul "LeoNerd" Evans 2019-02-17 Avoid nonstandard \e sequence in unit tests (via neovim https://github.com/neovim/neovim/blob/master/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.p... 384: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 lacks <unistd.h> and S_ISFIFO() 385: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 needs help to get ssize_t 386: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <termios.h> 387: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no poll() so cannot provide termkey_waitkey() 388: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <strings.h> and needs help getting strcasecmp() 389: Paul "LeoNerd" Evans 2019-02-17 Write the version into the .pc file at 'make install' time so we don't get@VERSION@ from source 390: Paul "LeoNerd" Evans 2019-02-19 {v0.21} Bumped VERSION to 0.21 391: Paul "LeoNerd" Evans 2019-02-19 Bugfix to missing TERMIOS support 392: Paul "LeoNerd" Evans 2019-02-19 Fix offbyone buffer overflow in sprintf calculation of key names (neovim #9630) 393: Paul "LeoNerd" Evans 2019-02-19 {v0.21.1} Remove a pointless (and warny) cast Our local patches are now part of the libtermkey repo and get removed.
* 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/win: LibuvCMakeLists.txt: adapt to moved headersJustin M. Keyes2018-11-01
| | | | | Headers were moved in v1.21.0 https://github.com/libuv/libuv/commit/99ae3edf28fd5c848e886e41ac3f4bd40538e24d
* deps: update to libuv v1.23.2Justin M. Keyes2018-11-01
| | | | | | | | | | | | | | | | | | | Remove libuv-overlapped.patch since UV_OVERLAPPED_PIPE was included in libuv v1.21.0: https://github.com/libuv/libuv/commit/62a0f763a7d1a5bbaa2670b9d2687ba183d2c528 Notable changes since v1.12: - 1.16.0 - uv_os_getppid(): get parent PID - "win,tty: improve SIGWINCH support" (v1.15.0) - 1.18.0 - uv_os_getpid() - 1.19.0 - Windows: uv_kill() pid 0 now means "current process group", like unix. https://github.com/libuv/libuv/commit/890eedaf59cea75faaa6a14b4248a472dcadb831 - 1.20.0 - unix,spawn: respect user stdio flags for new pipe https://github.com/libuv/libuv/commit/c409b3fcff51ea270724e4f43866764e65666095
* build/macOS: fix luajit install stepdm1try2018-10-17
| | | | | prevent luajit to assigning default value to MACOSX_DEPLOYMENT_TARGET ref #9050
* third-party/unibilium: Fix parsing of extended capability entriesJames McCoy2018-10-13
| | | | | | | | | | | | | In the 20180331 release, the format was slightly changed: > 20180331 > + improve terminfo write/read by modifying the fourth item of the > extended header to denote the number of valid strings in the extended > string table (prompted by a comment in unibilium's sources). Since the number of valid string capabilities is not necessarily the same as extstrslen, it's not possible to sanity check the total number of items up front anymore.
* build/MSVC: remove libvterm-Fix-escape-sequences-for-MSVC.patchJustin M. Keyes2018-09-04
| | | | | Not needed after libvterm commit: https://github.com/neovim/libvterm/commit/487f21dbf65f1c28962fef3f064603f415fbaeb2
* Raise minimum CMake version to 2.8.12 and remove compat codeJames McCoy2018-06-18
| | | | | | | 2.8.12 is supported by our main CI targets and [repology] confirms that this is broadly supported. [repology]: https://repology.org/metapackage/cmake/information
* deps: bump lua clientJustin M. Keyes2018-06-10
|
* build/msvc: Add support for building gettext tools with MSVCb-r-o-c-k2018-06-09
| | | | | Only includes the tools needed for Neovim: xgettext, msgfmt, and msgmerge.
* build/msvc: Add libiconv to bundled dependenciesb-r-o-c-k2018-06-09
|
* deps: Fix libvterm and libtermkey escape sequences for MSVCb-r-o-c-k2018-06-03
| | | | | The escape sequence `\e` is non-standard and not supported by MSVC. It caused the terminal emulator to incorrectly interpret certain keys.
* deps: Ignore whitespace when applying libuv patchb-r-o-c-k2018-06-03
|
* deps: Upgrade LuaRocks and remove patchb-r-o-c-k2018-06-03
|
* Change to use bundled libuv to build luverw72018-05-27
|
* Change to use RUNTIME target for DLL installationerw72018-05-23
|
* Change to not use library prefix on MSVCerw72018-05-23
|
* Change conditions to more generallyerw72018-05-23
|
* Remove unnecessary copy of headererw72018-05-23
|
* Change to always use cmake to build libuv on Windowserw72018-05-22
|
* Change to use cmake to build libuverw72018-05-22
|
* Change to enable build by Ninja on Windowserw72018-05-21
|
* win: set TERMINFO_DIRS at build-time (#8408)erw72018-05-19
| | | | Fixes abnormal terminaion when TERM environment variable is set in Windows.
* win: open child stdio handles in overlapped-mode (#8113)Björn Linse2018-04-25
| | | This will be used e.g. by the python client for native asyncio support
* build/freebsd: set CMAKE_MAKE_PROGRAM iff "Unix Makefiles" (#8260)John Szakmeister2018-04-12
| | | | | | | It's only appropriate to set CMAKE_MAKE_PROGRAM to gmake when we're using the "Unix Makefiles" generator. On QB, the nodes have Ninja available and will use it, which means CMAKE_GENERATOR is set to "Ninja". Setting CMAKE_MAKE_PROGRAM was forcing the build to use gmake instead of ninja, which was causing the build failure.