noemu Repository
This is a repository for special ARM packages that contains i386 binaries. The purpose of these packages is to avoid emulation during compilation making it faster.
Setting it up
First of all be sure that you are inside your Mamona SDK environment and have all development packages already installed.
Then add the repository to the source list using the following commands:
echo deb http://dev.openbossa.org/mamona/0.2/noemu mamona main >> /etc/apt/sources.list apt-get update
After that you can install all noemu packages using task-mamona-sdk-noemu:
apt-get install task-mamona-sdk-noemu
or install individually any of available noemu packages:
- bash-noemu
- binutils-noemu
- cpp-noemu
- g++-noemu
- gcc-noemu
apt-get install <noemu package>
WARNING
If you're going to flash your SDK at your device, don't forget to reinstall task-mamona-sdk (it'll remove task-mamona-sdk-noemu and install the sdk again), or the sdk packages will not work (as they're compiled for another ARCH).
Testing it
Now you can recompile your code comparing the compilation time.
Take a look at some of our tests (using all of noemu packages):
| Package | emulated | noemu |
| wget configure | real 0m51.921s | real 0m23.380s |
| user 0m44.367s | user 0m17.613s | |
| sys 0m8.097s | sys 0m5.824s | |
| wget make | real 0m51.482s | real 0m7.514s |
| user 0m50.359s | user 0m7.016s | |
| sys 0m1.064s | sys 0m0.436s | |
| bluez-libs-3.36 configure | real 0m23.165s | real 0m15.716s |
| user 0m18.697s | user 0m9.873s | |
| sys 0m4.064s | sys 0m3.052s | |
| bluez-libs-3.36 make | real 0m36.400s | real 0m7.149s |
| user 0m35.314s | user 0m5.656s | |
| sys 0m1.084s | sys 0m0.684s | |
| bluez-utils-3.36 configure | real 0m45.817s | real 0m24.592s |
| user 0m40.119s | user 0m20.773s | |
| sys 0m7.044s | sys 0m4.860s | |
| bluez-utils-3.36 make | real 4m1.575s | real 1m1.164s |
| user 3m46.746s | user 0m52.311s | |
| sys 0m16.429s | sys 0m9.609s | |
| Qt-x11-4.4 configure | real 31m14.318s | real 24m30.077s |
| user 30m47.815s | user 23m54.110s | |
| sys 0m47.271s | sys 0m39.298s | |
| Qt-x11-4.4 make | real 521m26.516s | real 76m33.922s |
| user 520m56.165s | user 73m14.335s | |
| sys 5m49.958s | sys 3m21.357s | |
| glibc-2.7 configure | real 0m34.066s | real 0m27.145s |
| user 0m29.238s | user 0m20.829s | |
| sys 0m5.180s | sys 0m3.872s | |
| glibc-2.7 make | real 78m33.434s | real 25m46.912s |
| user 74m28.855s | user 22m41.293s | |
| sys 4m21.188s | sys 3m23.437s |
