-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy path.travis.yml
33 lines (30 loc) · 830 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: cpp
os:
- linux
script:
- mkdir -p build && cd build
- cmake ..
- make -j 2
compiler:
- gcc
before_install:
- sudo apt-get update
- sudo apt-get -y install libboost-all-dev libspdlog-dev
install:
- cd ..
- 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
- mkdir build && cd build
- cmake .. -DCMAKE_CXX_STANDARD=17
- make -j 4 && make install
- cd ../..
- rm systemc-2.3.3.tar.gz
- git clone https://github.com/gabime/spdlog.git
- cd spdlog
- cmake -H. -B_builds -DCMAKE_BUILD_TYPE=Release
- cmake --build _builds --config Release
- cmake -H. -B_builds -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release
- cmake --build _builds --target install
- cd ..
- cd RISC-V-TLM