[144008] trunk/dports/lang/MoarVM/Portfile

mojca at macports.org mojca at macports.org
Tue Dec 29 16:56:36 PST 2015


Revision: 144008
          https://trac.macports.org/changeset/144008
Author:   mojca at macports.org
Date:     2015-12-29 16:56:36 -0800 (Tue, 29 Dec 2015)
Log Message:
-----------
MoarVM: disable JIT on old architectures (closes #50169)

Modified Paths:
--------------
    trunk/dports/lang/MoarVM/Portfile

Modified: trunk/dports/lang/MoarVM/Portfile
===================================================================
--- trunk/dports/lang/MoarVM/Portfile	2015-12-29 22:45:41 UTC (rev 144007)
+++ trunk/dports/lang/MoarVM/Portfile	2015-12-30 00:56:36 UTC (rev 144008)
@@ -5,6 +5,7 @@
 
 name                MoarVM
 version             2015.12
+revision            1
 categories          lang devel
 platforms           darwin
 license             Artistic-2 MIT BSD ISC public-domain
@@ -23,7 +24,14 @@
 
 depends_build       port:perl5
 
+configure.cmd       ${prefix}/bin/perl Configure.pl
+
 # Unsupported by Configure.pl
 configure.universal_args-delete --disable-dependency-tracking
-
-configure.cmd       ${prefix}/bin/perl Configure.pl
+# JIT is not supported on anything but x86_64
+# (and universal builds would need a special treatment)
+# automatic disabling of JIT should be implemented/fixed upstream
+# https://github.com/MoarVM/MoarVM/issues/324
+if {[variant_isset universal] || ${configure.build_arch} ne "x86_64"} {
+    configure.args-append --no-jit
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151229/83c78e0d/attachment.html>


More information about the macports-changes mailing list