Fix running orc-rt tests with LLVM_BUILD_EXTERNAL_COMPILER_RT
authorBen Langmuir <blangmuir@apple.com>
Tue, 25 Jan 2022 00:05:49 +0000 (16:05 -0800)
committerBen Langmuir <blangmuir@apple.com>
Tue, 25 Jan 2022 16:27:40 +0000 (08:27 -0800)
commit0e5ea403e8deeb5374a9072aaa12292b9c0bed30
treec75abcbf833ed376a8eea2e2e05be9195c79fa97
parentef0d90f682b169b3148ff66cb1f592d78adec2f3
Fix running orc-rt tests with LLVM_BUILD_EXTERNAL_COMPILER_RT

Add missing dependency on llvm-jitlink when building compiler-rt with
LLVM_BUILD_EXTERNAL_COMPILER_RT. Previously we would
non-deterministically fail the tests due to the missing binary.

rdar://87247681

Differential Revision: https://reviews.llvm.org/D118087
clang/runtime/CMakeLists.txt