<pre style='margin:0'>
Landon Fuller (landonf) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be8fd7230c53a12f88c2a7256ace46c3959093ea">https://github.com/macports/macports-ports/commit/be8fd7230c53a12f88c2a7256ace46c3959093ea</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 be8fd7230c5 z3: fix -threads and bump revision accordingly.
</span>be8fd7230c5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit be8fd7230c53a12f88c2a7256ace46c3959093ea
</span>Author: Landon Fuller <landonf@macports.org>
AuthorDate: Wed Dec 16 10:35:44 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> z3: fix -threads and bump revision accordingly.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> For z3 >= 4.8.7, we need to pass -DZ3_SINGLE_THREADED=ON.
</span>---
math/z3/Portfile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/z3/Portfile b/math/z3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c7b7e93dc27..95de28441f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/z3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/z3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,7 @@ if {${subport} eq "${name}-fstar"} {
</span> size 4177051
} else {
github.setup Z3Prover z3 4.8.9 z3-
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 994538ce2a5ea09bd2a6636b782a0b3de18ab577 \
sha256 c9fd04b9b33be74fffaac3ec2bc2c320d1a4cc32e395203c55126b12a14ff3f4 \
size 4624159
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,7 +70,9 @@ if {${subport} eq ${name} || ${subport} eq "${name}-fstar"} {
</span> configure.args-append -DENABLE_EXAMPLE_TARGETS=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[vercmp ${version} "4.8.6"] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${version} "4.8.7"] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DZ3_SINGLE_THREADED=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[vercmp ${version} "4.8.6"] >= 0} {
</span> configure.args-append -DSINGLE_THREADED=ON
} else {
configure.args-append -DUSE_OPENMP=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -167,8 +170,13 @@ if {${subport} eq ${name} || ${subport} eq "${name}-fstar"} {
</span>
if {[vercmp ${version} "4.8.6"] >= 0} {
variant threads description {Enable thread-safe build} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete -DSINGLE_THREADED=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DSINGLE_THREADED=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${version} "4.8.7"] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DZ3_SINGLE_THREADED=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DZ3_SINGLE_THREADED=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DSINGLE_THREADED=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DSINGLE_THREADED=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
</pre><pre style='margin:0'>
</pre>