Author Topic: Arch on Odroid / Raspberry Pi - tips to speed things up  (Read 914 times)

Offline Marakasmalan

Arch on Odroid / Raspberry Pi - tips to speed things up
« on: October 06, 2016, 02:55:35 AM »
For the Rpi 3, if you are using a class 10 micro SD card

nano /boot/config.txt
add line:
Code: [Select]
For any arch device
Compiling can take long on the Pi, a little faster on the Odroid but can still be tedious. If you have more than one arch linux device on your network, install Distcc on all of them

Distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. It should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile. The cool part is one can use it together with native Arch build tools such as makepkg.

Especially helpfull if you need to compile LMS

For devices with multicore processors

sudo nano /etc/makepkg.conf

Code: [Select]
# for Rpi 2 & 3: MAKEFLAGS="-j4"

Hope this can be helpfull to anyone, apologies if it is common knowledge.