add: multithreaded make

This commit is contained in:
Tobias Reisinger 2020-07-17 20:45:00 +02:00
parent ec094aae04
commit aee288f832

View file

@ -15,6 +15,7 @@ steps:
- pacman -Syu --noconfirm base-devel awk tar wiringpi - pacman -Syu --noconfirm base-devel awk tar wiringpi
- sed -i 's/(( EUID == 0 ))/(( 1 == 0 ))/g' /usr/bin/makepkg - sed -i 's/(( EUID == 0 ))/(( 1 == 0 ))/g' /usr/bin/makepkg
- export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s" - export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s"
- export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
- cd core/ - cd core/
- makepkg -s -f --cleanbuild --noconfirm - makepkg -s -f --cleanbuild --noconfirm
- cd ../core-testing - cd ../core-testing