From 049bb4bb07401eb6c6a46c529a011061173a8574 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sat, 15 Apr 2023 21:22:42 -0400 Subject: [PATCH] fix(v) switch to weekly builds. currently broken due to changes in the v c-compiler. git clone builds, so i expect this will be fixed with the next weekly release. it git clones the current compiler from another archive to build, so all past versions are strictly unbuildable (as is the most recent release). --- projects/vlang.io/package.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/projects/vlang.io/package.yml b/projects/vlang.io/package.yml index f32d72e5..232b1d0c 100644 --- a/projects/vlang.io/package.yml +++ b/projects/vlang.io/package.yml @@ -1,10 +1,10 @@ distributable: - url: https://github.com/vlang/v/archive/refs/tags/{{ version }}.tar.gz + url: https://github.com/vlang/v/archive/refs/tags/weekly.{{ version.raw }}.tar.gz strip-components: 1 versions: - github: vlang/v/tags - ignore: /weekly\./ + github: vlang/v + strip: /weekly\./ interprets: extensions: v @@ -21,8 +21,7 @@ build: git apply props/int-types.diff fi - cc -std=gnu11 -w -o v vc/v.c -lm - + make mkdir -p "{{prefix}}/"{libexec,bin} cp -R cmd thirdparty v v.mod vlib {{prefix}}/libexec/