Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe Xcode needs different settings? (I think I looked into this once and it was non-trivial to change for Xcode, so if it's working for you I guess you don't need to worry about it. Too bad for me/us, though.) Jordan
On Dec 17, 2013, at 9:24 , Jordan Rose <jordan_rose at apple.com> wrote:> Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe Xcode needs different settings? > > (I think I looked into this once and it was non-trivial to change for Xcode, so if it's working for you I guess you don't need to worry about it. Too bad for me/us, though.) >Ah, I take it back: in a clean build Clang tries to link ~llvm/build/bin/Debug/Debug/clang-tblgen (doubly wrong!) and also fails to link because the link paths are -Lllvm/build/bin/Debug/Debug -Lllvm/build/lib/Debug -Lllvm/build/lib ...but Xcode still built into llvm/build/Debug/lib. Jordan
On Dec 17, 2013, at 9:32 , Jordan Rose <jordan_rose at apple.com> wrote:> > On Dec 17, 2013, at 9:24 , Jordan Rose <jordan_rose at apple.com> wrote: > >> Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe Xcode needs different settings? >> >> (I think I looked into this once and it was non-trivial to change for Xcode, so if it's working for you I guess you don't need to worry about it. Too bad for me/us, though.) >> > > Ah, I take it back: in a clean build Clang tries to link ~llvm/build/bin/Debug/Debug/clang-tblgen (doubly wrong!) and also fails to link because the link paths are > > -Lllvm/build/bin/Debug/Debug > -Lllvm/build/lib/Debug > -Lllvm/build/lib > > ...but Xcode still built into llvm/build/Debug/lib.Looks like everything is working now, except that clang-tblgen is still being built into ~llvm/build/bin/Debug/Debug/clang-tblgen. I'll see if I can figure out why that's happening, but it's not a blocker because it's referenced the same way. It's just a bit silly. Thanks! Jordan