<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/98263>98263</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[OpenMP] Need a flag to pass to the link step of libomptarget and llvm-omp-kernel-replay
</td>
</tr>
<tr>
<th>Labels</th>
<td>
openmp
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kkwli
</td>
</tr>
</table>
<pre>
The build environment has a different GCC toolchain in a nondefault location. The `--gcc-install-dir` is specified to build clang and other components. In the link step of `libomptarget` and `llvm-omp-kernel-replay`, there is no mechanism to pass `--gcc-install-dir` to the build.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kUuu3CAQRVeDJyVbGP_aAw-Sfuoog3wG2UAZyjZpDAhwR2_3EU4rHylvhECqyzm3MEa9WqKJde9Z91LgkTYXpvv9h9HF7NTr9G0jmA9tFJB96ODsTjbBhhEQlF4WCvn-4XqF5JyRG2oL2gKCdVbRgodJYJzEpJ2tIKexnpflKmWpbUxoTKl0YD0HHSF6knrRpCC556_SoF0BrQKXNgog3e6dJZtiBR8tpI3AaHuHmMiDW3K60bPbfcKwUsrBeTg_m8deut2XdwqWTBnIG3xlPWfimnMCZQTrYCe5odVxzxQeY3wTObkT4CStCjU1amxGLGiqB8G74cKHptimGevLIJUcVTvWgxSqEQvhgM3Sq3oexkJPgouWDzXnQtR1U3W84z21DTZNK8UsWMtpR22q7FC5sBY6xoOm8SL6pjA4k4nnCoVwnuzumRB5nWE6pedjjazlRscU_0Qkncy5-C-e7KevrHuBz0QKEBaD62_3p-M_Jf_d8Fnv_7stjmCmLSUfWfOOiRsTt1Wn7Zgr6XYmbnnqeZQ-uO8kExO3Uy0ycftl95jEzwAAAP___nPh3g">