<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60457>60457</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[openmp] missing gpu targets for vanilla build on 16.0.0-rc1
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
h-vetinari
</td>
</tr>
</table>
<pre>
I have another failure with [trying](https://github.com/conda-forge/openmp-feedstock/pull/77) to build openmp 16.0.0-rc1. Can open a separate issue if desired, but since one already exists I start here:
```
-- Configuring done
CMake Error at libomptarget/plugins/amdgpu/CMakeLists.txt:93 (add_dependencies):
The dependency target "omptarget.devicertl.amdgpu" of target
"omptarget.rtl.amdgpu" does not exist.
CMake Error at libomptarget/plugins/cuda/CMakeLists.txt:85 (add_dependencies):
The dependency target "omptarget.devicertl.nvptx" of target
"omptarget.rtl.cuda" does not exist.
CMake Error at libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt:93 (add_dependencies):
The dependency target "omptarget.devicertl.amdgpu" of target
"omptarget.rtl.amdgpu.nextgen" does not exist.
CMake Error at libomptarget/plugins-nextgen/cuda/CMakeLists.txt:88 (add_dependencies):
The dependency target "omptarget.devicertl.nvptx" of target
"omptarget.rtl.cuda.nextgen" does not exist.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
```
AFAICT, by default, the GPU targets shouldn't be built, especially if there's no appropriate hardware / drivers around. This is how things used to work the last couple of releases.
_Originally posted by @h-vetinari in https://github.com/llvm/llvm-project/issues/60393#issuecomment-1411813152_
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VU1vo0gQ_TXtSwkEDRj7wCEfyyjSrnYP2XNU0AX0pt2Nqrud-N-vwI53ImVHM5qMZGFBF1XvVRXvofd6tESNqG5Fdb_BGCbHzZQcKWiLrDedU6fmASY8EqB1YSKGAbWJTPCiwwSiug180nYU1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