Giter Club home page Giter Club logo

Comments (5)

patrick-stephens avatar patrick-stephens commented on May 28, 2024 1

I think that is for the luajit project though so it would need patching there if we wanted to import it but hopefully gives @lizziemac some info. A docs PR on it would be good too if it works: https://github.com/fluent/fluent-bit-docs/blob/master/installation/yocto-embedded-linux.md

Be good to update the minimum version there as well.

from fluent-bit.

patrick-stephens avatar patrick-stephens commented on May 28, 2024

Yes, I don't think LUA is supported due to some additional requirements.
Yocto/Bitbake is currently best effort support - we can't test it in CI at the moment to verify anything or officially release it.

from fluent-bit.

patrick-stephens avatar patrick-stephens commented on May 28, 2024

@tarruda may be able to help with the specific requirements of building LUA but my understanding is it was not possible on Bitbake at the time it was last tried. If it is then feel free to submit a PR.

from fluent-bit.

thbonotto avatar thbonotto commented on May 28, 2024

In the file:
lib/luajit-cmake/host/minilua/CMakeLists.txt

There is an if to add LIBM:

find_library(LIBM_LIBRARIES NAMES m)
...
if(LIBM_LIBRARIES)
  target_link_libraries(minilua ${LIBM_LIBRARIES})
endif()

But it does not fail if it can't find LIBM_LIBRARIES (find_library(LIBM_LIBRARIES NAMES m))

I tried to inherit pkg-config in the recipe but it still couldn't find it.

LIBM is a very primitive library, so I tried to force the linking

- if(LIBM_LIBRARIES)
-  target_link_libraries(minilua ${LIBM_LIBRARIES})
-endif()
+ target_link_libraries(minilua libm.so)

And it worked for me.

from fluent-bit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.