<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/4c02ba47a2e00b5f0c33b8b216dd0c950434930c">https://github.com/macports/macports-ports/commit/4c02ba47a2e00b5f0c33b8b216dd0c950434930c</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 4c02ba47a2e bazel PG: Make sure Xcode clang is blacklisted when MP's toolkit is used
</span>4c02ba47a2e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4c02ba47a2e00b5f0c33b8b216dd0c950434930c
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Mar 26 18:19:42 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> bazel PG: Make sure Xcode clang is blacklisted when MP's toolkit is used
</span>---
_resources/port1.0/group/bazel-1.0.tcl | 9 +++++++++
1 file changed, 9 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/bazel-1.0.tcl b/_resources/port1.0/group/bazel-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index f09f0d0c1fe..c5daf0d3dc4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/bazel-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/bazel-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@
</span> # PortGroup bazel 1.0
PortGroup java 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span>
namespace eval bazel { }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,6 +73,14 @@ configure.env-append JAVA_HOME=${java.home}
</span> build.env-append JAVA_HOME=${java.home}
destroot.env-append JAVA_HOME=${java.home}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc bazel::check_compiler {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xcode blacklist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [bazel::use_mp_clang] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang}
</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;'>+port::register_callback bazel::check_compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> proc bazel::set_dep { } {
ui_debug "Defining bazel port dependency"
if { [option bazel.version] eq "latest" } {
</pre><pre style='margin:0'>
</pre>