[clang] b8d9ac0 - Fix test hip-device-libs.hip

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 10:58:36 PST 2020


Author: Yaxun (Sam) Liu
Date: 2020-01-28T13:58:18-05:00
New Revision: b8d9ac08703b1ae9c3cd721c39774053786a9980

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

LOG: Fix test hip-device-libs.hip

Added: 
    

Modified: 
    clang/test/Driver/hip-device-libs.hip

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/hip-device-libs.hip b/clang/test/Driver/hip-device-libs.hip
index d546645a9d0b..97e76525dde8 100644
--- a/clang/test/Driver/hip-device-libs.hip
+++ b/clang/test/Driver/hip-device-libs.hip
@@ -21,7 +21,7 @@
 
 // Test environment variable HIP_DEVICE_LIB_PATH
 
-// RUN: HIP_DEVICE_LIB_PATH=%S/Inputs/hip_dev_lib \
+// RUN: env HIP_DEVICE_LIB_PATH=%S/Inputs/hip_dev_lib \
 // RUN:   %clang -### -target x86_64-linux-gnu \
 // RUN:   -x hip --cuda-gpu-arch=gfx900 \
 // RUN:   %S/Inputs/hip_multiple_inputs/b.hip \


        


More information about the cfe-commits mailing list