Date: Tue, 9 May 2017 18:04:58 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440509 - in head/lang/spidermonkey170: . files Message-ID: <201705091804.v49I4wEF075145@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Tue May 9 18:04:58 2017 New Revision: 440509 URL: https://svnweb.freebsd.org/changeset/ports/440509 Log: Use clang on armv6. PR: 215516 Submitted by: mikael.urankar@gmail.com Added: head/lang/spidermonkey170/files/patch-assembler_wtf_Platform.h (contents, props changed) head/lang/spidermonkey170/files/patch-vm_NumericConversions.h (contents, props changed) Modified: head/lang/spidermonkey170/Makefile Modified: head/lang/spidermonkey170/Makefile ============================================================================== --- head/lang/spidermonkey170/Makefile Tue May 9 17:19:15 2017 (r440508) +++ head/lang/spidermonkey170/Makefile Tue May 9 18:04:58 2017 (r440509) @@ -3,7 +3,7 @@ PORTNAME= spidermonkey170 PORTVERSION= 17.0.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= lang MASTER_SITES= MOZILLA/js DISTNAME= mozjs${PORTVERSION} @@ -62,11 +62,6 @@ CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/ STRIP_CMD= ${TRUE} .endif -# ARM needs GCC until https://llvm.org/bugs/show_bug.cgi?id=23244 is fixed -.if ${ARCH} == "armv6" -USE_GCC= yes -.endif - regression-test: build @${ECHO_MSG} -n "===> Running jstests.py: " @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ Added: head/lang/spidermonkey170/files/patch-assembler_wtf_Platform.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/spidermonkey170/files/patch-assembler_wtf_Platform.h Tue May 9 18:04:58 2017 (r440509) @@ -0,0 +1,18 @@ +--- assembler/wtf/Platform.h.orig 2016-12-23 11:50:32 UTC ++++ assembler/wtf/Platform.h +@@ -268,6 +268,7 @@ + #elif defined(__ARM_ARCH_6__) \ + || defined(__ARM_ARCH_6J__) \ + || defined(__ARM_ARCH_6K__) \ ++ || defined(__ARM_ARCH_6KZ__) \ + || defined(__ARM_ARCH_6Z__) \ + || defined(__ARM_ARCH_6ZK__) \ + || defined(__ARM_ARCH_6T2__) \ +@@ -305,6 +306,7 @@ + + #elif defined(__ARM_ARCH_6J__) \ + || defined(__ARM_ARCH_6K__) \ ++ || defined(__ARM_ARCH_6KZ__) \ + || defined(__ARM_ARCH_6Z__) \ + || defined(__ARM_ARCH_6ZK__) \ + || defined(__ARM_ARCH_6M__) Added: head/lang/spidermonkey170/files/patch-vm_NumericConversions.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/spidermonkey170/files/patch-vm_NumericConversions.h Tue May 9 18:04:58 2017 (r440509) @@ -0,0 +1,11 @@ +--- vm/NumericConversions.h.orig 2016-12-23 10:40:02 UTC ++++ vm/NumericConversions.h +@@ -154,7 +154,7 @@ ToIntWidth(double d) + inline int32_t + ToInt32(double d) + { +-#if defined (__arm__) && defined (__GNUC__) ++#if defined (__arm__) && defined (__GNUC__) && !defined(__clang__) + int32_t i; + uint32_t tmp0; + uint32_t tmp1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705091804.v49I4wEF075145>