John On 10/20/15 11:48 PM, Eric Eide wrote:
John Regehr <regehr@cs.utah.edu> writes:We can definitely find a clang to run -- we already find clang-format for example.I'll mention that we (attempt to) find `clang-format' at configure time, and if we find it, we burn the pathname into the script. If we need to invoke clang at run time, I would suggest using the same configure-time approach for finding the binary. I haven't looked a the whole patch, but the snippet that Yang quoted does not find clang in the way described above. Eric.