[llvm-dev] Unable to build and install LLVM on Mac OSX 10.11
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Sat Jun 11 09:28:12 PDT 2016
> On Jun 11, 2016, at 12:58 AM, Sumedh Arani <aranisumedh at gmail.com> wrote:
>
> Arani:~ Sumedh$ xcrun clang -v
> Apple LLVM version 7.3.0 (clang-703.0.31)
> Target: x86_64-apple-darwin15.4.0
> Thread model: posix
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>
>
> Greetings!!
>
> I followed the instructions given by you to the letter and it worked like a charm.
>
> Just this time I didn't download compiler-rt or any other extra tools.
>
> How can I upgrade to them??
Repeat the process, cloning them in their place according to the documentation (for instance compiler-rt goes into projects).
>
> And also how can I change my version of clang to the one which has been built now? As on doing clang --version or xcrun clang -v still gives the version as the one that comes pre built with apple's machine.
The `xcrun` prefix means "run the version from the Xcode toolchain". You need to provide the path to your own build clang (or add its path to the PATH env var).
--
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160611/157dc506/attachment.html>
More information about the llvm-dev
mailing list