Building the Development Version

To build the latest development version of CLgen, checkout the latest development sources using:

$ git clone [email protected]:ChrisCummins/clgen.git clgen-dev
$ cd clgen-dev

Install the build requirements using:

$ curl -s https://raw.githubusercontent.com/ChrisCummins/clgen/0.4.1/install-deps.sh | bash

Configure CLgen using:

$ ./configure

Installation - Virtualenv

Create a virtualenv environment in the directory ~/clgen-dev:

$ virtualenv -p python3 ~/clgen-dev

Activate this environment:

$ source ~/clgen-dev/bin/activate

Install CLgen in the virtualenv environment:

(clgen-dev)$ make all

(Optional) Run the test suite:

(clgen-dev)$ make test

(Optional) Install Python development tools:

(clgen-dev)$ pip install -r make/requirements/requirements.dev.txt

When you are done using CLgen, deactivate the virtualenv environment:

(clgen-dev)$ deactivate

To use CLgen later you will need to activate the virtualenv environment again:

$ source ~/clgen-dev/bin/activate

Installation - System-wide

Install CLgen system-wide using:

$ sudo -H make all

(Optional) Run the test suite:

$ make test

(Optional) Install Python development tools:

$ pip install -r make/requirements/requirements.dev.txt