This will put libraries into the build root's lib/ directory by default.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
If the runtime libraries are needed to run the tests, the just-built compiler won't find them unless they are in lib/.
Comment Actions
Sorry for the delay, I've been out of town. I want to loop @phosek into this. I don't think this patch is correct. When I build on Darwin the sanitizer libraries are put in the build directory under lib/clang/$version/darwin/lib (which is correct), and the other runtimes are built under /lib/. This all seems right to me, so I don't understand the problem you're experiencing.
@phosek has been doing a lot of work on the runtimes build lately, so he might have a better understanding of what is going on.