tce-load -i compiletc cmake wget https://github.com/Tencent/rapidjson/archive/refs/tags/v1.1.0.tar.gz cd rapidjson-1.1.0 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG -Wno-error=class-memaccess -Wno-error=implicit-fallthrough" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_LIBDIR=lib ../ [-fno-exceptions] fails make [1m 9.47s] sudo make install