[clang] 606b77d - Fix test hip-runtime-libs-msvc.hip

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 16:55:12 PDT 2023


Author: Yaxun (Sam) Liu
Date: 2023-08-04T19:54:37-04:00
New Revision: 606b77d82d95b723fdf965e772af507d4099289d

URL: https://github.com/llvm/llvm-project/commit/606b77d82d95b723fdf965e772af507d4099289d
DIFF: https://github.com/llvm/llvm-project/commit/606b77d82d95b723fdf965e772af507d4099289d.diff

LOG: Fix test hip-runtime-libs-msvc.hip

Fix failure at https://lab.llvm.org/buildbot/#/builders/216/builds/25114

due to missing ROCm

Added: 
    

Modified: 
    clang/test/Driver/hip-runtime-libs-msvc.hip

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/hip-runtime-libs-msvc.hip b/clang/test/Driver/hip-runtime-libs-msvc.hip
index 34a7d36919c3b5..8085e77d457e56 100644
--- a/clang/test/Driver/hip-runtime-libs-msvc.hip
+++ b/clang/test/Driver/hip-runtime-libs-msvc.hip
@@ -8,7 +8,7 @@
 // RUN:   | FileCheck %s
 
 // Test HIP runtime lib is linked without --hip-link when there is HIP input file.
-// RUN: %clang -### --target=x86_64-pc-windows-msvc \
+// RUN: %clang -### --target=x86_64-pc-windows-msvc -nogpuinc -nogpulib \
 // RUN:   --rocm-path=%S/Inputs/rocm %s 2>&1 \
 // RUN:   | FileCheck %s
 


        


More information about the cfe-commits mailing list