<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/745ec6b54b020e8feacdeec212b224d89c852660">https://github.com/macports/macports-ports/commit/745ec6b54b020e8feacdeec212b224d89c852660</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 745ec6b54b0 libomp: add python310 build dep
</span>745ec6b54b0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 745ec6b54b020e8feacdeec212b224d89c852660
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Oct 24 23:27:13 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> libomp: add python310 build dep
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also restrict perl5 dep to older version.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/71149
</span>---
lang/libomp/Portfile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libomp/Portfile b/lang/libomp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d272204ab3..3a4345a269b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libomp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libomp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,6 @@ long_description {*}${description} is intended to contain all of the\
</span> with +openmp variant for clang-3.7.)
categories lang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> supported_archs arm64 i386 x86_64
license {MIT NCSA}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,6 +59,12 @@ if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {
</span> configure.cflags-append -stdlib=libc++
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Last python version to not require C11 (and thus a clang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # dependency on some OS versions). Used by libpsl (which is a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # dependency of cmake) for the same reason.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPython3_EXECUTABLE=${prefix}/bin/python3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Build requires std::atomic
configure.cxxflags-append -std=c++11
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,11 +99,12 @@ if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {
</span> depends_build-replace \
path:bin/cmake:cmake port:cmake-bootstrap
configure.cmd ${prefix}/libexec/cmake-bootstrap/bin/cmake
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:perl5
</span> }
livecheck.type none
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:perl5
</span> cmake.out_of_source yes
# According to documentation builds with clang >= 3.3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -193,4 +199,3 @@ notes "
</span>
test.run yes
test.target libomp-micro-tests
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>