[ovs-dev] [PATCH] Makefiles: Fix invocation of dot2pic when builddir != srcdir.
blp at nicira.com
Fri May 9 14:04:52 UTC 2014
I thought everyone knew.
OK, I will write up some text for INSTALL.
On May 8, 2014 11:31 PM, "Andy Zhou" <azhou at nicira.com> wrote:
> This is great and I was not aware of this. Although I knew GCC and GDB
> builds support build directories.
> IMHO, It will be helpful to other developers as well.
> On Thu, May 8, 2014 at 9:42 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Fri, May 09, 2014 at 01:37:19PM +0900, YAMAMOTO Takashi wrote:
> >> > On Fri, May 09, 2014 at 01:26:03PM +0900, YAMAMOTO Takashi wrote:
> >> >> sorry, i didn't know builddir can be different from srcdir.
> >> >
> >> > I guess not everyone builds that way but I like to have multiple
> >> > builddirs so that I can easily do both Clang and GCC builds off a
> >> > source tree.
> >> sounds useful. can you share a recipe in INSTALL?
> > It is the same form as with every project built with Autoconf and
> > Automake.
> > # Basic setup.
> > cd ovs
> > ./boot.sh
> > # First build dir.
> > #
> > # I name my builddirs beginning with "_". It is only a
> > # personal convention, although I think I got it from Paul Smith (see
> > # http://mad-scientist.net/make/).
> > mkdir _build
> > (cd _build && ../configure && make)
> > # Second build dir.
> > mkdir _clang
> > (cd _clang && ../configure CC=clang && make)
> > # And then after that you can just run "make" in both directories. I
> > # use a simple script.
> > I am not sure that it is worth describing in INSTALL, because I am not
> > sure that most developers want to do it.
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev