-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
for the code to compile on MacOS you should:
First, install the macOS command line tools:
$ xcode-select --install Install the LLVM OpenMP library.
$ brew install libomp llvmSet the following environment variables:
$ export CC=/usr/bin/clang
$ export CXX=/usr/bin/clang++
$ export CPPFLAGS="$CPPFLAGS -Xpreprocessor -fopenmp"
$ export CFLAGS="$CFLAGS -I/opt/homebrew/opt/libomp/include"
$ export CXXFLAGS="$CXXFLAGS -I/opt/homebrew/opt/libomp/include"
$ export LDFLAGS="$LDFLAGS -Wl,-rpath,/opt/homebrew/opt/llvm/lib -L/opt/homebrew/opt/llvm/lib -lomp"Feel free to add this to the readme. Thank you
NgrNxkjoshuagrady
Metadata
Metadata
Assignees
Labels
No labels