How to update LLVM & Clang on Mac OSX?

前端 未结 6 1087
滥情空心
滥情空心 2020-12-05 19:17

On my version of Mac OSX (Lion 10.7.1, XCode 4.1), there is LLVM 3.0svn and Clang 2.1. The current versions are LLVM 3.0 and Clang 3.0.

From the XCode web site, it s

6条回答
  •  长情又很酷
    2020-12-05 19:48

    You can comfortably build your own LLVM using homebrew:

    brew install llvm
    

    There are also versioned packages in case you need a specific version:

    • llvm@3.7
    • llvm@3.8
    • llvm@3.9
    • llvm@4

提交回复
热议问题