Opened 13 years ago

Closed 5 years ago

#33890 closed enhancement (wontfix)

base: add default compiler variants

Reported by: seanfarley (Sean Farley) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: Cc: nonstop.server@…, mamoll (Mark Moll), larryv (Lawrence Velázquez)
Port:

Description

This patch expands upon #33821 to also add default compiler variants (gcc44, gcc45, gcc46, gcc47, clang, llvm, and system_gcc). Alternatively, this could instead be a PortGroup, i.e. "PortGroup multiple_compilers 1.0"

Attachments (3)

base-compilers.patch (3.8 KB) - added by seanfarley (Sean Farley) 13 years ago.
multipcompilers.patch (4.4 KB) - added by seanfarley (Sean Farley) 13 years ago.
adds a new port group for generating compiler variants
multiplecompilers.patch (7.0 KB) - added by seanfarley (Sean Farley) 13 years ago.

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by seanfarley (Sean Farley)

Attachment: base-compilers.patch added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Why would we want compiler variants on all ports?

How do you know that all ports can be built with all compilers?

We don't really want the support burden of increasing the possible user configurations in this manner.

comment:2 in reply to:  1 Changed 13 years ago by seanfarley (Sean Farley)

Replying to ryandesign@…:

Why would we want compiler variants on all ports?

How do you know that all ports can be built with all compilers?

We don't really want the support burden of increasing the possible user configurations in this manner.

That's fair and a good point. Could you then review my patch to have a new port group? Thanks!

Changed 13 years ago by seanfarley (Sean Farley)

Attachment: multipcompilers.patch added

adds a new port group for generating compiler variants

comment:3 Changed 13 years ago by seanfarley (Sean Farley)

Any review for the new portgroup in this patch yet?

comment:4 Changed 13 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

Changed 13 years ago by seanfarley (Sean Farley)

Attachment: multiplecompilers.patch added

comment:5 Changed 12 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:6 Changed 12 years ago by mamoll (Mark Moll)

This seems like a really good idea to me. There so many ports with essentially the same code for specifying compilers (usually when a Fortran compiler is needed). There are simple copy-paste errors or missing "conflicts" between options that can be avoided if there is one central place for this.

comment:7 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:8 Changed 5 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.