[libc-commits] [libc] 05727d9 - [libc][Obvious] Fix typos in LLVMLibCArchitectures.cmake defining target architectures.

Tue Ly via libc-commits libc-commits at lists.llvm.org
Mon Jan 9 12:53:59 PST 2023


Author: Tue Ly
Date: 2023-01-09T15:53:22-05:00
New Revision: 05727d94de75e2e98e6ae37c36aeb4f6ca6b2aed

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

LOG: [libc][Obvious] Fix typos in LLVMLibCArchitectures.cmake defining target architectures.

Fix typos in LLVMLibCArchitectures.cmake defining target architectures.

Differential Revision: https://reviews.llvm.org/D141314

Added: 
    

Modified: 
    libc/cmake/modules/LLVMLibCArchitectures.cmake

Removed: 
    


################################################################################
diff  --git a/libc/cmake/modules/LLVMLibCArchitectures.cmake b/libc/cmake/modules/LLVMLibCArchitectures.cmake
index 4c0c89cd0dd60..6308a2ccdd39e 100644
--- a/libc/cmake/modules/LLVMLibCArchitectures.cmake
+++ b/libc/cmake/modules/LLVMLibCArchitectures.cmake
@@ -111,11 +111,11 @@ endif()
 # the libc CMake infrastructure. Also, this is where we also check if the target
 # architecture is currently supported.
 if(LIBC_TARGET_ARCHITECTURE STREQUAL "arm")
-  set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_ARM TRUE)
+  set(LIBC_TARGET_ARCHITECTURE_IS_ARM TRUE)
 elseif(LIBC_TARGET_ARCHITECTURE STREQUAL "aarch64")
-  set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_AARCH64 TRUE)
+  set(LIBC_TARGET_ARCHITECTURE_IS_AARCH64 TRUE)
 elseif(LIBC_TARGET_ARCHITECTURE STREQUAL "x86_64")
-  set(LIBC_LIBC_TARGET_ARCHITECTUREITECTURE_IS_X86 TRUE)
+  set(LIBC_TARGET_ARCHITECTURE_IS_X86 TRUE)
 else()
   message(FATAL_ERROR
           "Unsupported libc target architecture ${LIBC_TARGET_ARCHITECTURE}")


        


More information about the libc-commits mailing list