aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2009-12-09 12:07:25 +0800
committerbrooks <brooks@FreeBSD.org>2009-12-09 12:07:25 +0800
commitd7b9e1344bb83b8645b65be88d0acccd52ba315a (patch)
tree67d7ec4988a104b7f5c47fc528a57c16136de595
parent77cfbba0a3f4c1df5f00dc40aebd05cdeb19a130 (diff)
downloadfreebsd-ports-gnome-d7b9e1344bb83b8645b65be88d0acccd52ba315a.tar.gz
freebsd-ports-gnome-d7b9e1344bb83b8645b65be88d0acccd52ba315a.tar.zst
freebsd-ports-gnome-d7b9e1344bb83b8645b65be88d0acccd52ba315a.zip
Upgrade to the latest compiler-rt commit and add a regression-test
target.
-rw-r--r--devel/compiler-rt/Makefile21
-rw-r--r--devel/compiler-rt/Makefile.svn_rev2
-rw-r--r--devel/compiler-rt/distinfo6
3 files changed, 23 insertions, 6 deletions
diff --git a/devel/compiler-rt/Makefile b/devel/compiler-rt/Makefile
index 9f597dd1cb96..dd8833d4f1d8 100644
--- a/devel/compiler-rt/Makefile
+++ b/devel/compiler-rt/Makefile
@@ -27,10 +27,19 @@ USE_GCC= 4.2+
USE_GMAKE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
+MAKE_ARGS= VERBOSE=1
MAKE_JOBS_SAFE= yes
LLVM_SVN= http://llvm.org/svn/llvm-project
+# fixuns?fti_test tests fail
+# powi?f2_test tests fail to link due to lack of -lm
+BROKEN_TESTS?= fixunsdfti_test \
+ fixunssfti_test \
+ powidf2_test \
+ powisf2_test \
+ powixf2_test
+
PLIST_FILES= include/Block.h \
include/Block_private.h \
lib/libBlocksRuntime.so
@@ -54,8 +63,7 @@ do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} \
${LLVM_SVN}/compiler-rt/trunk ${WRKSRC}
- cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2
-${DISTNAME}
+ cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev
.if ${USER} == brooks
scp ${DISTDIR}/${DISTNAME}.tar.bz2 \
@@ -66,4 +74,13 @@ ${DISTNAME}
post-extract:
${MKDIR} ${CONFIGURE_WRKSRC}
+post-patch:
+.for test in ${BROKEN_TESTS}
+ ${REINPLACE_CMD} -e 's/\(MACRO_ADD_CHECK_TEST( ${test}\)/# \1/' \
+ ${WRKSRC}/test/CMakeLists.txt
+.endfor
+
+regression-test:
+ cd ${BUILD_WRKSRC} && make test
+
.include <bsd.port.post.mk>
diff --git a/devel/compiler-rt/Makefile.svn_rev b/devel/compiler-rt/Makefile.svn_rev
index bcba5c897e48..94de355bef74 100644
--- a/devel/compiler-rt/Makefile.svn_rev
+++ b/devel/compiler-rt/Makefile.svn_rev
@@ -1 +1 @@
-SVN_REV= 83568
+SVN_REV= 86542
diff --git a/devel/compiler-rt/distinfo b/devel/compiler-rt/distinfo
index a15db8290ed9..f83d40330f5f 100644
--- a/devel/compiler-rt/distinfo
+++ b/devel/compiler-rt/distinfo
@@ -1,3 +1,3 @@
-MD5 (compiler-rt-0.r83568.tar.bz2) = 05a687dc9c07205606c9247f838af91e
-SHA256 (compiler-rt-0.r83568.tar.bz2) = 30faef7f15bce6cc4d20cda718c026570ca843f1d05691612faeaa98c67a5f69
-SIZE (compiler-rt-0.r83568.tar.bz2) = 713438
+MD5 (compiler-rt-0.r86542.tar.bz2) = e575e63fb19cc4ee02a44c2c45de9cba
+SHA256 (compiler-rt-0.r86542.tar.bz2) = 7dba5add642636d907c5be3b05562645665bb3861bc7715d8806f21156d27254
+SIZE (compiler-rt-0.r86542.tar.bz2) = 714972