gcc/libcilkrts
Balaji V. Iyer c7b0a171d0 Fix for PR bootstrap/59094 +2014-01-09 Balaji V.
Fix for PR bootstrap/59094
+2014-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR bootstrap/59094
+       * Makefile.am (cilkincludedir): Fixed a bug to store version-specific
+       runtime libraries in the correct place.
+       * Makefile.in: Regenerate.
+

From-SVN: r206469
2014-01-09 08:52:23 -08:00
..
include Only use visibility if supported 2013-11-22 11:44:56 +00:00
mk
runtime Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts). 2013-12-13 08:44:02 -08:00
aclocal.m4 Fix for PR other/58925 +2013-10-31 Balaji V. 2013-10-31 16:55:21 -07:00
ChangeLog Fix for PR bootstrap/59094 +2014-01-09 Balaji V. 2014-01-09 08:52:23 -08:00
configure Remove GCC_LIBSTDCXX_RAW_CXX_FLAGS 2013-11-25 16:32:22 +00:00
configure.ac Remove GCC_LIBSTDCXX_RAW_CXX_FLAGS 2013-11-25 16:32:22 +00:00
configure.tgt
Makefile.am Fix for PR bootstrap/59094 +2014-01-09 Balaji V. 2014-01-09 08:52:23 -08:00
Makefile.in Fix for PR bootstrap/59094 +2014-01-09 Balaji V. 2014-01-09 08:52:23 -08:00
README

Intel(R) Cilk(TM) Plus runtime library

Index:
1. BUILDING
2. USING
3. DOXYGEN DOCUMENTATION
4. QUESTIONS OR BUGS
5. CONTRIBUTIONS

#
#  1. BUILDING:
#

To distribute applications that use the Intel Cilk Plus language
extensions to non-development systems, you need to build the Intel
Cilk Plus runtime library and distribute it with your application.

To build the libcilkrts.so runtime library component, you need the
autoconf and automake packages, which are available through your
favorite package manager.  You also need a C/C++ compiler that
supports the Intel Cilk Plus language extensions, since the runtime
uses Intel Cilk Plus features internally.  Use either the Intel(R)
C++ Compiler (icc command) v12.1 or later, or in GCC 4.9 or later
(gcc command).

Once you have the necessary prerequisites installed, you can use the
following commands to create the library:

% libtoolize
% aclocal
% automake --add-missing
% autoconf
% ./configure
% make
% make install

This will produce the libcilkrts.so shared object.  To install the
library in a custom location, set the prefix while running the
configure script:

% ./configure --prefix=/your/path/to/lib

#
#  2. USING:
#

The Intel(R) C++ Compiler will automatically try to bring in the
Intel Cilk Plus runtime in any program that uses the relevant
features.  GCC requires explicit linking of both the library and
its dependencies (libpthread, libdl).  For example:

% gcc foo.c -lcilkrts -lpthread -ldl

#
#  3. DOXYGEN DOCUMENTATION:
#

The library source has Doxygen markup.  Generate HTML documentation
based on the markup by changing directory into runtime and running:

% doxygen doxygen.cfg

#
#  4. QUESTIONS OR BUGS:
#

Issues with the Intel Cilk Plus runtime can be addressed in the Intel
Cilk Plus forums:
http://software.intel.com/en-us/forums/intel-cilk-plus/

#
#  5. CONTRIBUTIONS:
#

The Intel Cilk Plus runtime library is dual licensed. The upstream copy
of the library is maintained via the BSD-licensed version available at:
http://cilkplus.org/

Changes to the Intel Cilk Plus runtime are welcome and should be
contributed to the upstream version via http://cilkplus.org/.

------------------------
Intel and Cilk are trademarks of Intel Corporation in the U.S. and/or
other countries.