1cmake -DHOST=YES \ 2 -DLOOPUNROLL=ON \ 3 -DWRAPPER=YES \ 4 -DCMAKE_POSITION_INDEPENDENT_CODE=YES \ 5 -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \ 6 -DCMSISDSP="path to CMSIS-DSP folder" \ 7 -DCMAKE_C_FLAGS_RELEASE="-std=c11 -Ofast -ffast-math -DNDEBUG -Wall -Wextra" \ 8 -DCMAKE_CXX_FLAGS_RELEASE="-fno-rtti -std=c++11 -Ofast -ffast-math -DNDEBUG -Wall -Wextra -Wno-unused-parameter" \ 9 -G "Unix Makefiles" .. 10 11# For Mac universal lib 12# -arch x86_64 -arch arm64 -mmacosx-version-min=11.0