I'm trying to set up several repos to build via CDash @Home and I'm
having trouble getting the clients to work properly with multiple
compilers. For example: I have a mac that I'd like to use to build
with both gcc and clang. So I have the following in the site xml:<br>
<br><span style="font-family:courier new,monospace"> <compiler></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <name>gcc</name></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <version>4.2.1</version></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <generator>Unix Makefiles</generator></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> </compiler></span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <compiler></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <name>clang</name></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <version>3.1</version></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <generator>Unix Makefiles</generator></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> </compiler></span><br>
<br>And in the build scheduler interface on CDash, I can see the 1 site
with both compilers as an option. But when I select gcc to schedule a
build, the client seems to get confused. It ends up using /usr/bin/gcc
for the C compiler but /usr/bin/c++ (clang) for the c++ compiler instead
of /usr/bin/g++.<br>
<br>So my 2 (unrelated) questions are:<br>1. How can I make sure the right commands get executed for different compilers on the same client site?<br>2. Entirely unrelated, what are the <include> and <path> tags used for in the <library> tags?<br>
<br>I also think I may have found an unrelated bug:<br>If I have a "/"
character in my CTEST_BUILD_NAME, then CDash doesn't seem to interpret
the submission properly and creates two entries. This comes up because I
set the CTEST_BUILD_NAME to include the git branch name and my git
branches usually have "/" characters in them (we effectively use it as a
name space)<br>
<br><br>Thanks<br>- Chuck<br clear="all"><br>