[libc][NFC] Fix misspelled variable name in cmake message
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 23 Mar 2023 21:30:31 +0000 (16:30 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 23 Mar 2023 21:30:31 +0000 (16:30 -0500)
libc/cmake/modules/prepare_libc_gpu_build.cmake

index 1f9b68a..fe0f4ef 100644 (file)
@@ -45,7 +45,7 @@ endif()
 set(LIBC_GPU_TEST_ARCHITECTURE "" CACHE STRING "Architecture for the GPU tests")
 if(LIBC_GPU_TEST_ARCHITECTURE)
   message(STATUS "Using user-specified GPU architecture for testing "
-                 "'${LIBC_GPU_TARGET_ARCHITECTURE}'")
+                 "'${LIBC_GPU_TEST_ARCHITECTURE}'")
   if("${LIBC_GPU_TEST_ARCHITECTURE}" IN_LIST all_amdgpu_architectures)
     set(LIBC_GPU_TARGET_ARCHITECTURE_IS_AMDGPU TRUE)
     set(LIBC_GPU_TARGET_TRIPLE "amdgcn-amd-amdhsa")