diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-19 21:11:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 21:11:27 +0100 |
commit | 5ffd3d035dfd3d7f6e66edbaa895b98792ba3de3 (patch) | |
tree | 1c2f43a2776b5ea4afc371a9831376a461f0ca37 /cmake.deps/cmake/BuildLua.cmake | |
parent | bfe6b49447744cea1cd941660b2a3a501a0701cb (diff) | |
download | rneovim-5ffd3d035dfd3d7f6e66edbaa895b98792ba3de3.tar.gz rneovim-5ffd3d035dfd3d7f6e66edbaa895b98792ba3de3.tar.bz2 rneovim-5ffd3d035dfd3d7f6e66edbaa895b98792ba3de3.zip |
build: build all dependencies in parallel (#22329)
Previously, all targets were connected in one main target called
third-party in order to remove any potentially conflicting shared
library. We can make each dependency target independent of each other by
only removing shared libraries from luajit and msgpack in their own
targets, as only these has unwanted shared libraries.
Diffstat (limited to 'cmake.deps/cmake/BuildLua.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLua.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake.deps/cmake/BuildLua.cmake b/cmake.deps/cmake/BuildLua.cmake index b5ac8368a6..759211b653 100644 --- a/cmake.deps/cmake/BuildLua.cmake +++ b/cmake.deps/cmake/BuildLua.cmake @@ -55,15 +55,11 @@ ExternalProject_Add(lua BUILD_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} ${LUA_TARGET} INSTALL_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} install) -list(APPEND THIRD_PARTY_DEPS lua) - set(BUSTED ${DEPS_INSTALL_DIR}/bin/busted) set(BUSTED_LUA ${BUSTED}-lua) add_custom_command(OUTPUT ${BUSTED_LUA} COMMAND sed -e 's/^exec/exec $$LUA_DEBUGGER/' -e 's/jit//g' < ${BUSTED} > ${BUSTED_LUA} && chmod +x ${BUSTED_LUA} DEPENDS lua busted ${BUSTED}) -add_custom_target(busted-lua +add_custom_target(busted-lua ALL DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua) - -list(APPEND THIRD_PARTY_DEPS busted-lua) |