Skip to content
Dominik Grimm edited this page Jul 8, 2016 · 1 revision

Dependencies

easyGWASCore can be used as a standalone tool, with Python interfaces or as an programming API. In order to also use the Python interfaces, SWIG has to be installed.

To install SWIG follow this link: http://www.swig.org/download.html

To compile the C/C++ code we use SCONS. You can install SCONS with pip:

$ sudo pip install --egg scons

Compiling the Code

Compile C++ API and Binaries Only

To compile the code you have to go to the root directory of the Framework and type:

$ scons -j 4 --build=release

This command builds the code using 4 CPUs and the release command uses optimization techniques to make the code faster.

Compile C++ API and Python Interfaces

To compile the C/C++ code and build the python interfaces, SWIG has to be installed. To compile the interface you have to type:

$ scons -j 4 --build=release --interface=python

Clone this wiki locally