Added seasocks via conan

This commit is contained in:
2017-10-26 11:41:35 +02:00
parent b0dcb3b60e
commit b94d637177
9 changed files with 261 additions and 11 deletions

View File

@@ -25,20 +25,32 @@ DBT-RISE-RiscV uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO
**Quick start**
* you need to have a decent compiler, make and cmake installed
* install LLVM 4.0 according to http://apt.llvm.org/
* download and install SystemC from http://accellera.org/downloads/standards/systemc
* you need to have a decent compiler, make, python, and cmake installed
* install LLVM 4.0 according to http://apt.llvm.org/ (if it is not already provided by your distribution)
* install conan.io (see also http://docs.conan.io/en/latest/installation.html)
```
pip install conan
```
* download and install SystemC from http://accellera.org/downloads/standards/systemc (this is going to be replaced with a conan.io integration)
* optionally download and install SystemC Verification Library (SCV) from Accelera into the same location
* setup conan to use the minres repo
```
conan add remote minres https://dl.bintray.com/minres/conan-repo
```
* checkout source from git
* start an out-of-source build like so (e.g. when using LLVM 3.9 and bash)
```
* start an out-of-source build like so (e.g. when using bash)
```
cd DBT-RISE-RiscV
mkdir build
cd build
cmake ..
make
cmake --build .
```
* if the SystemC installation is not found by cmake you can optionally specify the location by either setting the following environment variables pointing to the installation
- SYSTEMC_HOME
- SYSTEMC_PREFIX
* if you encounter issues when linking wrt. c++11 symbols you might have run into GCC ABI incompatibility introduced from GCC 5.0 onwards. You can fix this by adding '-s compiler.libcxx=libstdc++11' to the conan call or changing compiler.libcxx to
```
compiler.libcxx=libstdc++11
```
in $HOME/.conan/profiles/default