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:
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
|
||||||
|
7
.github/workflows/freebsd_build_tcc.sh
vendored
7
.github/workflows/freebsd_build_tcc.sh
vendored
@ -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
Block a user