1) Message boards : Number crunching : Howto for aarch64 machines (ODROID C2, Pine64, Banana PI HC5...) (Message 1761)
Posted 15 Nov 2016 by Sirko Zidlewitz
Post:
# Following howto covers full installation of a running boinc setup on aarch64
# on Ubuntu 16.04. Tested on several ODROID C2s.

apt-get install vim-nox git m4 pkg-config autoconf libtool libcurl4-gnutls-dev libssl-dev

git clone https://github.com/BOINC/boinc.git
cd boinc/

# in that branch are changes for p_vendor, see
# https://www.rechenkraft.net/forum/viewtopic.php?f=83&t=16122&start=144
git checkout cpu_infos_aarch64

./_autosetup
./configure --disable-server disable-manager --enable-client CXXFLAGS="-O3"
make -j4
make install

# fixes to get work units from universe@home:
dpkg --add-architecture armhf
apt-get update
apt-get install binutils:armhf libstdc++6:armhf libstdc++6-armhf-cross libc6-armhf-cross libsfstdc++6

groupadd -r boinc
useradd -r -s /bin/bash -d /var/lib/boinc -g boinc boinc
echo "BOINCDIR=/var/lib/boinc" >> /etc/default/boinc-client

# Not needed for universe@home, to get work units from other projects:
echo "<cc_config>" > /var/lib/boinc/cc_config.xml
echo "<options>" >> /var/lib/boinc/cc_config.xml
echo "<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>" >> /var/lib/boinc/cc_config.xml
echo "</options>" >> /var/lib/boinc/cc_config.xml
echo "</cc_config>" >> /var/lib/boinc/cc_config.xml

chown -R boinc:boinc /var/lib/boinc







Copyright © 2024 Copernicus Astronomical Centre of the Polish Academy of Sciences
Project server and website managed by Krzysztof 'krzyszp' Piszczek