[compiler-rt] aaf6295 - [CMake] Delete obsoleted COMPILER_RT_TEST_TARGET_TRIPLE

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 14 17:46:56 PDT 2021


Author: Fangrui Song
Date: 2021-09-14T17:46:50-07:00
New Revision: aaf62958f1ae3c17ed1f4551bac37c2e202ffd5e

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

LOG: [CMake] Delete obsoleted COMPILER_RT_TEST_TARGET_TRIPLE

The last user has been removed from llvm-zorg for Android.

Added: 
    

Modified: 
    compiler-rt/cmake/Modules/CompilerRTUtils.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
index 5543e3c6afc62..63b4a65f47c0a 100644
--- a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
@@ -430,12 +430,6 @@ macro(construct_compiler_rt_default_triple)
           "Default triple for which compiler-rt runtimes will be built.")
   endif()
 
-  if(DEFINED COMPILER_RT_TEST_TARGET_TRIPLE)
-    # Backwards compatibility: this variable used to be called
-    # COMPILER_RT_TEST_TARGET_TRIPLE.
-    set(COMPILER_RT_DEFAULT_TARGET_TRIPLE ${COMPILER_RT_TEST_TARGET_TRIPLE})
-  endif()
-
   string(REPLACE "-" ";" TARGET_TRIPLE_LIST ${COMPILER_RT_DEFAULT_TARGET_TRIPLE})
   list(GET TARGET_TRIPLE_LIST 0 COMPILER_RT_DEFAULT_TARGET_ARCH)
 


        


More information about the llvm-commits mailing list