This is an internal variable that's being renamed to LLVM_TARGET_TRIPLE
in D119918, instead use LLVM_DEFAULT_TARGET_TRIPLE.
Details
- Reviewers
rovka gkistanova - Commits
- rZORGe3ae5eb67e93: Replace the use of TARGET_TRIPLE
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
Hi @phosek,
the TARGET_TRIPLE is a parameter for the CrossWinToARMLinux.cmake cache file and used within it to configure the build, including LLVM_DEFAULT_TARGET_TRIPLE. Your changes will break the Win-to-Linux cross toolchain builds.
Would you revert your commit?
Those builders are currently on staging buildbot.
https://lab.llvm.org/staging/#/builders/36
https://lab.llvm.org/staging/#/builders/41
Aarch64 will be moved to the regular buildbot soon.
Armv7 got some problems (crash for some libc++ test) and it still under investigation.
I was planning on landing https://reviews.llvm.org/D119918 which renames TARGET_TRIPLE in CrossWinToARMLinux.cmake, would that address the issue?
I was planning on landing https://reviews.llvm.org/D119918 which renames TARGET_TRIPLE in CrossWinToARMLinux.cmake, would that address the issue?
This differential uses the old version of CrossWinToARMLinux.cmake and this cache file got a lot of changes currently. These changes will break merging of your changes.
Also, TARGET_TRIPLE is using only within the cache file. It should not interfere with other your changes. Or you want to wipe out any allusion to TARGET_RIPLE within the source tree?
I'm fine for CrossWinToARMLinux.cmake to continue using TARGET_TRIPLE to make it explicit that it's *not* the same variable as LLVM_TARGET_TRIPLE and avoid similar mistakes as I did in the future. I have reverted this change and updated D119918 and excluded CrossWinToARMLinux.cmake.
I'm testing https://reviews.llvm.org/D119918 locally on the builders. Looks like TARGET_TRIPLE as a cache file parameter slightly affects the configuration. I'm getting the warnings during the initial configuration.
I'll replace the parameter name to TOOLCHAIN_TARGET_TRIPLE to avoid the possible future mistakes and just in case.
I'll update the cache file and the buildbot configuration.