Hi, The docs state that you can do a "make update" to update all top-level and embedded projects from Subversion. This does not appear to work with Ninja. Ninja just reports the following error: ninja: ERROR: unknown target 'update' FYI. Perhaps somebody is already looking into integrating Ninja better intp the build process. Or, perhaps I am just a too early adopter of Ninja because CMake + Ninja is still beta. -- Disclaimer: I am *not* arrogant in real life, so if you perceive me as being arrogant, you are to blame ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120618/80a7050e/attachment.html>
On Mon, Jun 18, 2012 at 2:32 AM, Mikael Lyngvig <mikael at lyngvig.org> wrote:> Hi, > > The docs state that you can do a "make update" to update all top-level and > embedded projects from Subversion.This is a feature of the configure+make build system, and not a feature of the CMake build system. I also don't have any real desire to support it as part of the CMake build system, I think it was always a flawed idea to implement version control commands as part of a build system. For example, I never, *ever* to in-tree builds, and a usually have many different builds associated with a single source repository. This makes the semantics of 'make update' quite confusing. I suggest writing the 4 line shell script (or the Windows analog to a 4-line shell script) that updates your tree. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120618/260f0ab8/attachment.html>
That's just what I did. And that's what I'm including in the Windows doc too. Huzzah, me am on top of it! ;-) 2012/6/18 Chandler Carruth <chandlerc at google.com>> On Mon, Jun 18, 2012 at 2:32 AM, Mikael Lyngvig <mikael at lyngvig.org>wrote: > >> Hi, >> >> The docs state that you can do a "make update" to update all top-level >> and embedded projects from Subversion. > > > This is a feature of the configure+make build system, and not a feature of > the CMake build system. I also don't have any real desire to support it as > part of the CMake build system, I think it was always a flawed idea to > implement version control commands as part of a build system. > > For example, I never, *ever* to in-tree builds, and a usually have many > different builds associated with a single source repository. This makes the > semantics of 'make update' quite confusing. > > I suggest writing the 4 line shell script (or the Windows analog to a > 4-line shell script) that updates your tree. >-- -- Disclaimer: I am *not* arrogant in real life, so if you perceive me as being arrogant, you are to blame ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120618/160fff1e/attachment.html>
On Mon, Jun 18, 2012 at 11:46 AM, Chandler Carruth wrote:> On Mon, Jun 18, 2012 at 2:32 AM, Mikael Lyngvig wrote: >> >> Hi, >> >> The docs state that you can do a "make update" to update all top-level and >> embedded projects from Subversion. > > > This is a feature of the configure+make build system, and not a feature of > the CMake build system. I also don't have any real desire to support it as > part of the CMake build system, I think it was always a flawed idea to > implement version control commands as part of a build system. > > For example, I never, *ever* to in-tree builds, and a usually have many > different builds associated with a single source repository. This makes the > semantics of 'make update' quite confusing.I can't see why it's confusing. I have only one source tree and any number of build trees; "make update" in each build tree updates the source tree. It's true that after the build (make happiness) finishes in one build dir, there are always new files to be pulled down when doing "make happiness" in the other build dir :) Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds