aboutsummaryrefslogtreecommitdiff
path: root/binary/all_in_one (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve flexibility around vendored librariestobil4sk2026-02-031-5/+5
| | | | | | | | | | | | | | | | | | | | | 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.
* support Lua 5.5 in all_in_one scriptPierre Chapuis2025-12-261-1/+1
| | | | Co-authored-by: luau-project <luau.project@gmail.com>
* binary: encode dependency order (luasec depends on luasocket)Hisham Muhammad2024-02-271-10/+22
|
* deps: bump luasocket and luasecHisham Muhammad2024-02-271-2/+3
|
* binary: dkjson is no longer a dependency, it is now vendored inHisham Muhammad2024-02-271-1/+0
|
* drop cfg.lua_interpreter, use cfg.variables.LUAHisham Muhammad2024-02-181-4/+0
|
* binary build: help autodetection of the crosscompiled Lua librariesHisham Muhammad2022-05-181-0/+1
|
* Fix build of Windows binaryHisham Muhammad2022-05-031-1/+1
| | | | Fixes #1412.
* Add --no-project flag to override .luarocks project dirHisham Muhammad2022-05-031-1/+1
|
* deps: better error message when lua.h version mismatchesHisham Muhammad2022-04-161-2/+2
|
* Changes for building the all-in-one binary with Lua 5.4Hisham Muhammad2022-04-111-12/+14
|
* Bundle dkjson in the all-in-one binaryHisham Muhammad2020-08-241-0/+1
|
* do not call Lua interpreter when making wrapper for luarocks binaryHisham Muhammad2020-04-131-0/+1
| | | | Closes #1174.
* Windows binary: do not hardcode . as LUA_BINDIRHisham Muhammad2020-01-141-2/+1
|
* support for building 64-bit Windows all-in-one binaryHisham Muhammad2020-01-141-7/+12
|
* binary: fix check_lua_* callsHisham Muhammad2019-08-281-1/+2
|
* binary: update luasec to 0.8.1Hisham Muhammad2019-08-281-1/+1
|
* Fix build of binariesHisham Muhammad2019-04-261-0/+1
|
* hardcode "windows" platform in Windows binary to help WineHisham Muhammad2019-04-171-4/+3
| | | | | | | platform autodetection at runtime is apparently failing on Wine, but we don't really need it when using `luarocks.exe`. Fixes #996.
* core.sysdetect: add fork-free OS detection (#938)Hisham Muhammad2018-10-301-10/+2
| | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables.
* Honor --force-configHisham Muhammad2018-08-111-4/+6
|
* Build Windows binaries as .exe in a separate directoryHisham Muhammad2018-08-101-1/+1
|
* binary/all_in_one: Don't prefix tree with current dirdaurnimator2018-08-101-1/+1
|
* binary/all_in_one: Remove site_config exclusion (#873)daurnimator2018-08-081-2/+2
|
* Windows binary: do not hardcode SYSTEM as "MINGW"Hisham Muhammad2018-08-021-2/+2
|
* fs: make unpack_archive platform-agnostic using specific fs functionsHisham Muhammad2018-07-181-1/+0
| | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools.
* binary: add lua-bz2 dependencyHisham Muhammad2018-07-181-0/+1
|
* Experimental Windows cross-compiled binary buildHisham Muhammad2018-07-021-48/+97
| | | | | | | | | | | | This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS.
* Unix: new build systemHisham Muhammad2018-07-011-0/+442
* 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