]> code.ossystems Code Review - openembedded-core.git/commit
ruby: Link with libucontext on musl
authorKhem Raj <raj.khem@gmail.com>
Tue, 14 Apr 2020 17:31:53 +0000 (10:31 -0700)
committerSteve Sakoman <steve@sakoman.com>
Thu, 30 Apr 2020 21:59:59 +0000 (11:59 -1000)
commita2b1af47316a9f5c522db0c9feff1fbe0d39e022
treeb40f44b55e5809831eb835389bd3bb4a9183bb97
parent5dbb7d5bb9509dd455673a326c9191dec6f3092c
ruby: Link with libucontext on musl

coroutines in ruby 2.7+ needs ucontext APIs which are not available in
musl but an external library is available to provide them so use it

Use cached values for ac_cv_func_isnan and ac_cv_func_isinf this is not
detected correctly by configure on musl

on ARM drop using old arm32 implementation of coroutine which is slow and
inefficient

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/ruby/ruby_2.7.0.bb