[compiler-rt] 69d7cd8 - [compiler-rt]Add lld into dependency for apple builds now that lld Mach-O backend is available (#75884)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 07:56:48 PST 2023


Author: Mingming Liu
Date: 2023-12-19T07:56:44-08:00
New Revision: 69d7cd80849ea57c9cd7ae74d361b34653d84c64

URL: https://github.com/llvm/llvm-project/commit/69d7cd80849ea57c9cd7ae74d361b34653d84c64
DIFF: https://github.com/llvm/llvm-project/commit/69d7cd80849ea57c9cd7ae74d361b34653d84c64.diff

LOG: [compiler-rt]Add lld into dependency for apple builds now that lld Mach-O backend is available (#75884)

Tested by `ninja check-profile` and all tests pass on a mac laptop.

Added: 
    

Modified: 
    compiler-rt/test/profile/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/CMakeLists.txt b/compiler-rt/test/profile/CMakeLists.txt
index 975e4c42f4b640..3057abebbe52cf 100644
--- a/compiler-rt/test/profile/CMakeLists.txt
+++ b/compiler-rt/test/profile/CMakeLists.txt
@@ -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()


        


More information about the llvm-commits mailing list