When compiling on Ubuntu 18.04 and 20.04 I get a number of errors using the make2 version of the build instructions.
The errors all report "always_inline function might not be inlinable"
For example:
../../../../sleef/src/arch/helperavx2.h:84:19: error: always_inline function might not be inlinable [-Werror=attributes]
84 | static INLINE int cpuSupportsFMA() {
| ^~~~~~~~~~~~~~
../../../../sleef/src/arch/helperavx2.h:78:19: error: always_inline function might not be inlinable [-Werror=attributes]
78 | static INLINE int cpuSupportsAVX2() {
When compiling on Ubuntu 18.04 and 20.04 I get a number of errors using the make2 version of the build instructions. The errors all report "always_inline function might not be inlinable" For example: