<div dir="ltr">Ping!</div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-10 19:11 GMT-04:00 Samuel F Antao <span dir="ltr"><<a href="mailto:sfantao@us.ibm.com" target="_blank">sfantao@us.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font face="sans-serif">Hi all,</font><br>
<br>
<font face="sans-serif">The driver regression tests for the hexagon target rely on the minimal/dummy toolchain that comes in the Inputs folder included in the clang driver tests’s folder. The path to the right toolchain is specified using the -ccc-install-dir switch. However, if clang was configured with a custom gcc toolchain (either by using GCC_INSTALL_PREFIX in cmake or the equivalent configure command), the path to the custom gcc toolchain path takes precedence to the one specified by -ccc-install-dir. This causes several regression tests to fail as they will be using an unexpected path. Adding the switch --gcc-toolchain=“” in each test command is not enough as the hexagon toolchain implementation in the driver is not evaluating this argument. </font><br>
<br>
<font face="sans-serif">This patch modifies the hexagon toolchain to take the --gcc-toolchain=“” argument into account when deciding the toolchain path, similarly to what is already done for other targets’ toolchains. Additionally, the faulty regression tests are modified in order to --gcc-toolchain=“” be passed to the commands.</font><br>
<br>
<font face="sans-serif">The modified files are the following:</font><br>
<br>
<font face="sans-serif">lib/Driver/ToolChains.cpp</font><br>
<font face="sans-serif">lib/Driver/ToolChains.h</font><br>
<font face="sans-serif">lib/Driver/Tools.cpp</font><br>
<font face="sans-serif">test/Driver/hexagon-toolchain-elf.c</font><br>
<font face="sans-serif">test/Driver/hexagon-toolchain.c</font><br>
<br>
<font face="sans-serif">Thanks,</font><br>
<br>
<font face="sans-serif">Sam</font><br>
<br>
<i>(See attached file: clang_hexagon_toolchain.patch)</i></p></div><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>