[runtimes] Always configure libc++abi before libc++
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 1 Mar 2022 14:17:57 +0000 (09:17 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 6 May 2022 19:44:25 +0000 (15:44 -0400)
commit7b04bf9d6f27a9c5f4de2287fcd73edea9213bcb
tree486af044f9e28191e5c09c52a10831892a5a9942
parent072e0aabbc457b8802dcf7b483e3acebfbde1c33
[runtimes] Always configure libc++abi before libc++

That makes it possible to reuse libc++abi targets from the libc++
configuration, which is necessary to allow major CMake simplifications.
As a fly-by fix, we also unify how compiler-rt ordering is handled so
it matches how libc++ and libc++abi are handled (compiler-rt always
ends up first).

Differential Revision: https://reviews.llvm.org/D120719
runtimes/CMakeLists.txt