Some obsolete features (like malloc.h and memalign) and non-portable versions of SSE intrinsic calls prevented the code from building on macOS. This pull request fixes these problems while ensuring everything still works on Ubuntu 20.04.
Getting OpenMP to work on macOS is an additional stumbling block, but there are instructions for this several places on the web; I used the ones here: https://mac.r-project.org/openmp/.
Some obsolete features (like
malloc.h
andmemalign
) and non-portable versions of SSE intrinsic calls prevented the code from building on macOS. This pull request fixes these problems while ensuring everything still works on Ubuntu 20.04.Getting OpenMP to work on macOS is an additional stumbling block, but there are instructions for this several places on the web; I used the ones here: https://mac.r-project.org/openmp/.