diff options
author | jtb <jtb@pkgsrc.org> | 2002-05-04 00:37:28 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2002-05-04 00:37:28 +0000 |
commit | d380cd7a5e5e6054c2e02ac7c24f14c0878c1842 (patch) | |
tree | d7c07d84e910588d7d8073e6351ba8ccd60f7a40 /lang/cilk | |
parent | f63811400cb12a9dcb6f708654a36a716d71d9a0 (diff) | |
download | pkgsrc-d380cd7a5e5e6054c2e02ac7c24f14c0878c1842.tar.gz |
Initial import of cilk.
Cilk is a language for multithreaded parallel programming based on
ANSI C. Cilk is designed for general-purpose parallel programming,
but it is especially effective for exploiting dynamic, highly
asynchronous parallelism, which can be difficult to write in
data-parallel or message-passing style. Cilk has been developed since
1994 by the Supercomputing Technologies Group at the MIT Laboratory
for Computer Science. Cilk has been used for research, teaching, and
for coding applications such as a virus shell assembly simulator and
three chess programs.
Diffstat (limited to 'lang/cilk')
-rw-r--r-- | lang/cilk/DESCR | 9 | ||||
-rw-r--r-- | lang/cilk/Makefile | 32 | ||||
-rw-r--r-- | lang/cilk/PLIST | 70 | ||||
-rw-r--r-- | lang/cilk/distinfo | 5 | ||||
-rw-r--r-- | lang/cilk/patches/patch-aa | 13 |
5 files changed, 129 insertions, 0 deletions
diff --git a/lang/cilk/DESCR b/lang/cilk/DESCR new file mode 100644 index 00000000000..fbacbf3cf0c --- /dev/null +++ b/lang/cilk/DESCR @@ -0,0 +1,9 @@ +Cilk is a language for multithreaded parallel programming based on +ANSI C. Cilk is designed for general-purpose parallel programming, +but it is especially effective for exploiting dynamic, highly +asynchronous parallelism, which can be difficult to write in +data-parallel or message-passing style. Cilk has been developed since +1994 by the Supercomputing Technologies Group at the MIT Laboratory +for Computer Science. Cilk has been used for research, teaching, and +for coding applications such as a virus shell assembly simulator and +three chess programs. diff --git a/lang/cilk/Makefile b/lang/cilk/Makefile new file mode 100644 index 00000000000..114aa9ca5f5 --- /dev/null +++ b/lang/cilk/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/04 00:37:28 jtb Exp $ + +DISTNAME= cilk-5.3.1 +CATEGORIES= lang parallel +MASTER_SITES= http://supertech.lcs.mit.edu/cilk/ \ + ftp://theory.lcs.mit.edu/pub/cilk/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://supertech.lcs.mit.edu/cilk/ +COMMENT= multithreaded parallel programming language based on ANSI C + +GNU_CONFIGURE= # defined +USE_GMAKE= # defined +USE_BUILDLINK_ONLY= # defined + +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +INFO_FILES= cilk-faq.info + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cilk + cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING \ + FAQ/cilk-faq.ascii README THANKS doc/manual.ps \ + ${PREFIX}/share/doc/cilk + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cilk + cd ${WRKSRC}/examples && ${INSTALL_DATA} *.cilk *.c *.input \ + ${PREFIX}/share/examples/cilk + ${INSTALL_DATA} ${WRKSRC}/FAQ/cilk-faq.info ${PREFIX}/info + +.include "../../devel/pth/buildlink.mk" +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/cilk/PLIST b/lang/cilk/PLIST new file mode 100644 index 00000000000..ff9f617532f --- /dev/null +++ b/lang/cilk/PLIST @@ -0,0 +1,70 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/04 00:37:28 jtb Exp $ +bin/cilk +include/cilk/cilk-cilk2c-pre.h +include/cilk/cilk-cilk2c.h +include/cilk/cilk-conf.h +include/cilk/cilk-lib.h +include/cilk/cilk-sysdep.h +include/cilk/cilk.h +include/cilk/gcc-builtin.h +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/cilk-faq.info +info/cilk-faq.info +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/cilk-faq.info +lib/cilk/cilk2c +lib/cilk/libcilkrt0.a +lib/cilk/specs +lib/libcilk.a +lib/libcilk.g.a +lib/libcilk.g.la +lib/libcilk.g.p.a +lib/libcilk.g.p.la +lib/libcilk.g.p.so +lib/libcilk.g.p.so.1 +lib/libcilk.g.p.so.1.1 +lib/libcilk.g.so +lib/libcilk.g.so.1 +lib/libcilk.g.so.1.1 +lib/libcilk.la +lib/libcilk.p.a +lib/libcilk.p.la +lib/libcilk.p.so +lib/libcilk.p.so.1 +lib/libcilk.p.so.1.1 +lib/libcilk.so +lib/libcilk.so.1 +lib/libcilk.so.1.1 +share/doc/cilk/AUTHORS +share/doc/cilk/COPYING +share/doc/cilk/README +share/doc/cilk/THANKS +share/doc/cilk/cilk-faq.ascii +share/doc/cilk/manual.ps +share/examples/cilk/bucket.cilk +share/examples/cilk/cholesky.cilk +share/examples/cilk/cilksort.cilk +share/examples/cilk/ck.cilk +share/examples/cilk/fft.cilk +share/examples/cilk/fib-serial.c +share/examples/cilk/fib.cilk +share/examples/cilk/game.cilk +share/examples/cilk/getoptions.c +share/examples/cilk/heat.cilk +share/examples/cilk/hello.cilk +share/examples/cilk/kalah.cilk +share/examples/cilk/knapsack-example1.input +share/examples/cilk/knapsack-example2.input +share/examples/cilk/knapsack-example3.input +share/examples/cilk/knapsack.cilk +share/examples/cilk/lu.cilk +share/examples/cilk/magic.cilk +share/examples/cilk/matmul.cilk +share/examples/cilk/nfib.cilk +share/examples/cilk/plu.cilk +share/examples/cilk/queens.cilk +share/examples/cilk/rand.cilk +share/examples/cilk/test-locks.cilk +share/examples/cilk/testall.cilk +@dirrm share/examples/cilk +@dirrm share/doc/cilk +@dirrm lib/cilk +@dirrm include/cilk diff --git a/lang/cilk/distinfo b/lang/cilk/distinfo new file mode 100644 index 00000000000..c00d4377613 --- /dev/null +++ b/lang/cilk/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/04 00:37:29 jtb Exp $ + +SHA1 (cilk-5.3.1.tar.gz) = 2a0d142badc7be57787c4608fc07b98090207994 +Size (cilk-5.3.1.tar.gz) = 848755 bytes +SHA1 (patch-aa) = de31546280810242eb44f1d06ded023d23109092 diff --git a/lang/cilk/patches/patch-aa b/lang/cilk/patches/patch-aa new file mode 100644 index 00000000000..d3db6ecaa77 --- /dev/null +++ b/lang/cilk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 00:37:29 jtb Exp $ + +--- examples/Makefile.in.orig Fri May 3 13:12:15 2002 ++++ examples/Makefile.in Fri May 3 13:12:37 2002 +@@ -574,7 +574,7 @@ + + fib-serial: $(fib_serial_OBJECTS) $(fib_serial_DEPENDENCIES) + @rm -f fib-serial +- $(CC) -o $@ $(fib_serial_OBJECTS) $(LIBS) ++ $(CC) -o $@ $(fib_serial_OBJECTS) $(LDFLAGS) $(LIBS) + + check: hello testall fft fib lu matmul cilksort heat test-locks + @echo "Runnig Cilk tests. This will take a while." |