James McCoy
23c9e3ec1e
Raise minimum CMake version to 2.8.12 and remove compat code
...
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
2018-06-18 08:00:30 -04:00
Justin M. Keyes
0191061e34
deps: bump lua client
2018-06-10 16:11:49 +02:00
b-r-o-c-k
e17728a632
build/msvc: Add support for building gettext tools with MSVC
...
Only includes the tools needed for Neovim: xgettext, msgfmt, and
msgmerge.
2018-06-09 20:50:44 -05:00
b-r-o-c-k
d87e5d7016
build/msvc: Add libiconv to bundled dependencies
2018-06-09 20:50:02 -05:00
Justin M. Keyes
7303dd3e54
win/build: download iconv, gettext tools
...
- We need the gettext tools (msgmerge.exe) because these aren't built
when we build from source (not trivial).
- We can use the pre-built libiconv-2.dll for DYNAMIC_ICONV_DLL.
2018-06-06 00:58:57 +02:00
b-r-o-c-k
a80f73f043
deps: Fix libvterm and libtermkey escape sequences for MSVC
...
The escape sequence `\e` is non-standard and not supported by MSVC.
It caused the terminal emulator to incorrectly interpret certain keys.
2018-06-03 22:31:02 +02:00
b-r-o-c-k
90f9f8af6c
deps: Ignore whitespace when applying libuv patch
2018-06-03 22:31:02 +02:00
b-r-o-c-k
f8eb5c83ed
deps: Upgrade LuaRocks and remove patch
2018-06-03 22:31:01 +02:00
Justin M. Keyes
f711b63513
Merge #8434 'win/build: prefer Ninja'
2018-05-27 19:38:17 +02:00
erw7
2bfdceba37
Change to use bundled libuv to build luv
2018-05-27 18:16:29 +09:00
erw7
7f0095cc94
Change to use RUNTIME target for DLL installation
2018-05-23 22:13:53 +09:00
erw7
d337965e09
Change to not use library prefix on MSVC
2018-05-23 22:12:37 +09:00
erw7
655e3167ee
Change conditions to more generally
2018-05-23 20:06:37 +09:00
erw7
fefb67fa88
Remove unnecessary copy of header
2018-05-23 20:03:53 +09:00
erw7
fdf17e33d5
Change to always use cmake to build libuv on Windows
2018-05-22 21:42:05 +09:00
erw7
5000c9dc1f
Change to use cmake to build libuv
2018-05-22 01:08:41 +09:00
erw7
828c9baad2
Change to enable build by Ninja on Windows
2018-05-21 19:32:19 +09:00
erw7
a93658502c
win/build: Fix install ( #8420 )
2018-05-20 18:50:07 +02:00
Justin M. Keyes
efa10881e5
deps: update to msgpack 3.0.0
...
Upgrade msgpack so that Nvim 0.3.0 builds on gcc 8.
ref #7506
2018-05-20 08:52:20 +02:00
erw7
e3707c312a
win: set TERMINFO_DIRS at build-time ( #8408 )
...
Fixes abnormal terminaion when TERM environment variable
is set in Windows.
2018-05-19 00:19:04 +02:00
Björn Linse
009ccfe170
win: open child stdio handles in overlapped-mode ( #8113 )
...
This will be used e.g. by the python client for native asyncio support
2018-04-25 10:11:08 +02:00
John Szakmeister
f44fb5b1a5
build/freebsd: set CMAKE_MAKE_PROGRAM iff "Unix Makefiles" ( #8260 )
...
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.
2018-04-12 12:51:38 +02:00
Utkarsh Anand
1ca138f236
build/OpenBSD: force gmake ( #8222 )
...
fix #8216
2018-04-07 16:10:01 +02:00
Justin M. Keyes
4b26e365ae
Merge #8208 'Clean up dependency patches'
...
closes #6659
2018-04-02 11:57:27 +02:00
Utkarsh Anand
9b7ce00486
build/OpenBSD: need -lpthread -lc++abi for LuaJIT ( #8215 )
2018-04-02 11:08:11 +02:00
b-r-o-c-k
1b898d7af5
build/windows: Patch Luv with a patch file instead of CMake
2018-04-01 20:32:22 -05:00
b-r-o-c-k
57fef8b49b
build/windows: Move libtermkey patches into this repository
2018-04-01 20:32:22 -05:00
b-r-o-c-k
afd46b78c5
build/msvc: Fix libvterm patch
2018-03-26 10:54:44 -05:00
b-r-o-c-k
be67d926c5
build/msvc: Add libintl to bundled dependencies ( #8163 )
2018-03-24 17:58:32 +01:00
b-r-o-c-k
feee814b30
build/windows: Add CMakeLists.txt for gperf
2018-03-18 12:51:39 -05:00
b-r-o-c-k
229604213e
build/windows: Add CMake script to generate headers for Libvterm
...
On Windows the CMake script will replace the Perl script used by
Libvterm to generate headers.
2018-03-18 12:51:30 -05:00
b-r-o-c-k
15c53a44d3
build/windows: Add CMakeLists.txt for Libuv on Windows
...
Adding a CMakeLists.txt for Libuv removes the need for Python
when building on Windows.
2018-03-18 12:50:39 -05:00
b-r-o-c-k
bf789b04f3
build/windows: Ignore whitespace when applying patches
...
The --ignore-whitespace argument was added when applying patches to
prevent failures when patched files have different line endings.
2018-03-18 12:50:39 -05:00
Justin M. Keyes
de919b9b94
build/luarocks: avoid parallelism for luarocks build
...
Is there a race between the luarocks `make bootstrap` dependencies?
reverts f73b4911312b35bfe38ed068672a2f8ba8875ba7
ref https://github.com/luarocks/luarocks/pull/774
2018-03-11 12:43:42 +01:00
Justin M. Keyes
90963a9c55
build/luarocks: apply "Fix siteconfig" patch
...
upstream: https://github.com/luarocks/luarocks/pull/774
2018-03-11 12:43:42 +01:00
b-r-o-c-k
8ba8d7244f
build/msvc: Add Git as a requirement for Windows patches
2018-03-06 20:52:27 -06:00
b-r-o-c-k
cfb713b5c6
build/msvc: Add Appveyor CI for MSVC
2018-03-04 17:44:23 -06:00
b-r-o-c-k
8e30598115
build/msvc: Remove pkgconfig dependency on Windows
2018-03-04 17:44:23 -06:00
b-r-o-c-k
de3a833ec7
Merge branch 'master' into msvc-compat
2018-03-01 22:56:59 -06:00
b-r-o-c-k
adfad73d8e
build/msvc: Make libtermkey depend on Unibilium
2018-03-01 22:50:02 -06:00
b-r-o-c-k
b3d0241416
build/msvc: Add patch for LuaRocks
...
LuaRocks bundles an outdated wget.exe for downloading packages on Windows. It is too old to support GitHub's TLS, so this patch will replace it with curl.
2018-03-01 22:50:02 -06:00
b-r-o-c-k
305673e923
build/msvc: Add patch for libvterm
...
The patch removes VLAs because MSVC does not support them.
2018-03-01 22:50:02 -06:00
b-r-o-c-k
fa6f892055
build/msvc: Add CMakeLists.txt and header for Unibilium
...
A header was added for compatibility with MSVC and CMakeLists.txt was
added for building with CMake.
2018-03-01 22:48:15 -06:00
Marco Hinz
3d2f4154b1
third-party: build all deps with debugging symbols ( #8042 )
...
When building with CMAKE_BUILD_TYPE=Debug, the dependencies are built like this:
| Dep | Defaults | Debug |
|------------|-----------|---------------------------------------------|
| unibilium | `-O2` | `make CFLAGS=-O0 DEBUG=1` |
| msgpack | `-g -O3` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libuv | `-g -O2` | `./configure CFLAGS="-O0 -ggdb"` |
| luv | `-g -O2` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libvterm | not set | `make CFLAGS=-O0 DEBUG=1` |
| libtermkey | not set | `make CFLAGS=-O0 DEBUG=1` |
| jemalloc | `-g3 -O3` | `./configure CFLAGS="-O0 -ggdb"` |
| gperf | `-g -O2` | `./configure CXXFLAGS="-O0 -ggdb"` |
| luajit | `-g -O2` | haven't checked yet |
This means that only unibilium, libtermkey, and libvterm don't build with
debugging symbols by default.
Build them with debugging symbols and optimisations that don't hinder
debugging: -Og -g
2018-03-01 10:23:21 +01:00
b-r-o-c-k
f2b6145d74
build/msvc: Use patched libvterm for MSVC
2018-02-28 19:38:30 -06:00
b-r-o-c-k
cb245a71ca
build/msvc: Add MSVC compiler flag when building LuaRocks
2018-02-28 19:38:30 -06:00
b-r-o-c-k
3a6ee8819e
build/msvc: Remove unnecessary copy command for msgpack DLL
2018-02-28 19:38:30 -06:00
b-r-o-c-k
0169872fd3
build/msvc: Fix linking for luajit and luv
2018-02-28 19:38:30 -06:00
b-r-o-c-k
9aec64c34e
build/msvc: Allow building Unibilium on Windows
2018-02-28 19:38:30 -06:00
James McCoy
ff8c848128
third-party: Explicitly version pin all luarocks modules
2018-02-26 08:09:00 -05:00