Skip to content

add Lua version 5.4 & tbb@2021 support #6087

@robertsjchen

Description

@robertsjchen

Hello,

recently I tried to download & compile the entire project from my mac, I following those building instructions downloading dependency(boost, lua, tbb, etc) via brew, but the situation is, all dependency packages been downloaded latest by default, for example, as of today(Jul/2021), version of Lua is 5.4.3, version of tbb is 2021.3, cmake will fail with package can not found error.

  • In file "cmake/FindTBB.cmake", the hardcoded heading file "task_scheduler_init.h" been removed from tbb@2021:
find_path(TBB_INCLUDE_DIR
    tbb/task_scheduler_init.h
    HINTS ${TBB_INC_SEARCH_DIR} ENV CPATH
)
  • In file "cmake/FindLua.cmake", the latest version of Lua been supported is 5.3(I added 5.4 locally fixed this issue):
function(_lua_set_version_vars)
    set(LUA_VERSIONS5 5.3 5.2 5.1 5.0)
    ...

Thanks
robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions