mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
make: show instructions about installing a C compiler, when the bootstrap compilation with cc fails (#23718)
This commit is contained in:
parent
81a2e7a772
commit
49fb7ca501
5 changed files with 20 additions and 4 deletions
7
cmd/tools/cc_compilation_failed_non_windows.sh
Executable file
7
cmd/tools/cc_compilation_failed_non_windows.sh
Executable 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
|
7
cmd/tools/cc_compilation_failed_windows.sh
Executable file
7
cmd/tools/cc_compilation_failed_windows.sh
Executable 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue