<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/06a0c197e339076a42e6ffaf536d4e614903a8c9">https://github.com/macports/macports-ports/commit/06a0c197e339076a42e6ffaf536d4e614903a8c9</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 06a0c197e33 py-word2vec: use correct compiler, no march=native
</span>06a0c197e33 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 06a0c197e339076a42e6ffaf536d4e614903a8c9
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Mar 12 23:14:23 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-word2vec: use correct compiler, no march=native
</span>---
python/py-word2vec/Portfile | 4 +++-
python/py-word2vec/files/patch-setup.py.diff | 15 +++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-word2vec/Portfile b/python/py-word2vec/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4bc35c1dd7b..2ac6fa0aef8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-word2vec/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-word2vec/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span>
name py-word2vec
version 0.11.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories-append textproc
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,6 +24,8 @@ python.versions 37 38 39 310
</span> python.pep517 yes
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:py${python.version}-setuptools_scm
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-word2vec/files/patch-setup.py.diff b/python/py-word2vec/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3c41986221a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-word2vec/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2022-03-12 23:11:26.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2022-03-12 23:12:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -58,10 +58,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if not os.path.exists(target_dir):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os.makedirs(target_dir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CC = "gcc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CC = os.environ["CC"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEFAULT_CFLAGS = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "-lm -pthread -Ofast -Wall -march=native -funroll-loops -Wno-unused-result"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "-lm -pthread -O2 -Wall -funroll-loops -Wno-unused-result"
</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;'>+ if sys.platform == "darwin":
</span></pre><pre style='margin:0'>
</pre>