2018-09-27 19:38:16 +08:00
|
|
|
language: cpp
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
script:
|
2021-11-25 21:20:58 +08:00
|
|
|
- mkdir -p build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j 2
|
2018-09-27 19:38:16 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
2021-02-21 21:06:56 +08:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
2021-11-25 21:20:58 +08:00
|
|
|
- sudo apt-get -y install libboost-all-dev libspdlog-dev
|
2021-02-21 21:06:56 +08:00
|
|
|
|
2018-09-27 19:38:16 +08:00
|
|
|
install:
|
2018-09-27 20:03:22 +08:00
|
|
|
- cd ..
|
2021-11-26 06:31:06 +08:00
|
|
|
- wget --no-check-certificate http://www.accellera.org/images/downloads/standards/systemc/systemc-2.3.3.tar.gz
|
|
|
|
- tar xfvz systemc-2.3.3.tar.gz
|
|
|
|
- cd systemc-2.3.3
|
2018-09-27 20:03:22 +08:00
|
|
|
- mkdir build && cd build
|
2018-09-27 21:02:33 +08:00
|
|
|
- ../configure CXXFLAGS="-std=c++11"
|
2018-09-27 20:03:22 +08:00
|
|
|
- make -j 4 && make install
|
|
|
|
- cd ../..
|
2021-11-26 06:31:06 +08:00
|
|
|
- rm -r systemc-2.3.3/build
|
|
|
|
- rm systemc-2.3.3.tar.gz
|
2018-09-27 20:11:06 +08:00
|
|
|
- cd RISC-V-TLM
|