Package Details: cilk 5.4.6-3

Git Clone URL: https://aur.archlinux.org/cilk.git (read-only)
Package Base: cilk
Description: General-purpose programming language designed for multithreaded parallel computing.
Upstream URL: http://supertech.csail.mit.edu/cilk/
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: schuay
Votes: 8
Popularity: 0.000013
First Submitted: 2009-05-25 10:50
Last Updated: 2015-06-21 21:24

Latest Comments

schuay commented on 2018-10-24 15:20

Orphaning, please feel free to update.

emersion commented on 2018-10-23 07:33

GCC7 needs to be used for this package, otherwise this happens:

gcc -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200809L -O2 -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200809L -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o cilk2c analyze.o ast.o complex-types.o constexpr.o container.o conversions.o dataflow.o elide.o initializer.o list.o main.o operators.o output.o print-ast.o procedure.o profile.o simplify.o sideeffects.o sem-check.o strings.o sue.o symbol.o transform.o type.o type2.o typequal.o verify-parse.o warning.o gbuf.o ANSI-C.o c4.o hint.o astModify.o stringParse.o wildcard.o astEquals.o wildcardTable.o testEquals.o atmTransform.o -lm /usr/bin/ld: output.o: in function output_constant': output.c:(.text+0xdeb): undefined reference toPrintChar' collect2: error: ld returned 1 exit status

schuay commented on 2014-01-11 21:39

Thanks, updated.

fhahn commented on 2014-01-11 21:18

I think this PKGBUILD needs the 'staticlibs' option, because cilkc depends on the libcilkrt0.a static library which gets stripped without the 'staticlibs' option.

Anonymous comment on 2012-12-10 09:02

The answer to the compilation problem can be found here :

https://groups.google.com/forum/?fromgroups=#!topic/comp.os.linux.development.apps/UiqFsaH69Aw

You can copy an updated PKGBUILD at :

http://pastebin.com/3XAbdhpw

Note : the makefile does not install the documentation : I added by hand the installation of the file manual.pdf in
/usr/share/cilk It would be nice to fix that and install all the examples, FAQ, etcetera... (it can be done by adding
other install commands as I did, but it would be nicer to force make to do that automatically).

Enjoy,

John G.

Anonymous comment on 2011-12-09 01:30

I am getting an error during makepkg ... I looked at the header file, but I'm not sure if that's the problem or not.

Thanks,
Danny G

...
Making all in examples
make[2]: Entering directory `/home/dg/abs/cilk/src/cilk-5.4.6/examples'
../support/cilkclocal -DHAVE_CONFIG_H -I. -I.. -I../runtime -O2 -c -o fib.o fib.cilk
/usr/include/bits/waitstatus.h:76: syntax error

Compilation Failed: 1 error, 0 warnings
Error: failed running cilk2c
make[2]: *** [fib.o] Error 1
make[2]: Leaving directory `/home/dg/abs/cilk/src/cilk-5.4.6/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dg/abs/cilk/src/cilk-5.4.6'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...