Author Topic: Test of parallel building  (Read 8173 times)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Test of parallel building
« on: January 25, 2006, 08:25:34 pm »
Don Corleone, I'm happy to see you're working in that feature already.

I just downloaded and compiled that branch :)

A full rebuild of Code::Blocks in my machine using -s -O3 and removing -g takes 8 minutes 47 seconds. Now, using that branch and setting 3 threads it rebuilds that project in 5 minutes 5 seconds.

I'd like to know if there's something else to add there, to that feature :)

And thanks :D

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Test of parallel building
« Reply #1 on: January 25, 2006, 08:55:58 pm »
A full rebuild of Code::Blocks in my machine using -s -O3 and removing -g takes 8 minutes 47 seconds. Now, using that branch and setting 3 threads it rebuilds that project in 5 minutes 5 seconds.

Does this mean it's working?  :shock:




Lol, I 'm kidding :lol:, of course it's working ;)
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Test of parallel building
« Reply #2 on: January 25, 2006, 09:17:07 pm »
It's the first time I post in the wrong place :P

Anyway, that means it's supposed to be fully working and just needs some more testing before the merge?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Test of parallel building
« Reply #3 on: January 25, 2006, 09:36:53 pm »
......    merge the goodies ........ merge the goodies ....



 :lol: :lol: :lol: :lol: :lol:

sethjackson

  • Guest
Re: Test of parallel building
« Reply #4 on: January 25, 2006, 09:56:08 pm »
......    merge the goodies ........ merge the goodies ....



 :lol: :lol: :lol: :lol: :lol:

Merge, merge, merge. Wait do bugs come with that too.  :lol:

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Test of parallel building
« Reply #5 on: January 25, 2006, 09:56:57 pm »
Anyway, that means it's supposed to be fully working and just needs some more testing before the merge?

Let me put it this way: it builds C::B just fine ;) so, yes, it just needs some more testing.
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Test of parallel building
« Reply #6 on: January 25, 2006, 11:07:52 pm »
:'( I want a dual core!

sethjackson

  • Guest
Re: Test of parallel building
« Reply #7 on: January 25, 2006, 11:17:00 pm »
:'( I want a dual core!

Heh I want a supercomputer. Yeah daul core would be sweeet (I don't have it a present).  8)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Test of parallel building
« Reply #8 on: January 30, 2006, 03:22:46 am »
OK, I found a problem.

Open Code::Blocks and create a new file (the code can be as simple as an empty int main). Now, click on Build.

I always have to click twice to get it compiled and linked.

When the .o file isn't created, the linker will fail, but if the code is correct it'll compile. If you click on Build again it'll link. If you change something in the file and click on Build again, the old .o file will be linked and a new .o file will be created (due to the changes). Once again I have to click twice to get the latest changes in the exe.

NOTE: I'm using 3 threads for compilation.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Test of parallel building
« Reply #9 on: January 30, 2006, 09:09:01 am »
Ah, I forgot to update the single-file build commands. Done now.
Thanks.
Be patient!
This bug will be fixed soon...