zephyr/cmake/toolchain
Ederson de Souza 41d05fccd6 cmake: Add xcc-clang toolchain
Instead of setting XCC_USE_CLANG=1, this patch adds xcc-clang toolchain
that is basically xcc using the clang compiler.

Initially, the new toolchain simply includes files from current xcc
toolchain and (re)sets some variables. This should be a more scalable
approach to diverge the toolchains in the future than placing
"if($ENV{XCC_USE_CLANG})" at several places.

It should also help to filter tests that run (or not) exclusively with
the clang variant of XCC on twister.

The XCC_USE_CLANG flag is documented as deprecated, and a message is
emitted during build if still in use. Its new behaviour is to instruct
Zephyr to use `xcc-clang` toolchain.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2022-02-25 11:17:06 -05:00
..
arcmwdt
armclang armclang: ARM Compiler C library support 2021-08-30 08:54:23 -04:00
cross-compile
espressif toolchain: esp32: define target toolchain 2021-09-28 20:06:25 -04:00
gnuarmemb
host
llvm cmake: llvm: llvm has no newlib 2021-04-22 07:42:58 -04:00
oneApi cmake: oneApi: add oneApi support on windows 2021-07-27 07:20:12 -04:00
xcc cmake: Add xcc-clang toolchain 2022-02-25 11:17:06 -05:00
xcc-clang cmake: Add xcc-clang toolchain 2022-02-25 11:17:06 -05:00
xtools arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
zephyr cmake: remove xtensa workaround in Zephyr toolchain code. 2021-12-17 14:23:49 +01:00