Skip to content

Commit

Permalink
[compiler-rt]Add lld into dependency for apple builds now that lld Ma…
Browse files Browse the repository at this point in the history
…ch-O backend is available (#75884)

Tested by `ninja check-profile` and all tests pass on a mac laptop.
  • Loading branch information
minglotus-6 committed Dec 19, 2023
1 parent 1b4a079 commit 69d7cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/profile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(PROFILE_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} compiler-rt-headers)
list(APPEND PROFILE_TEST_DEPS profile)
if(NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND PROFILE_TEST_DEPS llvm-profdata llvm-cov)
if(NOT APPLE AND COMPILER_RT_HAS_LLD AND "lld" IN_LIST LLVM_ENABLE_PROJECTS)
if(COMPILER_RT_HAS_LLD AND "lld" IN_LIST LLVM_ENABLE_PROJECTS)
list(APPEND PROFILE_TEST_DEPS lld)
endif()
endif()
Expand Down

0 comments on commit 69d7cd8

Please sign in to comment.