update README
This commit is contained in:
parent
8d4d099f3a
commit
9248b7f246
33
README.md
33
README.md
|
@ -24,21 +24,12 @@ RISCV-VP uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http
|
||||||
* setup conan to use the minres repo:
|
* setup conan to use the minres repo:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
conan profile new default --detect --force
|
||||||
|
conan profile update settings.compiler.libcxx=libstdc++11 default
|
||||||
conan remote add minres https://api.bintray.com/conan/minres/conan-repo
|
conan remote add minres https://api.bintray.com/conan/minres/conan-repo
|
||||||
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
||||||
```
|
```
|
||||||
|
|
||||||
* checkout source from git
|
|
||||||
* start an out-of-source build:
|
|
||||||
|
|
||||||
```
|
|
||||||
cd RISCV-VP
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
cmake --build .
|
|
||||||
```
|
|
||||||
|
|
||||||
* 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
|
* 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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -49,12 +40,12 @@ in $HOME/.conan/profiles/default
|
||||||
|
|
||||||
**Detailed Setup steps**
|
**Detailed Setup steps**
|
||||||
|
|
||||||
***prepare Ubuntu 18.04***
|
***prepare Ubuntu 18.04/20.04***
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install -y git python-pip build-essential cmake libloki-dev zlib1g-dev libncurses5-dev \
|
sudo apt-get install -y git python3-pip build-essential cmake libloki-dev zlib1g-dev libncurses5-dev \
|
||||||
libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev llvm-dev llvm-doc
|
libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev llvm-dev llvm-doc
|
||||||
pip install --user conan
|
pip3 install --user conan
|
||||||
```
|
```
|
||||||
|
|
||||||
***prepare Fedora 28***
|
***prepare Fedora 28***
|
||||||
|
@ -70,15 +61,11 @@ in $HOME/.conan/profiles/default
|
||||||
***Build the ISS***
|
***Build the ISS***
|
||||||
|
|
||||||
```
|
```
|
||||||
# configure conan
|
# checkout source from git:
|
||||||
conan remote add minres https://api.bintray.com/conan/minres/conan-repo
|
git clone --recursive https://git.minres.com/VP/HIFIVE1-VP.git
|
||||||
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
|
||||||
conan profile new default --detect
|
# build ISS:
|
||||||
# clone and build DBT-RISE-RISCV
|
cd HIFIVE1-VP
|
||||||
git clone --recursive https://git.minres.com/VP/RISCV-VP.git
|
|
||||||
cd RISCV-VP/
|
|
||||||
git checkout develop
|
|
||||||
git submodule update --recursive
|
|
||||||
mkdir build;cd build
|
mkdir build;cd build
|
||||||
MAKE_FLAGS="-j4" cmake ..
|
MAKE_FLAGS="-j4" cmake ..
|
||||||
make -j4
|
make -j4
|
||||||
|
|
Loading…
Reference in New Issue