<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/992ba9fb79007e823790849b8d2ea5d106c2ee91">https://github.com/macports/macports-ports/commit/992ba9fb79007e823790849b8d2ea5d106c2ee91</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 992ba9fb790 MoarVM: enable mimalloc support in a separate variant
</span>992ba9fb790 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 992ba9fb79007e823790849b8d2ea5d106c2ee91
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Thu Jul 4 12:16:49 2024 +0300
<span style='display:block; white-space:pre;color:#404040;'> MoarVM: enable mimalloc support in a separate variant
</span>---
lang/MoarVM/Portfile | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/MoarVM/Portfile b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 09b2bb7a99b..7a29f2ffba0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ legacysupport.newest_darwin_requires_legacy 15
</span>
name MoarVM
version 2024.06
<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 lang devel
license Artistic-2 BSD ISC MIT public-domain
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,7 +73,8 @@ configure.cmd ${prefix}/bin/perl Configure.pl
</span> configure.args --cc=${configure.cc} \
--has-dyncall \
--has-libatomic_ops \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --has-libtommath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --has-libtommath \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --no-mimalloc
</span>
configure.cflags-append \
-I${prefix}/include/libtommath
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,11 +84,6 @@ platform darwin 8 {
</span> patchfiles-append patch-build-setup-tiger.diff
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} <= 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --no-mimalloc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # The build system puts CPPFLAGS and LDFLAGS before its own flags which leads to
# build failures if MacPorts libuv is installed. The right -I and -L flags are
# inserted later by the build system so the ones MacPorts adds are not needed.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,6 +107,18 @@ variant macports_libuv description "Use MacPorts' libuv" {
</span> --has-libuv
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mimalloc description "Build with mimalloc support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --no-mimalloc
</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;'>+# stats.c:569:31: error: variable has incomplete type 'struct mach_task_basic_info'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# mimalloc code uses the API available on macOS 10.8+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# not enabled at will by the maintainer, possibly to be fixed on older systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if {${os.platform} eq "darwin" && ${os.major} > 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# default_variants +mimalloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # This can be enabled once libuv port is updated.
# See: https://trac.macports.org/ticket/68464
# default_variants-append macports_libuv
</pre><pre style='margin:0'>
</pre>