<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2111f3b40999432ee45ac468ef0655e1bda195a2">https://github.com/macports/macports-ports/commit/2111f3b40999432ee45ac468ef0655e1bda195a2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 2111f3b  py-tensorflow{1}: Add -fno-stack-check Darwin19/Xcode11 workaround
</span>2111f3b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 2111f3b40999432ee45ac468ef0655e1bda195a2
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon Oct 14 20:11:07 2019 +0100

<span style='display:block; white-space:pre;color:#404040;'>    py-tensorflow{1}: Add -fno-stack-check Darwin19/Xcode11 workaround
</span>---
 python/py-tensorflow/Portfile  | 11 ++++++++++-
 python/py-tensorflow1/Portfile |  9 +++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensorflow/Portfile b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f5e27ba..b29315f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,6 +94,15 @@ if {${name} ne ${subport}} {
</span>             port:py${python.version}-enum34
     }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Issue with implicit -fstack-check with Xocde 11 + Darwin 19.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Current information is that this should be fixed in Xcode 11.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if { ([vercmp ${os.major} 19] >= 0) && ([vercmp $xcodeversion 11.2] < 0) } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {[string match clang ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.cflags-append   -fno-stack-check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.cxxflags-append -fno-stack-check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     use_configure yes
     # Options passed to configure script via env vars
     configure.env-append PYTHON_LIB_PATH=${python.prefix}/lib/python${python.branch}/site-packages
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -155,7 +164,7 @@ if {${name} ne ${subport}} {
</span>         }
         # Build using the wonderful bazel build system ...
         set tf_bazel_cmd "bazel --max_idle_secs=60 --output_user_root=${workpath}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        set tf_bazel_build_opts "-s -c opt --config=opt"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set tf_bazel_build_opts "-s -c opt --verbose_failures --config=opt"
</span>         # hack to try and transfer MP c, c++ and ld options to bazel...
         foreach opt [list {*}${configure.cflags} ] {
             set tf_bazel_build_opts "${tf_bazel_build_opts} --conlyopt '${opt}'"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensorflow1/Portfile b/python/py-tensorflow1/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 545634b..890ba31 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensorflow1/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensorflow1/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,6 +93,15 @@ if {${name} ne ${subport}} {
</span>             port:py${python.version}-enum34
     }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Issue with implicit -fstack-check with Xocde 11 + Darwin 19.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Current information is that this should be fixed in Xcode 11.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if { ([vercmp ${os.major} 19] >= 0) && ([vercmp $xcodeversion 11.2] < 0) } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {[string match clang ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.cflags-append   -fno-stack-check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            configure.cxxflags-append -fno-stack-check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     use_configure yes
     # Options passed to configure script via env vars
     configure.env-append PYTHON_LIB_PATH=${python.prefix}/lib/python${python.branch}/site-packages
</pre><pre style='margin:0'>

</pre>