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 +