<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54268>54268</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
The MSVC team recently test LLVM project failed to run "Clang :: Driver/hip-link-bundle-archive.hip" test on release and debug configuration on Windows_x86 and windows_x64.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rachelhe123
</td>
</tr>
</table>
<pre>
Hi All,
The MSVC team recently test LLVM project failed to run "Clang :: Driver/hip-link-bundle-archive.hip" test on release and debug configuration on Windows_x86 and windows_x64. Below are details of this issue:
**Describe the bug**
LLVM failed to run run "Clang :: Driver/hip-link-bundle-archive.hip" test on release and debug configuration with MSVC on windows x86 and x64. Could you please help look at this issue or provide some workarounds? Thanks in advance.
**Error message**
......
PASS: Clang-Unit :: Tooling/Syntax/RelWithDebInfo/SyntaxTests.exe/TreeTests/TreeTest.LastLeaf/8 (29918 of 29918)
********************
Failed Tests (1):
Clang :: Driver/hip-link-bundle-archive.hip
Testing Time: 1262.18s
Skipped : 4
Unsupported : 253
Passed : 29630
Expectedly Failed: 30
Failed : 1
**Expected behavior**
For LLVM x86 and x64, "Clang :: Driver/hip-link-bundle-archive.hip" test should be run pass on the windows.
**To Reproduce on Windows**
1. git clone https://github.com/llvm/llvm-project F:\gitP\llvm\llvm-project
2. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
3. mkdir F:\gitP\llvm\llvm-project\build_amd64
4. cd F:\gitP\llvm\llvm-project\build_amd64
5. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DLLVM_ENABLE_PROJECTS="clang" ..\llvm 2>&1
6. msbuild /maxcpucount:4 /p:Platform=x64 /p:Configuration=RelWithDebInfo /p:PreferredToolArchitecture=x64 LLVM.sln /t:Rebuild 2>&1
7. set PATH=C:\Python\Python37\;%PATH% 2>&1
8. set PATH=C:\Python\Python37\Scripts;%PATH% 2>&1
9. set PATH=F:\tools\gnuwin32\bin;%PATH% 2>&1
10. rename ..\clang\test\Interpreter\execute.cpp execute.cpp.bak 2>&1
11. rename ..\clang\test\utils\update_cc_test_checks\check-globals.test check-globals.test.bak 2>&1
12. python.exe ../llvm/utils/lit/lit.py -v --no-progress-bar --param build_mode=RelWithDebInfo --param clang_site_config=./tools/clang/test/lit.site.cfg ./tools/clang/test -j 4 2>&1
**Setup**
VS 2019 + Windows Server 2019
**Additional context**
test logs
[test.log](https://github.com/llvm/llvm-project/files/8205143/test.log)
[test.log.7.txt](https://github.com/llvm/llvm-project/files/8205133/test.log.7.txt)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVV1uPmzgU_jXkxQKBSTLJQx4yuWxnO2mjIZ2qT5GBk-DGYGSbufz7PTYkZWa63W13tdIiFHw5fOf6HZNU5s-zd5zMhfDowguXXjhvf3cFkE1yvyAGWEkUZFAZ8Ywzbcjt7f2G1Ep-hcyQA-MCcmIkUU1FPEoXglVH4sVzvMlS8QdQHl0XvPYFr05-2lS5AJ-prMCtANfxnRZXVqhIANNAWJWTHNLmSDJZHfixUcxw3Mf7M69y-aj3T5OxE3s8z8fDgFyDkI-EKcC3DVqmiTwQU3BNuNYNWKt6TnrU3kvQmeIpoBwQVNmu9uWcwy8d_S-cfeSmaJPgJs5NcnbbubuQjcjJs2xI3UIVIGoipDwRZnp-E6lswh54DkTLEsijVCemJJqnvXhNdgWrTihbEZY_sCqD4G2YVkohSglasyP0YxS4qx1v50liQ-Hi4n-quDkHZyclhgSDu06eK8OecHAH4jO6uIT0pjrIy84Ow6MDeEIl650CcPPeOLhl2twCO-DaBJMwodNpNLGJdgOPTvtm_-LtENZtyp0BVlFksc8lRMjPJ79PMATFeJAdL21ZkoiOaRB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