Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Can I compile rockbox any faster?
« previous next »
  • Print
Pages: [1]

Author Topic: Can I compile rockbox any faster?  (Read 1930 times)

Offline Gregory

  • Member
  • *
  • Posts: 13
Can I compile rockbox any faster?
« on: April 13, 2008, 01:38:16 PM »
I've noticed that building rockbox takes quite a while, around 6 minutes on my 2.6 GHz amd.  Is this typical or is there something I can do to speed it up? 
I'm asking because when I'm watching my processor usage, it hovers around 20% percent, leading me to believe it might be possible for it to be faster.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Can I compile rockbox any faster?
« Reply #1 on: April 13, 2008, 01:52:10 PM »
make -jN
where N is the number of cores you have +1, maybe even +2 or more.

Also install ccache if you don't already, it will save time on subsequent compilations of files which haven't changed.

Also compile in native Linux if you can, if not VMWare should be second fastest, with cgywin coming in a distant third.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline gnu

  • Member
  • *
  • Posts: 269
Re: Can I compile rockbox any faster?
« Reply #2 on: April 13, 2008, 02:49:06 PM »
How fast would CoLinux be?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Can I compile rockbox any faster?
« Reply #3 on: April 13, 2008, 03:05:57 PM »
On a 2.2ghz AMD dual core, I could perform builds in 1:30 or less regularly. This is with native Linux, but CoLinux should approach this.
Logged

Offline Gregory

  • Member
  • *
  • Posts: 13
Re: Can I compile rockbox any faster?
« Reply #4 on: April 13, 2008, 04:21:21 PM »
Well I've been using cgywin, but I have a dual-boot with Ubuntu, so myabe I'll give that a try.
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Can I compile rockbox any faster?
« Reply #5 on: April 13, 2008, 04:43:28 PM »
If you want to keep using cygwin temporarily disabling your anti virus software can speed it up. Also there's no need to make clean every time if you have been doing that.
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Can I compile rockbox any faster?
« Reply #6 on: April 13, 2008, 08:03:40 PM »
I had been using cygwin, but I've just installed the VmWare development platform guided by the wiki.

cygwin was taking around 6.25 minutes for a full build, and with VmWare that has dropped to around 4 minutes.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Can I compile rockbox any faster?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.103 seconds with 15 queries.