Skip to content

Commit

Permalink
build: remove luarocks
Browse files Browse the repository at this point in the history
Luarocks is no longer needed after
25e51d3.
  • Loading branch information
dundargoc committed Sep 10, 2023
1 parent e99a3fd commit 9f8f287
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 106 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ ExternalProject_Add(uncrustify
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS}
EXCLUDE_FROM_ALL TRUE)

include(BuildLuarocks)

ExternalProject_Add(lua-dev-deps
URL https://github.com/neovim/deps/raw/5a1f71cceb24990a0b15fd9a472a5f549f019248/opt/lua-dev-deps.tar.gz
URL_HASH SHA256=27db2495f5eddc7fc191701ec9b291486853530c6125609d3197d03481e8d5a2
Expand All @@ -310,4 +308,3 @@ ExternalProject_Add(lua-dev-deps
BUILD_COMMAND ""
INSTALL_COMMAND ""
EXCLUDE_FROM_ALL TRUE)
add_dependencies(test_deps lua-dev-deps)
99 changes: 0 additions & 99 deletions cmake/BuildLuarocks.cmake

This file was deleted.

1 change: 0 additions & 1 deletion contrib/local.mk.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LIBUV=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LIBVTERM=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LUAJIT=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LUAROCKS=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_MSGPACK=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_UNIBILIUM=OFF
# DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_UTF8PROC=OFF
Expand Down
6 changes: 3 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if(LUA_HAS_FFI)
-P ${PROJECT_SOURCE_DIR}/cmake/RunTests.cmake
DEPENDS ${UNITTEST_PREREQS}
USES_TERMINAL)
add_dependencies(unittest test_deps)
add_dependencies(unittest lua-dev-deps)
else()
message(WARNING "disabling unit tests: no Luajit FFI in ${LUA_PRG}")
endif()
Expand Down Expand Up @@ -66,5 +66,5 @@ add_custom_target(benchmark
DEPENDS ${BENCHMARK_PREREQS}
USES_TERMINAL)

add_dependencies(functionaltest test_deps)
add_dependencies(benchmark test_deps)
add_dependencies(functionaltest lua-dev-deps)
add_dependencies(benchmark lua-dev-deps)

0 comments on commit 9f8f287

Please sign in to comment.