[riot-commits] [RIOT-OS/RIOT] 6dcd3b: build system: support wrong target triples with LLVM
Martine Lenders
noreply at github.com
Thu Feb 11 19:15:53 CET 2021
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: 6dcd3bb8ffe7fb9cf09895b6e76675279aad320f
https://github.com/RIOT-OS/RIOT/commit/6dcd3bb8ffe7fb9cf09895b6e76675279aad320f
Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M makefiles/toolchain/llvm.inc.mk
Log Message:
-----------
build system: support wrong target triples with LLVM
clang/LLVM is a bit more finicky with what target triples it accepts compared
to GCC. However, the GCC target triple is needed to properly locate the C
libraries. In case a locally installed GCC toolchain uses a technically not
fully correct target triple, it might be impossible to build with LLVM.
The solution here is to allow specifying a TARGET_ARCH_LLVM target triple
(which defaults to TARGET_ARCH), which is passed to clang. For locating the
C lib, still TARGET_ARCH is used.
Commit: 2991466cdd0372fd828bd3a1ae422821a2fc9411
https://github.com/RIOT-OS/RIOT/commit/2991466cdd0372fd828bd3a1ae422821a2fc9411
Author: Martine Lenders <m.lenders at fu-berlin.de>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M makefiles/toolchain/llvm.inc.mk
Log Message:
-----------
Merge pull request #15986 from maribu/llvm-target-tripple
build system: support wrong target triples with LLVM
Compare: https://github.com/RIOT-OS/RIOT/compare/efb2adf27ab6...2991466cdd03
More information about the commits
mailing list