ci: use gmake in freebsd_build_tcc.sh
							parent
							
								
									d4af86738b
								
							
						
					
					
						commit
						3c553f16ed
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue