Skip to content
Snippets Groups Projects
  • Igor Munkin's avatar
    07c83aab
    build: adjust LuaJIT build system · 07c83aab
    Igor Munkin authored
    LuaJIT submodule is bumped to introduce the following changes:
    * test: run luacheck static analysis via CMake
    * test: fix warnings found with luacheck in misclib*
    * test: run LuaJIT tests via CMake
    * build: replace GNU Make with CMake
    * build: preserve the original build system
    
    Since LuaJIT build system is ported to CMake in scope of the changeset
    mentioned above, the module building the LuaJIT bundled in Tarantool is
    completely reworked. There is no option to build Tarantool against
    another prebuilt LuaJIT due to a91962c0
    ('Until Bug#962848 is fixed, don't try to compile with external
    LuaJIT'), so all redundant options defining the libluajit to be used in
    Tarantool are dropped with the related auxiliary files.
    
    To run LuaJIT related tests or static analysis for Lua files within
    LuaJIT repository, <LuaJIT-test> and <LuaJIT-luacheck> targets are used
    respectively as a dependency of the corresponding Tarantool targets.
    
    As an additional dependency to run LuaJIT tests, prove[1] utility is
    required, so the necessary binary packages are added to the lists with
    build requirements.
    
    [1]: https://metacpan.org/pod/TAP::Harness#prove
    
    
    
    Closes #4862
    Closes #5470
    Closes #5631
    
    Reviewed-by: default avatarSergey Kaplun <skaplun@tarantool.org>
    Reviewed-by: default avatarTimur Safin <tsafin@tarantool.org>
    Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>
    07c83aab
    History
    build: adjust LuaJIT build system
    Igor Munkin authored
    LuaJIT submodule is bumped to introduce the following changes:
    * test: run luacheck static analysis via CMake
    * test: fix warnings found with luacheck in misclib*
    * test: run LuaJIT tests via CMake
    * build: replace GNU Make with CMake
    * build: preserve the original build system
    
    Since LuaJIT build system is ported to CMake in scope of the changeset
    mentioned above, the module building the LuaJIT bundled in Tarantool is
    completely reworked. There is no option to build Tarantool against
    another prebuilt LuaJIT due to a91962c0
    ('Until Bug#962848 is fixed, don't try to compile with external
    LuaJIT'), so all redundant options defining the libluajit to be used in
    Tarantool are dropped with the related auxiliary files.
    
    To run LuaJIT related tests or static analysis for Lua files within
    LuaJIT repository, <LuaJIT-test> and <LuaJIT-luacheck> targets are used
    respectively as a dependency of the corresponding Tarantool targets.
    
    As an additional dependency to run LuaJIT tests, prove[1] utility is
    required, so the necessary binary packages are added to the lists with
    build requirements.
    
    [1]: https://metacpan.org/pod/TAP::Harness#prove
    
    
    
    Closes #4862
    Closes #5470
    Closes #5631
    
    Reviewed-by: default avatarSergey Kaplun <skaplun@tarantool.org>
    Reviewed-by: default avatarTimur Safin <tsafin@tarantool.org>
    Signed-off-by: default avatarIgor Munkin <imun@tarantool.org>