<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/configure, branch before-makefile-refactor</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=before-makefile-refactor</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=before-makefile-refactor'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2018-07-18T14:24:07+00:00</updated>
<entry>
<title>configure: recommend `make` instead of `make build`</title>
<updated>2018-07-18T14:24:07+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-07-17T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=e5e0e691445b81be7dad2f8eb2d73c558ebbf921'/>
<id>urn:sha1:e5e0e691445b81be7dad2f8eb2d73c558ebbf921</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configure: add --with-lua-interpreter option</title>
<updated>2018-07-10T22:02:50+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-07-06T22:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=fd1d9fe0fd48b79b13ca029e1f99f0ca297b170e'/>
<id>urn:sha1:fd1d9fe0fd48b79b13ca029e1f99f0ca297b170e</id>
<content type='text'>
Support using any interpreter name, even if it doesn't start with
'lua'.
</content>
</entry>
<entry>
<title>config file: do not assume 'variable' table exists (for compat with LR2)</title>
<updated>2018-07-04T21:17:53+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-07-04T14:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=b8d84a0b130622e16ab0e37c3c43d9844434a5c5'/>
<id>urn:sha1:b8d84a0b130622e16ab0e37c3c43d9844434a5c5</id>
<content type='text'>
This change results in a default config that works in both LuaRocks 2 and 3.
We do not promise a compatible configuration format, but it's nice to avoid
unnecessary breakage if we can.
</content>
</entry>
<entry>
<title>configure: check presence of lua.h</title>
<updated>2018-07-04T21:17:53+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-07-04T14:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=39d522622f07266892fb61113509711c4798421f'/>
<id>urn:sha1:39d522622f07266892fb61113509711c4798421f</id>
<content type='text'>
Verification of the Lua include path happens at LuaRocks runtime,
but we also perform it here just so that the user gets an early failure
if they try to install LuaRocks with the Lua interpreter package
but not the "development files" that many Linux distros ship separately.

We also include a --disable-incdir-check flag for specialized scenarios: if
you do not wish to use "luarocks build", (e.g. when only deploying binary
packages) you do not need lua.h installed. This flag skips the check for lua.h
in "configure".
</content>
</entry>
<entry>
<title>Unix: new build system</title>
<updated>2018-07-02T01:54:07+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-07-01T18:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2'/>
<id>urn:sha1:98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2</id>
<content type='text'>
* Reworked configure script
  * Now passes shellcheck
* New Makefile for Unix
  * Simplified `make` and `make install` targets
  * Simplified `make bootstrap` target
  * New targets `make binary` and `make install-binary`
    build and install an all-in-one binary of LuaRocks
</content>
</entry>
<entry>
<title>configure: Learn about Lua 5.4</title>
<updated>2018-05-25T16:18:05+00:00</updated>
<author>
<name>Kim Alvefur</name>
<email>zash@zash.se</email>
</author>
<published>2018-05-24T15:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=1b3848fa703ba0f5eea5ca3741cce26f7349aeb9'/>
<id>urn:sha1:1b3848fa703ba0f5eea5ca3741cce26f7349aeb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use versioned files only. (#734)</title>
<updated>2017-10-04T14:14:42+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-10-04T14:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=84b4fe99cac37850a97858e0b641043bd3178d8a'/>
<id>urn:sha1:84b4fe99cac37850a97858e0b641043bd3178d8a</id>
<content type='text'>
Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for:

* Unversioned config.lua -&gt; use config-5.x.lua
* Unversioned luarocks/site_config.lua -&gt; it always generates luarocks/core/site_config_5_x.lua
* Unversioned lib/luarocks/rocks -&gt; it always uses lib/luarocks/rocks-5.x
</content>
</entry>
<entry>
<title>Fixed wrong "interp" in the configure file</title>
<updated>2017-04-14T18:26:19+00:00</updated>
<author>
<name>Evgeny Shulgin</name>
<email>izarizar@mail.ru</email>
</author>
<published>2017-04-14T18:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=3dcfa00db4b29609d83f356502ef83c5eefe2a34'/>
<id>urn:sha1:3dcfa00db4b29609d83f356502ef83c5eefe2a34</id>
<content type='text'>
Fixed wrong "interp" instead of "where" in the configure file</content>
</entry>
<entry>
<title>Prefer versioned Lua interpreter if it exists.</title>
<updated>2016-10-28T13:53:07+00:00</updated>
<author>
<name>Hisham</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2016-10-28T13:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=66cc4dfe45b4691a83b1b234bb626b60c16fd020'/>
<id>urn:sha1:66cc4dfe45b4691a83b1b234bb626b60c16fd020</id>
<content type='text'>
This avoids in practice a problem that occurs in this scenario:

1. user installs Lua 5.1, gets lua and lua5.1 binaries
2. user installs LuaRocks, it detects and uses lua
3. user installs Lua 5.2, gets lua and lua5.2 binaries (lua is replaced)
4. user installs LuaRocks with --lua-version=5.2, it detects and uses lua
5. luarocks-5.1 now uses lua, which is Lua 5.2, rockspecs get passed the wrong value of $(LUA)
</content>
</entry>
<entry>
<title>Check if header matches interpreter.</title>
<updated>2016-10-26T17:19:42+00:00</updated>
<author>
<name>Hisham</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2016-10-26T17:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=86e1bef85084b5bf09688bd19077a8eaa82ae15c'/>
<id>urn:sha1:86e1bef85084b5bf09688bd19077a8eaa82ae15c</id>
<content type='text'>
</content>
</entry>
</feed>
