The variable representing target triple in libunwind is named
LIBUNWIND_TARGET_TRIPLE, not TARGET_TRIPLE.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Actually it seems to be missing in libunwind, but I see it in libc++abi and libc++ (I missed that one). Do you want me to remove it from those two or add it to libunwind? It's a little strange to be using both LIBUNWIND_TARGET_TRIPLE and TARGET_TRIPLE in the same file.
I'm okay with this change in principle, but Im worried that this may break the buildbots. Please ensure that they remain green after this change.
After some more digging through libc++ test suite, I think I understand now why these are different variables. It may be possible to remove these and just rely on plain CMake variables but this is likely going to require some more CMake and lit surgery, so for now I'm going to land D40820 which is an alternative solution and revisit this later after I cleanup libc++ test suite.