D129166 was an attempt to ensure that by default we use the libc++ from the build dir instead of potentially picking up the system libc++. While I was reviewing D132257, I realized that part of the patch (i.e. the change to Makefile.rules) got lost. As I was reviving the code, I realized that it would be relatively straightforward to merge my change with what Felipe was trying to achieve. Instead of telling dotest to use the libc++ form the build dir and computing the path to the current build's libc++ (as was the case in D129166), we can specify the libc++ include and library dir to dotest (as was the case in D132257) and have lit compute the path to the libc++ in the build dir, achieving both objectives.
Details
Details
Diff Detail
Diff Detail