Skip to content

rework luvi test in gitlab after luajit version bump.

Romain Naour buildroot 2 versions Applied

Status from this message: Applied to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied
  2. v16 patches 7 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6package/luvi: don't use LUAJIT_VERSION for the luajit installation pathpackage/luvi/luvi.mk+6 -20 replies
2/6support/testing: test_luvi: switch to armv5 to boot with rng support enabledsupport/testing/tests/package/test_luvi.py+1 -10 replies
3/6package/luajit: rework BR2_PACKAGE_LUAJIT_ARCH_SUPPORTSpackage/luajit/Config.in+5 -51 reply
4/6package/luajit: building for 64-bit target requires a 64-bit host for all platformpackage/luajit/Config.in+3 -10 replies
5/6package/luajit: disable 64 bit GC objectspackage/luajit/luajit.mk+2 -00 replies
6/6support/testing: test_luvi: make luvi test reproduciblesupport/testing/tests/package/test_luvi.py+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/6] rework luvi test in gitlab after luajit version bump.

Luajit package has been recently updated to the latest commit in the master branch [1]. But we discovered several problems:

- LUAJIT_VERSION doesn't contain the luajit version anymore but a commit hash
- With Luajit, luvi doesn't work without rng support enabled.
- Building for 64-bit target requires a 64-bit host for all target platform
- luajit and host-luajit needs to be built with the same option, so the bytecode generated by host-luajit is valid on luajit.
- iteration with pairs() does not result in the same order since luajit 2.1.

[1] 9450b53c8e06f1b5a75840b82c0f4663a5d75c45
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552605

Best regards,
Romain

Francois Perrad (1):
package/luajit: disable 64 bit GC objects

Romain Naour (5):
package/luvi: don't use LUAJIT_VERSION for the luajit installation
path
support/testing: test_luvi: switch to armv5 to boot with rng support
enabled
package/luajit: rework BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS package/luajit: building for 64-bit target requires a 64-bit host for
all platform
support/testing: test_luvi: make luvi test reproducible

 package/luajit/Config.in                   | 12 +++++++-----
 package/luajit/luajit.mk                   |  2 ++
 package/luvi/luvi.mk                       |  8 ++++++--
 support/testing/tests/package/test_luvi.py | 12 ++++++------
 4 files changed, 21 insertions(+), 13 deletions(-)
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot