diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-05-21 20:57:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 20:57:39 +0200 |
commit | 8b8e60728486e1fbb308bee2961175be355e550a (patch) | |
tree | 878a80ccf7a2453d16b4030aacd1f60fe503cb41 /cmake.deps/cmake/BuildLua.cmake | |
parent | 384a3bc308c95c9511eff1b85cd55357bdaedd9e (diff) | |
download | rneovim-8b8e60728486e1fbb308bee2961175be355e550a.tar.gz rneovim-8b8e60728486e1fbb308bee2961175be355e550a.tar.bz2 rneovim-8b8e60728486e1fbb308bee2961175be355e550a.zip |
build: move luarocks and rocks installation to main build
This will ensure luacheck and busted are only installed when they're
actually needed. This cuts total build time by over 50%.
Closes https://github.com/neovim/neovim/issues/22797.
Diffstat (limited to 'cmake.deps/cmake/BuildLua.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLua.cmake | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake.deps/cmake/BuildLua.cmake b/cmake.deps/cmake/BuildLua.cmake index 3e7b5dee51..24da331867 100644 --- a/cmake.deps/cmake/BuildLua.cmake +++ b/cmake.deps/cmake/BuildLua.cmake @@ -51,12 +51,3 @@ ExternalProject_Add(lua BUILD_IN_SOURCE 1 BUILD_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} ${LUA_TARGET} INSTALL_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} install) - -set(BUSTED ${DEPS_BIN_DIR}/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 ALL - DEPENDS ${DEPS_BIN_DIR}/busted-lua) |