> On Jan 17, 2017, at 12:33 PM, Stephen Checkoway <s at pahtak.org> wrote: > > >> On Jan 17, 2017, at 10:11, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Actually you have to opt-in instead of opt-out right now, and I encourage you to try it if you’re contributing to LLVM: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo > > I just gave it a try following the steps for a combination of multiple projects. Initially, it failed to build because it couldn't find llvm-project/libcxx-abi. I symlinked libcxxabi to libcxx-abi, deleted the build directory and tried again. It fails to build, but this time with a bunch of undefined references to __cxa_XXX symbols. I didn't investigate further. > > Should this have just worked out of the box?Yes, can you post your cmake invocation, I’ll investigate. Thanks. — Mehdi
> On Jan 17, 2017, at 14:39, Mehdi Amini <mehdi.amini at apple.com> wrote: > > >> On Jan 17, 2017, at 12:33 PM, Stephen Checkoway <s at pahtak.org> wrote: >> >> >>> On Jan 17, 2017, at 10:11, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>> >>> Actually you have to opt-in instead of opt-out right now, and I encourage you to try it if you’re contributing to LLVM: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo >> >> I just gave it a try following the steps for a combination of multiple projects. Initially, it failed to build because it couldn't find llvm-project/libcxx-abi. I symlinked libcxxabi to libcxx-abi, deleted the build directory and tried again. It fails to build, but this time with a bunch of undefined references to __cxa_XXX symbols. I didn't investigate further. >> >> Should this have just worked out of the box? > > Yes, can you post your cmake invocation, I’ll investigate.Sorry, I should have done that initially. I copied it from the website: cmake -GNinja ../llvm-project/llvm -DLLVM_ENABLE_PROJECTS="clang;libcxx;compiler-rt" -- Stephen Checkoway
> On Jan 17, 2017, at 12:44 PM, Stephen Checkoway <s at pahtak.org> wrote: > > >> On Jan 17, 2017, at 14:39, Mehdi Amini <mehdi.amini at apple.com> wrote: >> >> >>> On Jan 17, 2017, at 12:33 PM, Stephen Checkoway <s at pahtak.org> wrote: >>> >>> >>>> On Jan 17, 2017, at 10:11, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>>> >>>> Actually you have to opt-in instead of opt-out right now, and I encourage you to try it if you’re contributing to LLVM: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo >>> >>> I just gave it a try following the steps for a combination of multiple projects. Initially, it failed to build because it couldn't find llvm-project/libcxx-abi. I symlinked libcxxabi to libcxx-abi, deleted the build directory and tried again. It fails to build, but this time with a bunch of undefined references to __cxa_XXX symbols. I didn't investigate further. >>> >>> Should this have just worked out of the box? >> >> Yes, can you post your cmake invocation, I’ll investigate. > > Sorry, I should have done that initially. I copied it from the website: > > cmake -GNinja ../llvm-project/llvm -DLLVM_ENABLE_PROJECTS="clang;libcxx;compiler-rt”It builds for me right now on OSX (running `ninja check-all` right now), can you `git pull`, try again from a clean build dir, and send me the trace (including the hash you’re on and your OS / platform as well). Thanks, Mehdi