[MacPorts] #51724: compilers-1.0: default to gcc6
#51724: compilers-1.0: default to gcc6 --------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: --------------------------+-------------------------------- The compilers 1.0 portgroup contains this line: {{{ set compilers.gcc_default gcc5 }}} Can this be changed to gcc6? gcc6 is the latest stable version of gcc at this time. -- Ticket URL: <https://trac.macports.org/ticket/51724> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by mf2k@…): I switched to gcc6 for my ports and everything appears to work. However, I believe such a change should be brought up on the dev list to make sure that no one sees a problem with this. {{{ $ port installed | grep gcc eigen3 @3.2.8_0+gcc6 (active) fftw-3 @3.3.4_1+gcc6 (active) gcc6 @6.1.0_0 (active) gcc_select @0.1_8 (active) gsl @2.1_0+gcc6 (active) hdf5 @1.10.0_1+cxx+gcc6+hl (active) libgcc @6.1.0_0 (active) py27-numpy @1.11.1_0+gcc6 (active) py35-h5py @2.6.0_0+gcc6 (active) py35-numpy @1.11.1_0+gcc6 (active) py35-scipy @0.17.1_0+gcc6 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by sean@…): Sounds fine to me. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by dstrubbe@…): Committed in r152068. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Changes (by dstrubbe@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by mojca@…): I wonder if it would make sense to set this back to version 5 for 10.5/PPC (#51388). It might not help much though if default version is hardcoded at so many other places. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by dstrubbe@…): Oh, I was not aware of that ticket. Yes we could certainly have the default set differently in that case. There are a lot of ports using the compilers portgroup although it is a minority of course, so it would help somewhat. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by dstrubbe@…): Replying to [comment:6 mojca@…]:
I wonder if it would make sense to set this back to version 5 for 10.5/PPC (#51388). It might not help much though if default version is hardcoded at so many other places.
What is the proper way to write an if-condition that would check if we have 10.5/PPC? -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): If the issue is really specific to 10.5 PPC, you could write: {{{ if {${os.platform} eq "darwin" && ${os.version} == 9 && ${os.arch} eq "powerpc"} { set compilers.gcc_default gcc5 } else { set compilers.gcc_default gcc6 } }}} Of course, I would rather fix #51388. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#51724: compilers-1.0: default to gcc6 ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------------- Comment (by dstrubbe@…): Committed 152299, pending solution of that ticket. -- Ticket URL: <https://trac.macports.org/ticket/51724#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts