Commit Graph

246 Commits

Author SHA1 Message Date
Michael Reed
d4354759d3 Update to libuv 1.3.0 2015-01-30 09:30:59 -03:00
Thiago de Arruda
c472e3af64 deps: Update lua client
The latest version works around a libuv bug that can leave zombie nvim processes
despite the event loop being properly cleaned up. This can lead to functional
tests being aborted depending on the maximum number of child processes
configured for a platform.
2015-01-23 18:52:55 -03:00
Thiago de Arruda
14ebe608e2 deps: Update libtickit URL 2015-01-15 09:01:44 -03:00
Thiago de Arruda
ac193d86fd deps: Use versioned URLs for libtickit and dependencies 2015-01-09 07:56:56 -03:00
Florian Walch
745c462ed3 Update busted to 2.0.rc4. 2014-12-18 18:22:08 +01:00
Rui Abreu Ferreira
64d78c0b7d Dont force ../.deps in third-party/CMakeLists.txt
- third-party is built under .deps by default instead of using its own
  ${CMAKE_BINARY_DIR}, move this default setting out of the cmake
  settings and into the Makefile.
- As a consequence the workflow of building third-party using CMake
  should feel more natural, avoid the additional folder or setting
  DEPS_DIR from the command line.
- This commit does not change the default behaviour when calling the
  Makefile wrapper.
2014-12-16 10:28:43 +00:00
Thiago de Arruda
8fc710110f deps: Update lua client 2014-12-08 09:15:24 -03:00
Thiago de Arruda
83d9f9b768 deps: Fix unibilium/libtickit URLs 2014-12-06 09:22:03 -03:00
Thiago de Arruda
f1a934808a Revert "deps: Fix 32-bit build of lib{unibilium,termkey,tickit}"
This reverts commit f76df24753.
2014-12-06 09:15:53 -03:00
Thiago de Arruda
f76df24753 deps: Fix 32-bit build of lib{unibilium,termkey,tickit} 2014-12-06 07:54:59 -03:00
Thiago de Arruda
a31b06c44d deps: Update lua client 2014-12-05 14:23:37 -03:00
Thiago de Arruda
cc34c90df7 deps: Update unibilium and lua client 2014-12-03 10:12:41 -03:00
John Szakmeister
788a5cf478 Merge pull request #1542 from jszakmeister/upgrade-libuv
Update to libuv 1.0.1.
2014-12-03 06:19:47 -05:00
Thiago de Arruda
ecf1e672e1 deps: Use unibilium URL with Makefile fixed for OS X
Close #1594
2014-12-02 09:52:55 -03:00
Thiago de Arruda
9ac2e8423a deps: Add libtickit/libtermkey as dependency
The new terminal UI will be implemented on top of those libraries
2014-12-01 20:36:37 -03:00
John Szakmeister
d277922a4f Update to libuv 1.0.1.
This should fix #1505 and #1276 and libuv removes support for dtrace all
together.
2014-11-28 07:04:07 -05:00
Stanley Chan
a4ad5f6bee Change refs for joyent/libuv repo to libuv/libuv
* References to old repository found through grepping
* Replace references from github.com/joyent/libuv to github.com/libuv/libuv
* Fix previous commit by not including whitespace changes

 For issue #1560.
2014-11-27 10:05:14 -05:00
Thiago de Arruda
99809903bb deps: Update bundled lua client version
The new version fixes defunct processes which causes random test failures on
some systems(#1519)
2014-11-25 14:47:54 -03:00
Rui Abreu Ferreira
2b887ec66b Use cmake --build instead of Make
- If possble try to abstract away from Make, and use cmake --build
- third-party still needs to find Make to build some components
- Removed search for Make from CMakeLists.txt
* for CMake < 3.0 --build has no color output
2014-11-14 14:35:16 +00:00
Xu Cheng
77fc32b311 Prefer to SHA1 other than MD5 in third-party downloads
If CMake version is less than 2.8.11, fallback to MD5
2014-11-07 16:07:26 +08:00
Thiago de Arruda
3e78fc9faf deps: Upgrade to latest version of lua-client 2014-11-06 22:45:15 -03:00
Thiago de Arruda
201e1512a1 deps: Add lua nvim-client as a dependency 2014-10-16 09:21:32 -03:00
Paul Jolly
c24dad3e59 Only use CMAKE_C_COMPILER_ARG1 if it is set 2014-09-24 04:06:20 -04:00
Thiago de Arruda
ddecfb763b deps: Switch lua msgpack library to one that supports 2.0 2014-09-16 14:14:00 -03:00
Thiago de Arruda
aab5f1a898 deps: Update msgpack
The new version fixes serialization/deserialization of EXT 8/16/32
2014-09-16 14:13:48 -03:00
John Szakmeister
5fa54a2dc0 third-party: avoid using rm in the install command
Also, the command was removing only .so versions of the library, and not
the the `.dylib` under Mac OS X, and in a way that it would fail if the
files weren't present.

Instead, let's delegate to a CMake script--to get the portability--and
use a glob to detect and remove the shared versions of the library.
Hopefully, this will become unnecessary as msgpack's build becomes more
full-featured, and we can just tell it to build the static version
instead.
2014-09-14 05:03:35 -04:00
Thiago de Arruda
e2143674ae deps: Update to the experimental msgpack v5 branch
Using msgpack v5 will let nvim be more compatible with msgpack libraries for
other platforms.

This also replaces "raw" references by "bin" which is the new name for msgpack
binary data type
2014-09-12 13:19:50 -03:00
Florian Walch
0a01b3052e Update busted to 2.0.rc3.
Default to verbose output to show more information in case of errors.
Fix #1031.
2014-09-11 20:03:35 +02:00
Florian Walch
dd27c30687 CMake: Use CMAKE_C_COMPILER_ARG1 when building dependencies.
CMAKE_C_COMPILER_ARG1 is set in CMake toolchain file
cmake/i386-linux-gnu.toolchain.cmake. Use when compiling dependencies to
simplify 32-bit builds.
2014-09-11 06:13:12 -04:00
Thiago de Arruda
80e421fe8d build: Remove moonscript as a third-party build dependency 2014-08-31 14:50:49 +02:00
Florian Walch
a063892b2e Update luarocks: Use commit with correct version number. 2014-08-29 21:52:34 +02:00
Justin M. Keyes
de025425fb upgrade luarocks
ref #822
2014-08-22 05:10:13 +00:00
Thiago de Arruda
8c37f9b4ff dependencies: Update to libuv 0.11.28 2014-08-07 10:22:42 -03:00
Florian Walch
67cdd65e21 Update luarocks. #1018
Fix #1013.
2014-08-01 09:30:17 -04:00
ZyX
4dadadd001 build: Compile static luajit lib with -fPIC #996
Should fix the following travis error:

    /usr/bin/ld: /opt/neovim-deps/lib/libluajit-5.1.a(lj_err.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
    /opt/neovim-deps/lib/libluajit-5.1.a: could not read symbols: Bad value
2014-07-25 21:13:44 +02:00
Nicolas Hillegeer
aad2a69c96 cmake: upgrade libuv 0.11.23 -> 0.11.26 #911
Fixes some bugs and increase the performance of uv_hrtime() on OSX, which
reduces its prominence in performance traces. This allows us to better see
what's really causing slowness.

ref:
- https://github.com/neovim/neovim/issues/868
- https://github.com/joyent/libuv/pull/1325
- https://github.com/joyent/libuv/releases
2014-07-06 23:55:12 +02:00
John Szakmeister
7e797067df Make it easier to turn the bundled dependencies off. 2014-05-31 13:15:56 -04:00
Thiago de Arruda
5b7a9d5780 Add --with-pic flag to msgpack configuration 2014-05-12 17:06:54 -03:00
Thiago de Arruda
4a13143263 Bump LuaJIT to version 2.0.3
This update should fix some build problems as shown in the changelog:
http://luajit.org/changes.html
2014-04-14 17:41:14 -03:00
Thiago de Arruda
78fd9386b6 Fix unit tests
Apparently busted 1.11.0 is broken(https://github.com/Olivine-Labs/busted/issues/236)
in a way that is causing the unit tests to fail. This pins the version to 1.10.0
and also fixes a wrong variable set when msgpack was added as a dependency
2014-04-14 16:46:16 -03:00
Will Tange
ed73da9f0e Bring neovim up to date with recent libuv changes
As of v0.11.23 libuv's uv_timer_cb, uv_async_cb, uv_prepare_cb, uv_check_cb and
uv_idle_cb no longer require a status parameter (this went unused in the first
place).

Bump third-party dependency `libuv` up to 0.11.23 and remove the extra
parameters from the callbacks.
2014-04-14 12:59:55 -03:00
Thiago de Arruda
4fb45579b5 Add lpeg as explicit third-party dependency
It was being installed because of moonscript, but now it's listed as a
dependency explicitly.
2014-04-13 07:32:52 -03:00
Thiago de Arruda
a68ca46382 Configure cmake option to download/install msgpack 2014-04-11 14:07:44 -03:00
Thiago de Arruda
9a277a612f Update to the newest libuv version 2014-03-22 09:06:38 -03:00
John Szakmeister
66394367f7 Workaround the broken progress feedback in some versions of CMake.
Underneath the hood, CMake uses libcurl and libcurl has had a number of
issues regarding progress feedback.  In one sample run against Travis
CI, we ended up with nearly 3,000 lines of progress output for a single
download.

Unfortunately, CMake doesn't have the download and extract steps
separate, so we have some extra work that we have to do.  Much of the
content was taken from the ExternalProject.cmake and it's template for
generating the content of the download and extract CMake files.
2014-03-21 15:22:00 -04:00
John Szakmeister
0b2f6a0cf4 Revamp the build system.
This achieves several goals:

 * Less reliance on scripts so we have better portability to Windows
   (though we still have a ways to go for proper Windows support).
   Luajit, luarocks, moonscript, and busted are all installed via CMake
   now.
 * Trying to make use of pkg-config to get the correct libraries.  The
   latest libuv is still broken in this regard, but we'll at least be in
   a position to use it.
 * Allow the use of Ninja or make.  The former runs faster in many
   environments, and automatically makes use of parallel builds.

This also allows for system installed dependencies--though not through
the Makefile just yet--and adds support for FreeBSD.

This also make us build libuv and luajit as static libraries only, since
we're only concerned about having static libraries for our bundled
dependencies.
2014-03-21 15:22:00 -04:00