make: show instructions about installing a C compiler, when the bootstrap compilation with cc fails (#23718)

This commit is contained in:
Delyan Angelov 2025-02-14 08:13:39 +02:00 committed by GitHub
parent 81a2e7a772
commit 49fb7ca501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 4 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh
## this script is used by the makefiles in the top level folder
echo
echo 'Compilation of v.c failed.'
echo 'See https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Linux-and-macOS .'
echo
false

View file

@ -0,0 +1,7 @@
#!/bin/sh
## this script is used by the makefiles in the top level folder
echo
echo 'Compilation of v.c failed.'
echo 'See https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Windows .'
echo
false

View file

@ -39,6 +39,8 @@
[[apps]]
path = 'examples/ttf_font/example_ttf.v'
compare.flags = ['-p','-fail 0.008','-failpercent 1.5']
# Reasons for ex- or inclusion:
#
@ -62,7 +64,7 @@
# 'examples/flappylearning/game.v' // Random movement
# 'examples/hot_reload/bounce.v' // Inaccurate captures
# 'examples/hot_reload/graph.v' // Inaccurate captures
# 'examples/ttf_font/example_ttf.v', // OK
# 'examples/ttf_font/example_ttf.v' // OK-ish ... the font rendering seems to be shifted with a few pixels on Ubuntu 24.04, compared to Ubuntu 20.04 . TODO: update it with the newer visuals.
# 'examples/sokol/01_cubes/cube.v', // Can pass with a warning and diff at around 1.2%
# 'examples/sokol/02_cubes_glsl/cube_glsl.v', // Inaccurate captures
# 'examples/sokol/03_march_tracing_glsl/rt_glsl.v', // Inaccurate captures