<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/GNUmakefile, branch main</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=main</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2026-02-03T22:47:50+00:00</updated>
<entry>
<title>Improve flexibility around vendored libraries</title>
<updated>2026-02-03T22:47:50+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2026-02-03T22:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=47301d83aba58925e1b9594023621ebb27070cdb'/>
<id>urn:sha1:47301d83aba58925e1b9594023621ebb27070cdb</id>
<content type='text'>
compat53 is vendored since #1757 as it is required to run luarocks with lua 5.1 or 5.2.

However, this introduced some issues as the GNUmakefile install rule places these in the same place where `luarocks install compat53` would install them. This means you get conflicts if you install the actual package:
```
Warning: /.../prefix/share/lua/5.1/compat53/init.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/init.lua~
Warning: /.../prefix/share/lua/5.1/compat53/module.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/module.lua~
Warning: /.../prefix/share/lua/5.1/compat53/file_mt.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/file_mt.lua~
```

It is also not ideal for linux package maintainers to include a vendored package, see: https://github.com/luarocks/luarocks/pull/1757#issuecomment-3409873412.

To solve these issues, this patchset makes the following changes:
- GNUmakefile now places the compat53 files under `luarocks/vendor/compat53` (which is added internally to the luarocks script's `package.path`). This way a user's installation of compat53 does not interfere at all with luarocks one.
- Added `--with-system-compat53` option to configure script for external packaging systems.
- Fixed install.bat's logic for deciding whether to vendor compat53, as the current script includes it for every version.

install.bat already places luarocks sources outside of LUAPATH, so that part can stay as is.

I've also inverted the version check to avoid the need for future patches like: #1850.</content>
</entry>
<entry>
<title>GNUmakefile: test for LUA_VERSION as 5.5</title>
<updated>2025-12-27T22:55:11+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2025-12-27T19:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=215cbc906a574687541e8cf8be84639fda20f57d'/>
<id>urn:sha1:215cbc906a574687541e8cf8be84639fda20f57d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support Lua 5.5</title>
<updated>2025-12-26T10:06:49+00:00</updated>
<author>
<name>Pierre Chapuis</name>
<email>git@catwell.info</email>
</author>
<published>2025-12-01T21:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=291fc8a34fc186b011c9d6b09a80bf179cae6f62'/>
<id>urn:sha1:291fc8a34fc186b011c9d6b09a80bf179cae6f62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add compat53 installation to GNUmakefile</title>
<updated>2025-02-24T23:11:55+00:00</updated>
<author>
<name>Tobiasz Laskowski</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2025-02-24T22:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9'/>
<id>urn:sha1:28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: add work around for environments that default to multiple jobs</title>
<updated>2024-04-10T14:29:05+00:00</updated>
<author>
<name>Caleb Maclennan</name>
<email>caleb@alerque.com</email>
</author>
<published>2024-04-10T11:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=f8579e9d1019dd6e6629858c3935ffc7bca28eb0'/>
<id>urn:sha1:f8579e9d1019dd6e6629858c3935ffc7bca28eb0</id>
<content type='text'>
Fixes #1638

This Makefile only supports single-job execution and is known to have
race conditions that will fail if targets are run in parallel jobs. With
the proliferation of cores, more and more distributions and host
environments are setting default make flags to run jobs in parallel by
default. We can't do anything about this for old versions of GNU Make,
but for 4.3+ we can actually reset the flag ourselves to only run
a single job so targets run in serial order.
</content>
</entry>
<entry>
<title>Makefile: fix mkdir in install-binary</title>
<updated>2024-03-11T19:46:57+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-03-11T16:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=e3f067c6675a5a5d3a09b624c1783562f42719e1'/>
<id>urn:sha1:e3f067c6675a5a5d3a09b624c1783562f42719e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>don't set up a "project environment" on make default target</title>
<updated>2024-03-11T19:46:27+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-03-11T16:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce'/>
<id>urn:sha1:1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce</id>
<content type='text'>
Fixes #1639.
</content>
</entry>
<entry>
<title>Makefile: make install target phony</title>
<updated>2024-02-21T02:28:37+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-20T23:31:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=cbd4563612993628ecae9516374c13fab2d2ea29'/>
<id>urn:sha1:cbd4563612993628ecae9516374c13fab2d2ea29</id>
<content type='text'>
Fixes #1038.
</content>
</entry>
<entry>
<title>drop cfg.lua_interpreter, use cfg.variables.LUA</title>
<updated>2024-02-18T23:49:05+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-17T18:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=d83b908a7371360d117cabbf6da099170f5fb178'/>
<id>urn:sha1:d83b908a7371360d117cabbf6da099170f5fb178</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changes for building the all-in-one binary with Lua 5.4</title>
<updated>2022-04-11T20:02:28+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2022-04-11T19:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=eddf776d64941454377f996733f96873cb79bcae'/>
<id>urn:sha1:eddf776d64941454377f996733f96873cb79bcae</id>
<content type='text'>
</content>
</entry>
</feed>
