aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-24 21:17:23 +0100
committerGitHub <noreply@github.com>2023-02-24 21:17:23 +0100
commita601d031127689a7d60cc92f4ec89907794ed020 (patch)
tree378d8accb3f5a49d41e54bd7529a6cfdeef6bb8e
parent15cce77b383d0b0bfdaa1415cdde005cc43267d0 (diff)
downloadrneovim-a601d031127689a7d60cc92f4ec89907794ed020.tar.gz
rneovim-a601d031127689a7d60cc92f4ec89907794ed020.tar.bz2
rneovim-a601d031127689a7d60cc92f4ec89907794ed020.zip
build: build luajit in parallel (#22327)
Add -j flag to the make command for luajit. Cuts down dependency build time by 40% when using the Ninja generator.
-rw-r--r--cmake.deps/cmake/BuildLuajit.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildLuajit.cmake b/cmake.deps/cmake/BuildLuajit.cmake
index 4347e7e1da..8c6b321a32 100644
--- a/cmake.deps/cmake/BuildLuajit.cmake
+++ b/cmake.deps/cmake/BuildLuajit.cmake
@@ -48,7 +48,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
else()
set(AMD64_ABI "")
endif()
-set(BUILDCMD_UNIX ${MAKE_PRG} CFLAGS=-fPIC
+set(BUILDCMD_UNIX ${MAKE_PRG} -j CFLAGS=-fPIC
CFLAGS+=-DLUA_USE_APICHECK
CFLAGS+=-funwind-tables
${NO_STACK_CHECK}