Skip to content

snetdev/lpel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

328e171 · Jul 16, 2015
Mar 22, 2011
Aug 19, 2011
Apr 7, 2011
Mar 10, 2014
Feb 9, 2012
Jul 30, 2012
Mar 10, 2014
Apr 9, 2014
Mar 10, 2014
Jul 26, 2013
Aug 17, 2012
Feb 9, 2012
Feb 9, 2012
Mar 10, 2014
Jul 17, 2013
Aug 23, 2011
Nov 3, 2011
Jul 18, 2013

Repository files navigation

Bootstrap
=========

To generate the configure script and related build-tools, run

  ./build-aux/bootstrap

You are required to have fairly recent versions of the GNU buildtools
(autoconf, automake, libtool) installed.




Building
========

If you want to use libpcl context switching (suggested),
you need to install

libpcl - GNU Portable Coroutine Library, currently v1.12

available at

http://www.xmailserver.org/libpcl.html


If you cannot do a system-wide install, you need to specify the
installation directory of pcl for the configure script.


Run configure with following parameters:

./configure --with-pcl=<pcl_install_dir> --prefix=<your_lpel_install_dir>

and

make
make install

In order to build the LPEL backend for the S-Net runtime system,
you'll need to specify the directories where to find the LPEL library and
includes.

./configure --with-lpel-includes=<lpel_include_dir> \
            --with-lpel-libs=<lpel_lib_dir>




Example
-------

I have installed pcl in the local subdirectory of my home directory.
To build LPEL, I use

./configure --with-pcl=$HOME/local/ --prefix=$HOME/local/
make
make install