Building HPX on the Raspberry running Fedora arm

Prerequirements

  1. Install Fedora Arm on the Micro SDK card
  2. Configure your Pi by connecting it to a screen and follow the installation routine.
  3. Generate a 4Gb swap partion.

Install dependencies

dnf install boost-devel hwloc-devel cmake git gperftools-devel gcc-c++ automake make

Compile HPX

cmake -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON ..
make -j 1

Generate rpm package for distribution on other Pis

dnf install rpm-build 
cmake  -DHPX_WITH_GENERIC_CONTEXT_COROUTINES=ON  -DHPX_WITH_RPM=ON ..
make package