Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/truemedian/luvit-bin

Luvit build scripts and weekly binary releases
https://github.com/truemedian/luvit-bin

Last synced: 3 months ago
JSON representation

Luvit build scripts and weekly binary releases

Awesome Lists containing this project

README

        

# Luvit Binaries

This repository provides build scripts that can be used to build luvit, lit and
luvi from their source. Which is necessary on systems that luvit does not provide
prebuilt luvi binaries for. Releases are managed by a Github Action which runs
weekly to rebuild the binaries for all supported systems.

## Supported Systems

| Architecture | Systems |
| ------------ |:---------------------- |
| x86_64 | Windows, Darwin, Linux |
| i386 | Windows |
| armv6l | Linux |
| armv7l | Linux |
| aarch64 | Linux |

> *Note: The above architectures are mostly limited to what is available for*
> *Github Actions If you would like to see a system added, please open an issue*
> *and include how such system would be built.*

## PKGBUILDs

This repository provides PKGBUILDS for luvit, lit and luvi. These are mostly used
for the Arch Linux User Repository, but can be used on any system that supports
makepkg to build the packages.

## Install Script

### Linux and Darwin (MacOS)

```shell
curl -fL https://github.com/truemedian/luvit-bin/raw/main/install.sh | sh
```

### Windows

*Powershell install script TODO*

## Self-Build Script

If you wish to build luvit, luvi and lit yourself, or are on a system that does not have prebuilt binaries an install
script is included in this repository. The script is intended to be run by a user, and its interface has specifically
been designed to be easy to read.

### Dependencies

- C Compiler
- C++ Compiler
- git
- cmake
- make
- perl

### Configuration

| Variable | Meaning |
| ----------- | ----------------------------------------------- |
| CMAKE_FLAGS | Will overwrite the script's default cmake flags |
| PREFIX | Will change the final executable's location. |

`PREFIX` will default to `$PWD`, set it if you would like to install elsewhere.

### Running

You can either download and run it yourself, or run

```shell
curl -fL https://github.com/truemedian/luvit-bin/raw/main/scripts/build.sh | sh
```

To download and run the script automatically.