Discregrid icon indicating copy to clipboard operation
Discregrid copied to clipboard

macOS compatibility

Open ruberith opened this issue 3 years ago • 0 comments

These adaptations allow builds using Clang on recent versions of macOS (tested on Apple silicon):

  • Recent versions of CMake automatically determine the correct flags for OpenMP and provide a target to link against. Nevertheless, Clang does not include an OpenMP implementation on macOS by default, but the user can easily install a build of LLVM libomp (e.g. via Homebrew) to be shared by all projects requiring OpenMP which is then detected by CMake.

ruberith avatar Apr 08 '22 15:04 ruberith