aboutsummaryrefslogtreecommitdiff
path: root/contrib/libucl/lua
Commit message (Collapse)AuthorAgeFilesLines
* contrib/libucl: Revert to old behavior of macrosMuhammad Moinur Rahman2026-04-081-1/+1
| | | | | | | | | | | | | | | | Enable macros and includes by default as this is breaking package building on HEAD. libucl 0.9.3 by default changed the behavior of includes and macros. These were previously enabled but it switched to disabled which breaks the package building in HEAD. This is a temporary workaround for now to fix the package building specially for releng/15.0. This might be reverted post EOL of 15.0 in the coming months. Reported by: ivy Fixes: abda442d92fd ("contrib/libucl: Import libucl 0.9.3") Tested by: ivy Approved by: ivy, kevans Differential Revision: https://reviews.freebsd.org/D56294
* contrib/libucl: Import libucl 0.9.3Muhammad Moinur Rahman2026-04-031-1/+7
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D54583 Approved by: bapt MFC after: 3 days Changelog: https://github.com/vstakhov/libucl/releases/tag/0.9.3
* flua: support our flua modules in the bootstrap fluaKyle Evans2025-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This version builds every module into the flua binary itself, since all of the bootstrap tools are built -DNO_SHARED. As a result, we also cannot dlsym(), so we can't really discover the names of our newly builtin modules. Instead, just build out a linker set with all of our luaopen_*() functions to register everything up-front. Building in all of the modules isn't strictly necessary, but it means that we have an example of how to add a bootstrap module everywhere you go and one doesn't need to consider whether bootstrap flua can use a module when writing scripts. On my build machine, the consequence on our binary size is an increase from around 1.6M -> 1.9M, which isn't really that bad. .lua modules can install into their usual path below $WORLDTMP/legacy and we'll pick them up automagically by way of the ctor that sets up LUA_PATH early on. This re-lands bootstrap module support with a more sensible subset, and after having verified that it cross-builds fine on macOS and Linux -- we cannot do libfreebsd on !FreeBSD because it's more system header dependant. We also need to bootstrap libmd to bring in libhash, and libucl + libyaml. Reviewed by: bapt, emaste (both previous version) Differential Revision: https://reviews.freebsd.org/D51890
* Revert "flua: support our flua modules in the bootstrap flua"Kyle Evans2025-10-041-4/+0
| | | | | | | This reverts commit 1953a12ee2cde1afacb3e3f7612d89695c96e04f, because it cannot work at all on macOS without more work, at a minimum. We use linker sets for module discovery, but we don't have a version of this that works for mach-o at the moment.
* flua: support our flua modules in the bootstrap fluaKyle Evans2025-10-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | This version builds every module into the flua binary itself, since all of the bootstrap tools are built -DNO_SHARED. As a result, we also cannot dlsym(), so we can't really discover the names of our newly builtin modules. Instead, just build out a linker set with all of our luaopen_*() functions to register everything up-front. Building in all of the modules isn't strictly necessary, but it means that we have an example of how to add a bootstrap module everywhere you go and one doesn't need to consider whether bootstrap flua can use a module when writing scripts. On my build machine, the consequence on our binary size is an increase from around 1.6M -> 1.9M, which isn't really that bad. .lua modules can install into their usual path below $WORLDTMP/legacy and we'll pick them up automagically by way of the ctor that sets up LUA_PATH early on. Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D51890
* MFV: libucl: Update to 0.9.2Muhammad Moinur Rahman2025-08-273-72/+63
| | | | | | | | | | | - Add FREEBSD-upgrade instructions - Add FREEBSD-Xlist file - Remove all unnecessary files which are not required for in-tree build Approved by: bapt Differential Revision: https://reviews.freebsd.org/D50472 Event: Oslo Hackathon 202508 Sponsored by: The FreeBSD Foundation
* libucl: vendor import snapshort 20210314Baptiste Daroussin2021-03-221-67/+383
|
* Import libucl 20170219Baptiste Daroussin2017-02-191-16/+57
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=313953
* Import libucl 0.8.0Baptiste Daroussin2016-04-171-25/+60
| | | | Notes: svn path=/head/; revision=298166
* Update libucl to latest git snapshot (20151027)Baptiste Daroussin2015-10-271-21/+339
| | | | Notes: svn path=/head/; revision=290071
* Update libucl to latest versionBaptiste Daroussin2014-11-294-0/+920
While here correctly link libucl to libm and register the dependency on libm for static building Notes: svn path=/head/; revision=275223