nasa / HDTN

High-rate Delay Tolerant Network (HDTN) Software
https://www1.grc.nasa.gov/space/scan/acs/tech-studies/dtn/
Other
91 stars 22 forks source link

Feature/arm #40

Closed kylevernyi closed 1 year ago

kylevernyi commented 1 year ago

Simplifies the build process for ARM platforms to a simple CMake flag. Compilation for ARM platform looks like this

mkdir build
cd build
cmake .. -DCMAKE_SYSTEM_PROCESSOR=arm
make -j

This flag turns off x86 hardware acceleration and unit tests for x86 CPU flag detection. Additionally, shared libs are disabled, fPIC is added, and boost static libs are disabled. Finally, the LTP_RNG_USE_RDSEED is disabled. CMake generator expressions are used to evaluate whether or not to add non supported unit tests.