[CMake] Delete obsoleted COMPILER_RT_TEST_TARGET_TRIPLE
authorFangrui Song <i@maskray.me>
Wed, 15 Sep 2021 00:46:50 +0000 (17:46 -0700)
committerFangrui Song <i@maskray.me>
Wed, 15 Sep 2021 00:46:50 +0000 (17:46 -0700)
The last user has been removed from llvm-zorg for Android.

compiler-rt/cmake/Modules/CompilerRTUtils.cmake

index 5543e3c..63b4a65 100644 (file)
@@ -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)