From b28595445c745b86e356790103fa535f433220e8 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 12 Jul 2018 15:28:34 +0200 Subject: [PATCH] Extended README and clenaed up lauch configurations --- README.md | 36 +++++++ etc/dbt-riscv Debug hello gdb.launch | 4 +- etc/dbt-riscv Debug hello w plugin.launch | 2 +- etc/dbt-riscv SC Debug hello.launch | 34 ------ etc/dbt-riscv dhrystone.launch | 121 ---------------------- 5 files changed, 39 insertions(+), 158 deletions(-) delete mode 100644 etc/dbt-riscv SC Debug hello.launch delete mode 100644 etc/dbt-riscv dhrystone.launch diff --git a/README.md b/README.md index bbe8063..e14e3f5 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,39 @@ DBT-RISE-RISCV uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO compiler.libcxx=libstdc++11 ``` in $HOME/.conan/profiles/default + +** Detailed Setup steps** + +*** prepare Ubuntu 18.04 *** + +``` + sudo apt-get install -y git python-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 + pip install --user conan +``` + +*** prepare Fedora 28 *** + +``` + #prepare system + dnf install @development-tools gcc-c++ boost-devel zlib-devel loki-lib-devel cmake python2 python3 llvm-devel llvm-static + #install conan + pip3 install --user conan + export PATH=${PATH}:$HOME/.local/bin +``` + +*** Build the ISS *** + +``` + # configure conan + 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 profile new default --detect + # clone and build DBT-RISE-RISCV + git clone --recursive https://github.com/Minres/DBT-RISE-RISCV.git + cd DBT-RISE-RISCV/ + git checkout develop + mkdir build;cd build + MAKE_FLAGS="-j4" cmake .. + make -j4 +``` diff --git a/etc/dbt-riscv Debug hello gdb.launch b/etc/dbt-riscv Debug hello gdb.launch index 2f53e11..4253af1 100644 --- a/etc/dbt-riscv Debug hello gdb.launch +++ b/etc/dbt-riscv Debug hello gdb.launch @@ -12,7 +12,7 @@ - + @@ -22,7 +22,7 @@ - + diff --git a/etc/dbt-riscv Debug hello w plugin.launch b/etc/dbt-riscv Debug hello w plugin.launch index f46628e..226bbf1 100644 --- a/etc/dbt-riscv Debug hello w plugin.launch +++ b/etc/dbt-riscv Debug hello w plugin.launch @@ -12,7 +12,7 @@ - + diff --git a/etc/dbt-riscv SC Debug hello.launch b/etc/dbt-riscv SC Debug hello.launch deleted file mode 100644 index c1650db..0000000 --- a/etc/dbt-riscv SC Debug hello.launch +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/dbt-riscv dhrystone.launch b/etc/dbt-riscv dhrystone.launch deleted file mode 100644 index a35677f..0000000 --- a/etc/dbt-riscv dhrystone.launch +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -