Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1215

agl-service-signal-composer downloads own copy of lua, needs to use yocto built-in version

XMLWordPrintable

      set(LUA external-lua)
      set(LUA_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lua)
      include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
      ExternalProject_Add(${LUA}
          URL https://www.lua.org/ftp/lua-5.3.4.tar.gz
          SOURCE_DIR ${LUA_SOURCE_DIR}
          PATCH_COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/crosscompile_lua.patch
          CONFIGURE_COMMAND ""
          BUILD_COMMAND cd src && make all
          BUILD_IN_SOURCE 1
          INSTALL_COMMAND ""
      )
      

      Nack. This is a no-go.
      You need to use the version provided by yocto.
      Do you need lua on the host or on the target ?
      For host try

      DEPENDS += "lua-native"

      for target:

      DEPENDS += "lua"

      claneys : Until this is resolved, please remove it from the packagegroup to unbreak ppls builds.

      CC: ruke47 , wminer

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            claneys Romain Forlot
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h