Build tools required to develop Vieter
 
 
Go to file
Jef Roosens ee96c3ed4e
ci/woodpecker/push/vls-arch Pipeline failed Details
fix(vls): run on cron
2023-02-19 16:12:56 +01:00
.woodpecker fix(vls): run on cron 2023-02-19 16:12:56 +01:00
arch feat: add arch imag 2023-02-16 14:33:39 +01:00
vlang vlang: switched to b2 checksum for fun 2023-02-19 15:03:22 +01:00
vls fix(vls): run on cron 2023-02-19 16:12:56 +01:00
README.md feat: add arch imag 2023-02-16 14:33:39 +01:00

README.md

Build tools

Vieter requires several tools to be developed, one of which being a specific version of Vlang. This repository manages Dockerfiles & other packages for these various tools.

Vlang

Arch package

The compiler is provided as an Arch package for both x86_64 and aarch64. This can be installed by adding the repo below to your pacman.conf and installing the vieter-vlang package.

[vieter]
Server = https://arch.r8r.be/$repo/$arch
SigLevel = Optional

Docker image

The Vlang Docker image takes too long to build on my CI, mostly because it needs to be built for both arm64 & aarch64. It can be built by running the following command in the vlang directory:

docker buildx build \
    --platform linux/amd64,linux/arm64 \
    -t 'git.rustybever.be/vieter-v/vlang:5d4c9dc9fc11bf8648541c934adb64f27cb94e37-alpine3.17' \
    -t 'git.rustybever.be/vieter-v/vlang:latest' \
    --push .

This build requires a working buildx environment.

The hash in the tag corresponds to the tag of the vlang repository.

Arch

The Arch builder image is a soft fork of Menci/docker-archlinuxarm, with the following minimal changes:

  • Enable LTO by default