<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/68141>68141</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
openmp testing should pass nogpulib
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JonChesterfield
</td>
</tr>
</table>
<pre>
At present, check-openmp on amdgpu fails with `error: cannot find ROCm device library`
The test setup is in libomptarget/test/lit.cfg where one can add -nogpulib. That then fails because nogpulib implies no devicertl, which seems dubious to me since openmp definitely cannot ever work without the devicertl. So I'd like to change nogpulib to link in the devicertl anyway.
If we don't want to change that, we can pass `lomptarget.devicertl` as well as nogpulib to get the right effect.
However I can't see how to do that from lit.cfg. The current commandline flags are prepended before the foo.cpp clause and the explicit library name (either the l form or the archive name) needs to come after it.
Alternatives?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUU0-PuzYQ_TTmMlpEnEDIgUO6P0XdXiq1-wWMPeDpGhvZQ2i-fWWSdLMXLOz58968eSolGj1iJ-rfRP2rUAvbELs_gn-3mBjjQOhM0Qdz684Mc8SEnoV8B21Rf72FGf00Q_CgJjPOCwyKXIKV2IJoKowxRLE_g1beB4aBvIG__nyfwOCVNIKjPqp4E00lql-iOt-_nxaBMTEk5GUGSkA-h4ZpZhVHZCEv-V3IiyMu9TDCajEiBI-5FShj4M2HcV4c9SV8WsXAFv0DXo9aLQnhGQE0zY4wgQ8PYJFdJrla0hYS4pTALD2FJQEHmBASeY3woG9wIE-M7vYkileMsIb4tY0iLFv779ol_B3gQ8ijAUdfmGtqq_z4AokDOPJfmfmPVFD-tqpb-TqvjwFWBBO8kEeGVXl-qchWbYKt99HMKqUsjft_mOU35aYClWBF5_L5imXEO4VIo2XAYUDNPzD8HtaN9EfusuFIiGDDmrNN2GDAEMMED8myLAh6iRE9gw7TpLxx5BEGp8YEKmLetxm9QQM9DiHiBmEIodTzDNptIipvtmv8d3akiZ87BV5NCEK2SGwxbjEOhhAnCPc_FbWlK26BQp7AI5pNXx0mBDUwRqCfLM-OMXrFdMUk9pf7ZWG6vTntT6rAbtecmn3dtG1b2E7WfVu1x1oeK7mTbduf5OlY97XSWlemaQvqZCX3u6ra79rd4SDLqu31QTX1oKpmkLtWHCqcFLnSuetUhjgWlNKCXdPuDrvCqR5d2rwrpccVtkchZbZy7HLOW7-MSRwqR4nTdxUmdtg91jdbifwIyYbFmfuGPLUvlug6yzwnsT8LeRHyMhLbpS91mLL_3PV5vM0x_IM6u3LDkYS8bDj_CwAA__-eFH6Z">