aboutsummaryrefslogtreecommitdiff
path: root/binary (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: use zlib fossilsluau-project2026-03-161-1/+1
| | | | | | | | | | * the upstream zlib was updated from 1.3.1 to 1.3.2, invalidating the current URL; * according to zlib website, each tarball released so far can be found at https://www.zlib.net/fossils/ ;
* fix: allow cross compilation of LuaRocks binariesluau-project2026-03-161-1/+1
| | | | * this change is on LuaSocket 3.1.0 rockspec: see https://luarocks.org/manifests/lunarmodules/luasocket-3.1.0-1.rockspec
* 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>
* support Lua 5.5Pierre Chapuis2025-12-261-1/+1
|
* binary build: minor updatesHisham Muhammad2025-06-051-3/+3
|
* binary: fix public URL for lua-bz2Hisham Muhammad2024-03-111-1/+1
|
* binary: encode dependency order (luasec depends on luasocket)Hisham Muhammad2024-02-271-10/+22
|
* deps: bump luasocket and luasecHisham Muhammad2024-02-273-26/+145
|
* deps: bump zlib versionHisham Muhammad2024-02-271-1/+1
|
* 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-032-2/+2
| | | | Fixes #1412.
* Add --no-project flag to override .luarocks project dirHisham Muhammad2022-05-031-1/+1
|
* tests: run tests on Lua 5.4 and LuaJIT 2.1Hisham Muhammad2022-04-161-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-116-42/+41
|
* 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-142-52/+61
|
* binary: fix check_lua_* callsHisham Muhammad2019-08-281-1/+2
|
* binary: update luasec to 0.8.1Hisham Muhammad2019-08-282-4/+4
|
* 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-102-2/+2
|
* binary/all_in_one: Don't prefix tree with current dirdaurnimator2018-08-101-1/+1
|
* binary/Makefile.windows: Use a few more make featuresdaurnimator2018-08-101-13/+12
|
* Remove BINARY_ prefix from CC and NMdaurnimator2018-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
|
* Windows binary: build libbz2 dependencyHisham Muhammad2018-07-181-1/+15
|
* 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-182-0/+45
|
* Use $(CURDIR) instead of $(PWD) in MakefilesPeter Melnichenko2018-07-101-3/+3
| | | | | | | $(CURDIR) is built-in and is guaranteed to always work. $(PWD) is inherited from the shell and may be incorrect or missing. In particular, it is invalid if make is run by some program that changes current directory prior to the execution.
* binary: derive library search paths; minor Windows fixHisham Muhammad2018-07-042-3/+2
|
* Experimental Windows cross-compiled binary buildHisham Muhammad2018-07-025-56/+221
| | | | | | | | | | | | 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-014-0/+774
* 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