Add a makefile target to download and build the Clang 18.1.7 sources and install the compiler into /toolchains/clang-18.1.7/bin.
Usage example:
$ make clang-toolchains-build
$ PATH=$(pwd)/../toolchains/clang-18.1.7/bin:$PATH \
make -j$(nproc) COMPILER=clang check
The Clang build takes some significant time (about 12 minutes on my machine, a 24-core Intel Core i9-12900K) so may want to store a pre-built package somewhere in the future and have "make clang-toolchains" download that package. In the mean time, this new target allows to test OP-TEE with a recent LLVM toolchain.
Add a makefile target to download and build the Clang 18.1.7 sources and install the compiler into/toolchains/clang-18.1.7/bin.
Usage example:
$ make clang-toolchains-build $ PATH=$(pwd)/../toolchains/clang-18.1.7/bin:$PATH \ make -j$(nproc) COMPILER=clang check
The Clang build takes some significant time (about 12 minutes on my machine, a 24-core Intel Core i9-12900K) so may want to store a pre-built package somewhere in the future and have "make clang-toolchains" download that package. In the mean time, this new target allows to test OP-TEE with a recent LLVM toolchain.