[libc-commits] [PATCH] D153586: [libc] Do not include GPU system libraries for integration tests

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 22 13:25:52 PDT 2023


jhuber6 updated this revision to Diff 533767.
jhuber6 added a comment.

Updating for the other stuff


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153586/new/

https://reviews.llvm.org/D153586

Files:
  libc/test/IntegrationTest/CMakeLists.txt


Index: libc/test/IntegrationTest/CMakeLists.txt
===================================================================
--- libc/test/IntegrationTest/CMakeLists.txt
+++ libc/test/IntegrationTest/CMakeLists.txt
@@ -1,11 +1,13 @@
 if(LIBC_GPU_TARGET_ARCHITECTURE_IS_AMDGPU)
   set(TEST_COMPILE_FLAGS
+    -nogpulib
     -mcpu=${LIBC_GPU_TARGET_ARCHITECTURE}
     -emit-llvm # AMDGPU's intermediate object file format is bitcode.
     --target=${LIBC_GPU_TARGET_TRIPLE}
   )
 elseif(LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
   set(TEST_COMPILE_FLAGS
+    -nogpulib
     -march=${LIBC_GPU_TARGET_ARCHITECTURE}
     --target=${LIBC_GPU_TARGET_TRIPLE}
     --cuda-path=${LIBC_CUDA_ROOT}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153586.533767.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230622/837824b1/attachment.bin>


More information about the libc-commits mailing list