[MacPorts] #55139: RFE: Improve Compiler Management Code
MacPorts
noreply at macports.org
Sun Oct 22 04:56:59 UTC 2017
#55139: RFE: Improve Compiler Management Code
---------------------------------+-----------------
Reporter: MarcusCalhoun-Lopez | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
---------------------------------+-----------------
I would like to make the following improvements to the MacPorts code:
* Eliminate the cxx11 PorGroups ([https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/group/cxx11-1.0.tcl 1.0] and
[https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/group/cxx11-1.1.tcl 1.1]).
* Prevent the creation of a c11 PortGroup.
* {{{grep -r "support C11" --include=Portfile * | cut -d "/" -f2 | wc
-l}}} lists 21 ports.
* See also #52468.
* Support Fortran compilers **without** the [https://github.com/macports
/macports-ports/blob/master/_resources/port1.0/group/compilers-1.0.tcl
compilers PortGroup], which is the
[https://trac.macports.org/wiki/PortfileRecipes#fortran current
recommendation].
* Simplify (eliminate?) the [https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/group/compilers-1.0.tcl compilers
PortGroup].
* Add the latest stable [https://github.com/macports/macports-
ports/tree/master/lang/gcc7 GCC] and [https://github.com/macports
/macports-ports/tree/master/lang/llvm-5.0 Clang] compilers to the the
compilers [https://github.com/macports/macports-
base/blob/da3909b0ffab909602920f63a77b13e4016af519/src/port1.0/portconfigure.tcl#L552
fallback list].
* Minimize the dependencies when using a MacPorts compiler.
* When using MacPorts GCC for example, the compiler is added as a
library dependency.
* The compiler should be a build dependency with libgcc as the library
dependency.
* Improve the compiler choices for [https://lists.macports.org/pipermail
/macports-dev/2017-October/thread.html#36685 PPC systems].
* Turn off universal support when MacPorts GCC is used.
I have created a [https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/group/languages-1.0.tcl PortGroup] to
test these changes.[[BR]]
If successful, they can be incorporated into the base code.
--
Ticket URL: <https://trac.macports.org/ticket/55139>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list