- if [ "$(rpm -q eigen3-devel --qf '%{VERSION}')" = "3.3.4" ]; then
- echo "Temporary avoid build error seen with eigen3 version 3.3.4"
- export CXXFLAGS=-Wno-error=int-in-bool-context
- fi
+fi
+
+if [ $NODE_NAME = "armv8" ]; then
+ echo "disable LTO, believed to be too heavy for this particular system"
+ MAY_DISABLE_LTO=-Denable_lto=OFF