Opened 7 years ago
Closed 5 years ago
#55308 closed defect (invalid)
llvm-5.0 does not include clang-tidy
Reported by: | ruipacheco (Rui Pacheco) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | llvm-5.0 |
Description
I installed llvm-5.0 in the hope of being able to use a version of clang-tidy with the latest checks but mac ports just downloads llvm-3.9 which is too old.
Change History (2)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu removed |
---|---|
Owner: | set to jeremyhu |
Status: | new → assigned |
comment:2 Changed 5 years ago by kencu (Ken)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Note that it's clang-5.0, not llvm-5.0, that includes clang-tidy:
If your question is why MacPorts installs llvm-3.9 when you requested clang/llvm-5.0, the answer is that on some systems, building clang/llvm-5.0 requires first installing an earlier clang/llvm. This may be pulled in by the ld64 port, in which case you have some influence over which version is used, via the port's variants, and in other cases may be because the version of clang included in your version of Xcode is too old. In any case, assuming your system is new enough to support clang-5.0, simply letting MacPorts install all the dependencies it decides to should work.