Re: [Gimp-developer] Using Parallel Make

2007-08-05 Thread Sven Neumann
Hi,

On Sat, 2007-08-04 at 16:46 -0700, Don Rozenberg wrote:

 I recently acquired a new PC with a dual core chip running Kubuntu 
 Feisty Fawn. So when I last tried to build Gimp, version 2.3.18, I used 
 make -j and the build terminated with an error in just a few seconds.  

Is there a particular reason that you are building an outdated
development release? The problem that you point out has been fixed quite
a while ago and 2.3.19 includes this fix.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Using Parallel Make

2007-08-04 Thread Don Rozenberg
Hi,

I recently acquired a new PC with a dual core chip running Kubuntu 
Feisty Fawn. So when I last tried to build Gimp, version 2.3.18, I used 
make -j and the build terminated with an error in just a few seconds.  
If I just use the command make,  the build completes successfully in 
about 10 minutes. 

Reading up on parallel make, I conclude that the Gimp makefile is not up 
to snuff for doing a parallel make.  Naively perhaps, I think that is a 
shame because I bet a lot of people would save a lot of time if they 
could do parallel makes.  Has anyone looked at doing parallel builds of 
Gimp?


Regards,
Don
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Using Parallel Make

2007-08-04 Thread Chris Moller




"make -j" without a numeric argument will overwhelm most machines
fairly quickly in complex makes. Since you're running a dual-core
machine, try "make -j3" or "make -j4". This will limit the number of
concurrent processes to something reasonable and provide decent load
balancing between processing and i/o. (I haven't looked at the gimp
Makefiles recently, but running gcc with the -pipe option might help
performance, at least on Linux systems--I haven't a clue about Windows
systems.)

Don Rozenberg wrote:

  Hi,

I recently acquired a new PC with a dual core chip running Kubuntu 
Feisty Fawn. So when I last tried to build Gimp, version 2.3.18, I used 
"make -j" and the build terminated with an error in just a few seconds.  
If I just use the command "make",  the build completes successfully in 
about 10 minutes. 

Reading up on parallel make, I conclude that the Gimp makefile is not up 
to snuff for doing a parallel make.  Naively perhaps, I think that is a 
shame because I bet a lot of people would save a lot of time if they 
could do parallel makes.  Has anyone looked at doing parallel builds of 
Gimp?


Regards,
Don
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

  



-- 


 

Christian H. L. Moller
President

Moller Software Development Services, LLC 



  

  [EMAIL PROTECTED]
  
  919.367.8689 (Voice)


www.mollerware.com
  
  
  919.367.9097 (Fax)

  

 


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Using Parallel Make

2007-08-04 Thread Don Rozenberg
Looking more closely at what is happening, I notice that when I do a

make -j 3

the make stops with the following error message:

make[2]: *** No rule to make target 
`../libgimpthumb/libgimpthumb-2.0.la', needed by `gimp-thumbnail-list'. 
  Stop.


If I then do a make, followed by a Control-c in say 5 seconds, 
followed by a make -j 3 the build will complete successfully yielding 
a working program.

This seems to be repeatable.  The total build time is approximately 
halved and both cpu's are pegged most of the time.

Thanks for the suggestion to use -j 3.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer