[MacPorts] #55705: adding new clang compilers:: why so painful?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #55705: adding new clang compilers:: why so painful?

MacPorts
#55705: adding new clang compilers:: why so painful?
-----------------------------------+----------------------
 Reporter:  gaming-hacker          |      Owner:
     Type:  enhancement            |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  base                   |    Version:  2.4.2
 Keywords:  compiler, environment  |       Port:  macports
-----------------------------------+----------------------
 hello,

 i always use the latest clang compiler and switched to clang-6.0 so i need
 to rebuilt a lot of ports because i don't keep old compilers around.  many
 ports do not handle new compilers, here is an example, there are other
 ports like this.

 port: ld64-latest

 ...

 set all_llvm_variants {llvm39 llvm40 llvm50 llvmdev}

 array set llvm_variant_version {llvm33 3.3 llvm34 3.4 llvm37 3.7 llvm39
 3.9 llvm40 4.0 llvm50 5.0 llvmdev devel}

 ...

 so i manually updated these to

 set all_llvm_variants {llvm39 llvm40 llvm50 llvm60 llvmdev}

 array set llvm_variant_version {llvm33 3.3 llvm34 3.4 llvm37 3.7 llvm39
 3.9 llvm40 4.0 llvm50 5.0 llvm60 6.0 llvmdev devel}


 Are ports better ways to 'fix' these ports without having to manually
 update them?

 Thanks

--
Ticket URL: <https://trac.macports.org/ticket/55705>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: adding new clang compilers:: why so painful?

MacPorts
#55705: adding new clang compilers:: why so painful?
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+----------------------
Changes (by ryandesign):

 * cc: jeremyhu (removed)
 * status:  new => assigned
 * owner:   => jeremyhu
 * port:  macports =>
 * keywords:  compiler, environment =>


Comment:

 What compilers base uses for ports by default is completely separate from
 what compilers individual ports such as ld64 might have variants for. Both
 need to be updated separately.

 Base uses compilers as specified in browser:macports-
 base/src/port1.0/portconfigure.tcl. Looks like it hasn't been updated to
 include clang-6.0 yet. And neither, as you've noticed, has ld64. I guess
 that's because clang-6.0's existence is very recent, having just been
 created twelve days ago.

 Neither of these are particularly painful to update, someone just has to
 do it.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: adding new clang compilers:: why so painful?

MacPorts
In reply to this post by MacPorts
#55705: adding new clang compilers:: why so painful?
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+----------------------

Comment (by jeremyhu):

 Right, and I haven't had time to qualify either to my satisfaction yet.  I
 consider it fairly obvious that "devel" isn't qualified, but I consider
 adding 6.0 a stamp that 6.0 (while itself still it beta) is ready for
 prime time.

 I'm not saying it isn't ready.  I'm just saying that I have not had the
 time to do an install with it as the default compiler in order to vet it.
 I'll probably do that some time after the next update to it.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64 (was: adding new clang compilers:: why so painful?)

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+----------------------

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------
Changes (by jeremyhu):

 * port:   => cctools,ld64


--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------
Changes (by jeremyhu):

 * component:  base => ports


--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------

Comment (by gaming-hacker):

 ok, thanks can you close the ticket?

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------

Comment (by jeremyhu):

 No, I'm leaving this open unil I finish qualifying.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 It it time now? The llvm-6.0 port is updated to the 6.0.0 stable version.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------

Comment (by jeremyhu):

 Yep.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------

Comment (by vit9696):

 With all the effort needed to continuously update cctools dependencies,
 may it be reasonable to provide an option to use Xcode cctools, just like
 it was done for ld64? I do not think there is a particular need in custom
 cctools on recent versions of macOS, and such a way would ease upgrading
 the custom clang compiler infrastructure with macports. @jeremyhu, what's
 your opinion?

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:  fixed          |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------
Changes (by pmetzger):

 * status:  assigned => closed
 * resolution:   => fixed


--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------
Changes (by vit9696):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This remains unfixed as of https://github.com/macports/macports-
 ports/blob/master/devel/cctools/Portfile.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools,ld64   |
----------------------------+----------------------

Comment (by mf2k):

 Indeed and also it is not fixed in the ld64 ports.

--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #55705: Add +llvm60 to cctools and ld64

MacPorts
In reply to this post by MacPorts
#55705: Add +llvm60 to cctools and ld64
----------------------------+----------------------
  Reporter:  gaming-hacker  |      Owner:  jeremyhu
      Type:  enhancement    |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.2
Resolution:                 |   Keywords:
      Port:  cctools ld64   |
----------------------------+----------------------
Changes (by mf2k):

 * port:  cctools,ld64 => cctools ld64


--
Ticket URL: <https://trac.macports.org/ticket/55705#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS