overte-lubosz/libraries/shared
Dale Glass bc2c6a280d Fix illegal instruction in libaudio.dylib on OSX
This file gets included by AudioHRTF_avx512.cpp, which contains code
that should only be getting executed on CPUs with the appropriate support.

Unfortunately, when that file is compiled with -mavx512f, GCC also generates
AVX instructions in the code that initializes the value of SQUARE_ROOT_OF_2,
and this crashes on CPUs without AVX because it runs unconditionally.

Avoid the issue entirely by just making it a constant so no code needs to
be run.
2020-06-25 19:31:46 +02:00
..
src Fix illegal instruction in libaudio.dylib on OSX 2020-06-25 19:31:46 +02:00
CMakeLists.txt shared seems to require linking with CoreFoundation and OpenGL on OSX 2020-04-23 00:58:48 +02:00