Skip to content

Commit 77910ac

Browse files
[clang] Reorder output of rocm-detect.hip test
Since 6fa2abf the rocm driver is lazily loaded, which impacts the output of the rocm-detect.hip test.
1 parent b5ee4f7 commit 77910ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/rocm-detect.hip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@
8080
// ROCM-REL: ROCm installation search path: {{.*}}/opt/rocm
8181
// ROCM-REL: ROCm installation search path: {{.*}}/opt/rocm-3.10.0
8282

83-
// SPACK: ROCm installation search path (Spack 4.0.0): [[DIR:.*]]
83+
// SPACK: InstalledDir: [[DIR:.*]]/llvm-amdgpu-4.0.0-ieagcs7inf7runpyfvepqkurasoglq4z/bin
84+
// SPACK: ROCm installation search path (Spack 4.0.0): [[DIR]]
8485
// SPACK: ROCm installation search path: [[CLANG:.*]]
8586
// SPACK: ROCm installation search path: [[DIR]]/llvm-amdgpu-4.0.0-ieagcs7inf7runpyfvepqkurasoglq4z
8687
// SPACK: ROCm installation search path: [[DIR]]/llvm-amdgpu-4.0.0-ieagcs7inf7runpyfvepqkurasoglq4z/lib/clang
8788
// SPACK: ROCm installation search path: /opt/rocm
88-
// SPACK: InstalledDir: [[DIR]]/llvm-amdgpu-4.0.0-ieagcs7inf7runpyfvepqkurasoglq4z/bin
8989
// SPACK: Found HIP installation: [[DIR]]/hip-4.0.0-5f63slrursbrvfe2txrrjkynbsywsob5, version 4.0.20214-a2917cd
9090
// SPACK: "-triple" "amdgcn-amd-amdhsa"
9191
// SPACK-SAME: "-mlink-builtin-bitcode" "[[DIR]]/llvm-amdgpu-4.0.0-ieagcs7inf7runpyfvepqkurasoglq4z/amdgcn/bitcode/hip.bc"

0 commit comments

Comments
 (0)