Re: smartmake-like functionality has landed in mach

2013-05-06 Thread Nick Alexander
On 13-05-06 9:03 PM, Josh Matthews wrote: On 05/05/2013 09:07 PM, Felipe Gomes wrote: Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build co

Re: smartmake-like functionality has landed in mach

2013-05-06 Thread Josh Matthews
On 05/05/2013 09:07 PM, Felipe Gomes wrote: Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build content/base/src` won't add toolkit/librar

Re: smartmake-like functionality has landed in mach

2013-05-05 Thread Felipe Gomes
Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build content/base/src` won't add toolkit/library in that case. I think this would be a nice

Re: smartmake-like functionality has landed in mach

2013-05-04 Thread Neil
Gregory Szorc wrote: On 5/3/2013 11:19 AM, Reuben Morais wrote: You can also use |ac_add_options --with-chrome-format=symlink| to do something similar for the chrome JAR, it doesn't work with stuff that is preprocessed, but greatly reduces the number of files that require rebuildling browser

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Gregory Szorc
On 5/3/2013 11:19 AM, Reuben Morais wrote: You can also use |ac_add_options --with-chrome-format=symlink| to do something similar for the chrome JAR, it doesn't work with stuff that is preprocessed, but greatly reduces the number of files that require rebuildling browser/app when changed. P

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Nick Alexander
On 13-05-03 12:13 PM, Neil wrote: Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equiva

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Neil
Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach bu

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Reuben Morais
On May 3, 2013, at 8:53 AM, Ehsan Akhgari wrote: > On 2013-05-03 3:21 AM, Mike Hommey wrote: >> On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often missed. >>> >

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Ehsan Akhgari
On 2013-05-03 3:21 AM, Mike Hommey wrote: On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often missed. Why is that always required? I never build browser/app and have n

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Kyle Huey
On Fri, May 3, 2013 at 1:37 AM, Mike de Boer wrote: > I think it's much more an issue on Windows; there you need to build > browser each and every time. > Huh? I've been developing on windows for years and haven't seen this. - Kyle ___ dev-platform ma

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Mike de Boer
I think it's much more an issue on Windows; there you need to build browser each and every time. On May 3, 2013, at 9:27 AM, Dave Townsend wrote: > On 5/3/2013 12:21 AM, Mike Hommey wrote: >> On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on O

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Dave Townsend
On 5/3/2013 12:21 AM, Mike Hommey wrote: On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often missed. Why is that always required? I never build browser/app and have no

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Dave Townsend
On 5/2/2013 11:55 PM, Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the follo

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Mike Hommey
On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: > >Does it also build browser/app on OSX after every build? Since that is > >pretty much required all the time and often missed. > > Why is that always required? I never build browser/app and have not > noticed any problems at least f

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Ehsan Akhgari
On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/l

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Josh Matthews
On 05/03/2013 12:35 AM, Nick Alexander wrote: On 13-05-02 4:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the foll

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
On 13-05-02 4:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/lib

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Dave Townsend
On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/library That's correct. Or, if you're not a

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/library That's correct. Or, if you're not a mach user, it translates to make -f client.m

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Josh Matthews
According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/library Nothing more, nothing less. Cheers, Josh On 05/02/2013 10:58 PM, Axel Hecht wrote: Hi, what exactly does this do? If I

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Axel Hecht
Hi, what exactly does this do? If I mach build chrome does it build the things I need to get everything in chrome built, or does it build everything that depends on the chrome dir, or both? Axel On 5/2/13 7:03 PM, Nick Alexander wrote: Hello dev-platform, If you don't use mach, this messag

smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
Hello dev-platform, If you don't use mach, this message does not concern you. If you use mach, in particular |mach build DIRECTORY|, keep reading. Bug 677452 landed "smartmake-like" functionality into mach, which I have dubbed dumbmake. smartmake (and dumbmake) [1] maintains a list of dependen