[ORC-RT] Don't unconditionally add dependence on llvm-jitlink.
authorLang Hames <lhames@gmail.com>
Fri, 2 Sep 2022 05:42:39 +0000 (22:42 -0700)
committerLang Hames <lhames@gmail.com>
Fri, 2 Sep 2022 05:53:30 +0000 (22:53 -0700)
commitc1c585a065e5f694570d334d0e432454be41e220
treeccd25659ebae9f61f6494abaa94d48c8582131fa
parent2ddfacd95ccf439e369d3f5daea9066903fe2f50
[ORC-RT] Don't unconditionally add dependence on llvm-jitlink.

Commit 4adc5bead4a moved a dependence on llvm-jitlink from
SANITIZER_COMMON_LIT_TEST_DEPS to ORC_TEST_DEPS, but in doing so it moved it
out from under a 'NOT COMPILER_RT_STANDALONE_BUILD ...' conditional. This led
to failures on standalone builds.

This commit adds the conditional to the ORC_TEST_DEPS assignment to work
around the issue while we look a longer term fix.

rdar://99453446
compiler-rt/test/orc/CMakeLists.txt