[MacPorts] #40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize -------------------------------+-------------------------------- Reporter: andrew.c.morrow@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: clang-3.4 -------------------------------+-------------------------------- These clang tools should be either be bundled with clang-3.4, or perhaps placed into separate ports. Either way though, they are very useful and it would be good to see them made available in the MacPorts clang environment. -- Ticket URL: <https://trac.macports.org/ticket/40615> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => jeremyhu@… * version: 2.2.0 => Comment: In the future, please Cc the port maintainers ({{{port info --maintainers clang-3.4}}}). -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by hahn.seb@…): I attached a patch to add a new variant called "format". It places the helper scripts into $prefix/libexec/llvm-3.4/libexec/clang-format/ and the clang-format binary is in $prefix/bin and called clang-format-mp-3.4 -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Changes (by larryv@…): * cc: larryv@… (added) Comment: There’s no good reason to provide this as a variant. Might as well install them unconditionally. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by dsvensson@…): hanh.seb: How do I use that patch locally? -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by hahn.seb@…): Replying to [comment:12 larryv@…]:
There’s no good reason to provide this as a variant. Might as well install them unconditionally.
Some of the bundled scripts require python27, which the port doesn't require already. That's why I didn't make it unconditionally. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by hahn.seb@…): Replying to [comment:13 dsvensson@…]:
hanh.seb: How do I use that patch locally?
That's a bit complicated, but you can find info on that in the macports guide at https://guide.macports.org/ -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by dsvensson@…): I just hacked the Portfile in /opt/... instead, since I wanted it for llvm-3.5. Thanks, hopefully it'll be merged before I need to update that port again. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by jeremyhu@…): Please just update the patch to address larryv's comment (no need for the variant), and I'll get it in. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by hahn.seb@…): hrm, it seems notifications are not sent out for attached files, sorry. See above for changed patch. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by jeremyhu@…): Note to self, do #42913 at the same time. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r120439 r120440 Please file a new ticket with a patch if you want clang-modernize as well. I made the clang_select change in preparation for it. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#40615: clang-3.4 @3.4-r189956_1 Please include clang-format and clang-modernize --------------------------------+------------------------ Reporter: andrew.c.morrow@… | Owner: jeremyhu@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: clang-3.4 | --------------------------------+------------------------ Comment (by mmoll@…): I created ticket #43839 for clang-modernize. -- Ticket URL: <https://trac.macports.org/ticket/40615#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts