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 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?
For more complete information about compiler optimizations, see our Optimization Notice.