Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Using another compiler on macOS

Marky__Marky
Beginner
251 Views

I have a newer LLVM at /usr/local/Cellar/llvm/5.0.2 I wish to use to build TBB on macOS, is setting

export CC=/usr/local/Cellar/llvm/5.0.2/bin/clang
export CXX=${CC}++
export LDFLAGS="-L/usr/local/Cellar/llvm/5.0.2/lib -Wl,-rpath,/usr/local/Cellar/llvm/5.0.2/lib"
export CPPFLAGS="-I/usr/local/Cellar/llvm/5.0.2/include -I/usr/local/Cellar/llvm/5.0.2/include/c++/v1/"

before make enough? also, if I want to build 32-bit lib do I need to have 32-bit build of LLVM?

Cheers

0 Kudos
0 Replies
Reply