From 3c553f16edbf7dee8dfd75cb74fad1db0ab0b684 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 15 Aug 2021 11:32:40 +0300 Subject: [PATCH] ci: use gmake in freebsd_build_tcc.sh --- .cirrus.yml | 2 +- .github/workflows/freebsd_build_tcc.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c0ff5bbe54..9651c206dd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -2,7 +2,7 @@ freebsd_instance: image_family: freebsd-13-0 task: - install_script: pkg install -y git tcc bash + install_script: pkg install -y git gmake bash script: | echo 'Building V' git clone https://github.com/vlang/v diff --git a/.github/workflows/freebsd_build_tcc.sh b/.github/workflows/freebsd_build_tcc.sh index 6b8578bfe0..152c533881 100755 --- a/.github/workflows/freebsd_build_tcc.sh +++ b/.github/workflows/freebsd_build_tcc.sh @@ -15,12 +15,15 @@ cd tinycc --crtprefix=thirdparty/tcc/lib:/usr/lib \ --libpaths=thirdparty/tcc/lib:/usr/lib:/lib:/usr/local/lib \ --debug -make -make install +gmake +gmake install popd mv tinycc/thirdparty/tcc thirdparty/tcc mv thirdparty/tcc/tcc thirdparty/tcc/tcc.exe +sudo ln -s $(pwd)/thirdparty/tcc/tcc.exe /usr/local/bin/tcc + thirdparty/tcc/tcc.exe -v -v +