zephyr/cmake/compiler
Marc Herbert 29d7f9fa73 xcc/cmake: fix error message when TOOLCHAIN_VER is undefined
The exact set of environment variables required by xt-xcc and xt-clang
is a bit of a dark magic and error-prone. TOOLCHAIN_VER is definitely
one of them and the error message was puzzling when TOOLCHAIN_VER was
undefined or not exported.

- Add TOOLCHAIN_VER to the list of variables in the error message

- Replace the vague "toolchain not found" in the error message with the
  more useful "XCC/install/tools//XtensaTools/bin/xt-xcc not found" where
  the double slash and comparison with the filesystem clearly point at
  where TOOLCHAIN_VER is missing.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-02-16 14:54:14 +01:00
..
arcmwdt cmake: compiler: add double promotion warning 2024-01-26 21:37:24 -05:00
armclang cmake/compiler/: drop ERROR_QUIET when looking for compiler --version 2023-12-04 16:38:08 +00:00
clang cmake: compiler: add double promotion warning 2024-01-26 21:37:24 -05:00
gcc cmake/compiler/gcc: use -flto only for gcc >= 4.5.0 2024-02-16 12:49:42 +01:00
host-gcc cmake: provide a useful error msg when native compiler is missing 2023-02-09 22:10:16 +09:00
icx cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
xcc xcc/cmake: fix error message when TOOLCHAIN_VER is undefined 2024-02-16 14:54:14 +01:00
xt-clang cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
compiler_features.cmake cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
compiler_flags_template.cmake cmake: compiler: Add compiler property for no-builtin 2023-11-13 10:21:41 +01:00