Reputation: 10204
My OS is Mac OS X 10.9. I am trying to develop an LLVM project which requires setting the LLVM source path to some environment variable, say LLVM_SRC_PATH.
However, it seems that there is no llvm source on Mac. So I have downloaded the recent llvm source (v 3.6) via its git mirror.
The dilemma is, my OS X uses llvm 3.5 (from `clang --version'), which implies a possible inconsistency between my source of LLVM and the binary of LLVM that the OS uses by default. Naturally, I would update my machine's LLVM binary by compiling the newly downloaded LLVM source. But then I see the stackoverflow answer to someoneelse's question, which basically says it is a bad idea to update llvm on Mac.
Perhaps I misunderstand something?
Upvotes: 0
Views: 127
Reputation: 618
If you use macports it will install LLVM in the /opt directory with and easy way to deactivate it. This was you won't overwrite the system compiler accidentally.
Upvotes: 2