diff options
author | he <he@pkgsrc.org> | 2012-02-09 10:39:25 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2012-02-09 10:39:25 +0000 |
commit | f652d5926d06a64e7102be01a3ed8e44bcae67be (patch) | |
tree | 160148bf2c43a7294b08adb7d275d131ffcb7c2a /lang | |
parent | 745b9ee79b4867371e60f107769e355825af98ac (diff) | |
download | pkgsrc-f652d5926d06a64e7102be01a3ed8e44bcae67be.tar.gz |
Update to parrot version 3.9.0.
Pkgsrc changes:
* Add a patch to fix usleep(1000000) problem causing test failures,
submitted upstream.
* Adapt to changes in the set of installed files.
Upstream changes:
- Core
+ The whiteknight/kill_threads branch was merged, which removes
the old and broken thread/concurrency implementation. Better
and more flexible concurrency primitives are currently being
worked on. This also involved removing some of the last vestiges
of assembly code from Parrot as well as removing the share and
share_ro vtables.
+ random_lib.pir was removed, since better alternatives already exist
+ The freeze and thaw vtables were removed from Default PMC,
because they weren't useful and caused hard-to-find bugs.
+ A new subroutine profiling runcore was added. It can be enabled
with the command-line argument of -R subprof. The resulting
data can be analyzed with kcachegrind.
+ Added get_string VTABLE to FixedIntegerArray and FixedFloatArray PMCs
+ The update() method was added to the Hash PMC, which updates
one Hash with the contents of another. This speeds up rakudo/nqp
startup time.
- Languages
+ Winxed
- Updated snapshot to version 1.3.0
- Added the builtin sleep
- Modifier 'multi' allows some more multi functionality
- Community
+ New repo for the Parrot Alternate Compiler Toolkit, a re-implementation of
PCT in Winxed: https://github.com/parrot/PACT
- Documentation
+ We are in the process to migrating our Trac wiki at
http://trac.parrot.org/ to Github at https://github.com/parrot/parrot/wiki
+ Packfile PMC documentation was updated
- Tests
+ Select PMC tests improved to pass on non-Linuxy platforms
Diffstat (limited to 'lang')
-rw-r--r-- | lang/parrot/Makefile | 5 | ||||
-rw-r--r-- | lang/parrot/PLIST | 16 | ||||
-rw-r--r-- | lang/parrot/distinfo | 9 | ||||
-rw-r--r-- | lang/parrot/patches/patch-al | 15 |
4 files changed, 24 insertions, 21 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile index 52a32af40ef..7a8c0d2d7e3 100644 --- a/lang/parrot/Makefile +++ b/lang/parrot/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.51 2011/11/17 08:24:11 sbd Exp $ +# $NetBSD: Makefile,v 1.52 2012/02/09 10:39:25 he Exp $ # -VERSION= 3.8.0 +VERSION= 3.9.0 RTYPE= devel DISTNAME= parrot-${VERSION} -PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/ diff --git a/lang/parrot/PLIST b/lang/parrot/PLIST index 3f1469c560f..de30877906e 100644 --- a/lang/parrot/PLIST +++ b/lang/parrot/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.28 2011/11/16 14:32:53 he Exp $ +@comment $NetBSD: PLIST,v 1.29 2012/02/09 10:39:25 he Exp $ bin/ops2c bin/parrot bin/parrot-nqp @@ -14,11 +14,6 @@ include/parrot/${PKGVERSION}/imcc/api.h include/parrot/${PKGVERSION}/imcc/embed.h include/parrot/${PKGVERSION}/imcc/yyscanner.h include/parrot/${PKGVERSION}/parrot/api.h -include/parrot/${PKGVERSION}/parrot/atomic.h -include/parrot/${PKGVERSION}/parrot/atomic/fallback.h -include/parrot/${PKGVERSION}/parrot/atomic/gcc_pcc.h -include/parrot/${PKGVERSION}/parrot/atomic/gcc_x86.h -include/parrot/${PKGVERSION}/parrot/atomic/sparc.h include/parrot/${PKGVERSION}/parrot/caches.h include/parrot/${PKGVERSION}/parrot/call.h include/parrot/${PKGVERSION}/parrot/cclass.h @@ -72,6 +67,7 @@ include/parrot/${PKGVERSION}/parrot/pobj.h include/parrot/${PKGVERSION}/parrot/pointer_array.h include/parrot/${PKGVERSION}/parrot/runcore_api.h include/parrot/${PKGVERSION}/parrot/runcore_profiling.h +include/parrot/${PKGVERSION}/parrot/runcore_subprof.h include/parrot/${PKGVERSION}/parrot/runcore_trace.h include/parrot/${PKGVERSION}/parrot/scheduler.h include/parrot/${PKGVERSION}/parrot/scheduler_private.h @@ -79,10 +75,6 @@ include/parrot/${PKGVERSION}/parrot/settings.h include/parrot/${PKGVERSION}/parrot/string.h include/parrot/${PKGVERSION}/parrot/string_funcs.h include/parrot/${PKGVERSION}/parrot/sub.h -include/parrot/${PKGVERSION}/parrot/thr_none.h -include/parrot/${PKGVERSION}/parrot/thr_pthread.h -include/parrot/${PKGVERSION}/parrot/thr_windows.h -include/parrot/${PKGVERSION}/parrot/thread.h include/parrot/${PKGVERSION}/parrot/vtable.h include/parrot/${PKGVERSION}/parrot/vtables.h include/parrot/${PKGVERSION}/parrot/warnings.h @@ -152,7 +144,6 @@ include/parrot/${PKGVERSION}/pmc/pmc_packfilesegment.h include/parrot/${PKGVERSION}/pmc/pmc_packfileview.h include/parrot/${PKGVERSION}/pmc/pmc_parrotinterpreter.h include/parrot/${PKGVERSION}/pmc/pmc_parrotlibrary.h -include/parrot/${PKGVERSION}/pmc/pmc_parrotthread.h include/parrot/${PKGVERSION}/pmc/pmc_pmcproxy.h include/parrot/${PKGVERSION}/pmc/pmc_pointer.h include/parrot/${PKGVERSION}/pmc/pmc_ptr.h @@ -176,7 +167,6 @@ include/parrot/${PKGVERSION}/pmc/pmc_stringiterator.h include/parrot/${PKGVERSION}/pmc/pmc_structview.h include/parrot/${PKGVERSION}/pmc/pmc_sub.h include/parrot/${PKGVERSION}/pmc/pmc_task.h -include/parrot/${PKGVERSION}/pmc/pmc_threadinterpreter.h include/parrot/${PKGVERSION}/pmc/pmc_timer.h include/parrot/${PKGVERSION}/pmc/pmc_undef.h include/parrot/${PKGVERSION}/pmc/pmc_unmanagedstruct.h @@ -621,7 +611,6 @@ src/parrot/${PKGVERSION}/pmc/packfilesegment.dump src/parrot/${PKGVERSION}/pmc/packfileview.dump src/parrot/${PKGVERSION}/pmc/parrotinterpreter.dump src/parrot/${PKGVERSION}/pmc/parrotlibrary.dump -src/parrot/${PKGVERSION}/pmc/parrotthread.dump src/parrot/${PKGVERSION}/pmc/pmcproxy.dump src/parrot/${PKGVERSION}/pmc/pointer.dump src/parrot/${PKGVERSION}/pmc/ptr.dump @@ -645,7 +634,6 @@ src/parrot/${PKGVERSION}/pmc/stringiterator.dump src/parrot/${PKGVERSION}/pmc/structview.dump src/parrot/${PKGVERSION}/pmc/sub.dump src/parrot/${PKGVERSION}/pmc/task.dump -src/parrot/${PKGVERSION}/pmc/threadinterpreter.dump src/parrot/${PKGVERSION}/pmc/timer.dump src/parrot/${PKGVERSION}/pmc/undef.dump src/parrot/${PKGVERSION}/pmc/unmanagedstruct.dump diff --git a/lang/parrot/distinfo b/lang/parrot/distinfo index 5ce17735cf5..7c376265cb5 100644 --- a/lang/parrot/distinfo +++ b/lang/parrot/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.42 2011/11/15 13:44:30 he Exp $ +$NetBSD: distinfo,v 1.43 2012/02/09 10:39:25 he Exp $ -SHA1 (parrot-3.8.0.tar.gz) = e582b25e357fa761ef715a4da2b7fab2a4830104 -RMD160 (parrot-3.8.0.tar.gz) = b84b4d1aaeda69428cd25f72a082825cf86dce22 -Size (parrot-3.8.0.tar.gz) = 4516399 bytes +SHA1 (parrot-3.9.0.tar.gz) = 47fdc8e78fd3b2592f0123392b65a3e5d605930e +RMD160 (parrot-3.9.0.tar.gz) = d48c063660fa354cd560cd127a4b3fd09e924653 +Size (parrot-3.9.0.tar.gz) = 4509594 bytes SHA1 (patch-ad) = a972d48a879e541f6894f2eeb82a70b1756437d9 SHA1 (patch-ak) = 19d7dfff43bb08ba046040771e45b95774e024b7 +SHA1 (patch-al) = 9d4a49f417d380676fc72f79b94041adec27ad78 diff --git a/lang/parrot/patches/patch-al b/lang/parrot/patches/patch-al new file mode 100644 index 00000000000..fdc9699967d --- /dev/null +++ b/lang/parrot/patches/patch-al @@ -0,0 +1,15 @@ +$NetBSD: patch-al,v 1.3 2012/02/09 10:39:25 he Exp $ + +Parrot may end up doing usleep(1000000), which is disallowed by SUSv2. + +--- src/scheduler.c.orig 2011-10-18 22:44:11.000000000 +0000 ++++ src/scheduler.c +@@ -993,7 +993,7 @@ Parrot_cx_schedule_sleep(PARROT_INTERP, + Parrot_cx_runloop_wake(interp, interp->scheduler); + + /* A more primitive, platform-specific, non-threaded form of sleep. */ +- if (time > 1) { ++ if (time >= 1) { + /* prevent integer overflow when converting to microseconds + * and problems in platforms that doesn't allow usleep more + * than 1 second */ |