[PATCH] D124474: Honor COMPILER_RT_INCLUDE_TESTS when using LLVM_BUILD_EXTERNAL_COMPILER_RT=ON

Azharuddin Mohammed via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 14:25:07 PDT 2022


azharudd added a comment.

In D124474#3475550 <https://reviews.llvm.org/D124474#3475550>, @beanz wrote:

> In D124474#3475539 <https://reviews.llvm.org/D124474#3475539>, @azharudd wrote:
>
>> In this case I'm just trying to make it work with existing build configurations where it is being used (for example Swift). We should definitely be moving away from `LLVM_BUILD_EXTERNAL_COMPILER_RT` in favor of `LLVM_ENABLE_RUNTIMES` eventually though.
>
> My point here is that maybe you should move away from the legacy way of building now rather than improving it... Not sure how @phosek feels about this. I would personally very much prefer if we only had one way to build compiler-rt instead of the half dozen we have today.

I understand, and I agree there should be only one way to do it. I did think about it but it is more involved and I unfortunately don't have the time to commit to it right now. I'm hoping we can take care of it at some point (I'm tracking it), but until then this satisfies the immediate need.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124474/new/

https://reviews.llvm.org/D124474



More information about the cfe-commits mailing list