1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: use gmake in freebsd_build_tcc.sh

This commit is contained in:
Delyan Angelov 2021-08-15 11:32:40 +03:00
parent d4af86738b
commit 3c553f16ed
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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