Re: [macports-ports] branch master updated: cxx11 1.1 PortGroup: add support for PowerPC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [macports-ports] branch master updated: cxx11 1.1 PortGroup: add support for PowerPC

Rainer Müller-4
On 2017-07-03 23:19, Ken wrote:
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.

https://github.com/macports/macports-ports/commit/1dab0d51d17febdd682ff263502055df81e31b0e

The following commit(s) were added to refs/heads/master by this push:
     new 1dab0d5  cxx11 1.1 PortGroup: add support for PowerPC
1dab0d5 is described below

commit 1dab0d51d17febdd682ff263502055df81e31b0e
Author: Ken Cunningham [hidden email]
AuthorDate: Sat Jul 1 16:53:10 2017 -0700

    cxx11 1.1 PortGroup: add support for PowerPC
    
    Add support for C++11 on PowerPC using gcc6.
    Blacklisting macports-clang-4.0 which doesn't work on PPC yet.
    
    See: https://trac.macports.org/ticket/54374
---
 _resources/port1.0/group/cxx11-1.1.tcl | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/_resources/port1.0/group/cxx11-1.1.tcl b/_resources/port1.0/group/cxx11-1.1.tcl
index b72a9e7..0f1b1cf 100644
--- a/_resources/port1.0/group/cxx11-1.1.tcl
+++ b/_resources/port1.0/group/cxx11-1.1.tcl
@@ -56,6 +56,13 @@ if {${cxx_stdlib} eq "libstdc++" } {
 
     # see https://trac.macports.org/ticket/53194
     configure.cxx_stdlib macports-libstdc++
+    
+    platform darwin powerpc {
+        # ports will build on powerpc with gcc6, gcc4ABI-compatible
+        puts "PowerPC C++11 ports are compiling with gcc6. EXPERIMENTAL."
Do not use puts in Portfile context, always use the appropriate ui_* functions.
This will spill into every output of commands when this port is evaluated (port info, portindex) and it will break other scripts.

https://build.macports.org/builders/ports-10.5_ppc_legacy-watcher/builds/6619/steps/subports/logs/stdio

Rainer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [macports-ports] branch master updated: cxx11 1.1 PortGroup: add support for PowerPC

Kenneth F. Cunningham
Sorry 'bout that.



On 2017-07-05, at 1:06 PM, Rainer Müller wrote:

_resources/port1.0/group/cxx11-1.1.tcl

Loading...