ci: use gmake in freebsd_build_tcc.sh
parent
d4af86738b
commit
3c553f16ed
|
@ -2,7 +2,7 @@ freebsd_instance:
|
||||||
image_family: freebsd-13-0
|
image_family: freebsd-13-0
|
||||||
|
|
||||||
task:
|
task:
|
||||||
install_script: pkg install -y git tcc bash
|
install_script: pkg install -y git gmake bash
|
||||||
script: |
|
script: |
|
||||||
echo 'Building V'
|
echo 'Building V'
|
||||||
git clone https://github.com/vlang/v
|
git clone https://github.com/vlang/v
|
||||||
|
|
|
@ -15,12 +15,15 @@ cd tinycc
|
||||||
--crtprefix=thirdparty/tcc/lib:/usr/lib \
|
--crtprefix=thirdparty/tcc/lib:/usr/lib \
|
||||||
--libpaths=thirdparty/tcc/lib:/usr/lib:/lib:/usr/local/lib \
|
--libpaths=thirdparty/tcc/lib:/usr/lib:/lib:/usr/local/lib \
|
||||||
--debug
|
--debug
|
||||||
make
|
gmake
|
||||||
make install
|
gmake install
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mv tinycc/thirdparty/tcc thirdparty/tcc
|
mv tinycc/thirdparty/tcc thirdparty/tcc
|
||||||
mv thirdparty/tcc/tcc thirdparty/tcc/tcc.exe
|
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
|
thirdparty/tcc/tcc.exe -v -v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue