[libc-commits] [PATCH] D143444: [libc] Fix typo is processing LIBC_GPU_TEST_ARCHITECTURE.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Feb 6 16:21:20 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc7880f52e43b: [libc] Fix typo is processing LIBC_GPU_TEST_ARCHITECTURE. (authored by sivachandra).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143444/new/
https://reviews.llvm.org/D143444
Files:
libc/cmake/modules/prepare_libc_gpu_build.cmake
Index: libc/cmake/modules/prepare_libc_gpu_build.cmake
===================================================================
--- libc/cmake/modules/prepare_libc_gpu_build.cmake
+++ libc/cmake/modules/prepare_libc_gpu_build.cmake
@@ -46,11 +46,11 @@
if(LIBC_GPU_TEST_ARCHITECTURE)
message(STATUS "Using user-specified GPU architecture for testing "
"'${LIBC_GPU_TARGET_ARCHITECTURE}'")
- if("${LIBC_GPU_TARGET_ARCHITECTURE}" IN_LIST all_amdgpu_architectures)
+ 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")
set(LIBC_GPU_TARGET_ARCHITECTURE "${LIBC_GPU_TEST_ARCHITECTURE}")
- elseif("${LIBC_GPU_TARGET_ARCHITECTURE}" IN_LIST all_nvptx_architectures)
+ elseif("${LIBC_GPU_TEST_ARCHITECTURE}" IN_LIST all_nvptx_architectures)
set(LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX TRUE)
set(LIBC_GPU_TARGET_TRIPLE "nvptx64-nvidia-cuda")
set(LIBC_GPU_TARGET_ARCHITECTURE "${LIBC_GPU_TEST_ARCHITECTURE}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143444.495318.patch
Type: text/x-patch
Size: 1060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230207/01c469fd/attachment-0001.bin>
More information about the libc-commits
mailing list