[Tarantool-patches] [PATCH] cmake: introduce CheckUnwindTables helper

Igor Munkin imun at tarantool.org
Thu Jan 12 17:55:23 MSK 2023


I've checked the patches into all corresponding long-term branches in
tarantool/luajit and bumped a new version in master, 2.10.

On 09.01.23, Igor Munkin wrote:
> After struggling with black voodoo magic oneliner provided by Mike Pall
> in scope of e131936133c58de4426c595db2341caf5a1665b5 ("Cleanup and
> enable external unwinding for more platforms.") to check whether the
> target toolchain always generates unwind tables, it was decided to
> implement it as a CMake function to encapsulate and comment this damn
> "grep" spell.
> 
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
> 
> Branch: https://github.com/tarantool/luajit/compare/imun/fix-build-for-non-bash
> CI is green(*): https://github.com/tarantool/luajit/commit/e717eaa
> 
> (*) Max, could you please check this patch on the Alpine?
> 
>  cmake/CheckUnwindTables.cmake | 114 ++++++++++++++++++++++++++++++++++
>  cmake/SetTargetFlags.cmake    |  18 ++----
>  2 files changed, 120 insertions(+), 12 deletions(-)
>  create mode 100644 cmake/CheckUnwindTables.cmake
> 

<snipped>

> -- 
> 2.34.0
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list