-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.travis.yml
41 lines (35 loc) · 1.05 KB
/
.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
34
35
36
37
38
39
40
41
dist: bionic
addons:
apt:
packages:
- libzmq3-dev
language: cpp
compiler: gcc
before_install:
- sudo apt update
- sudo apt -y install libpugixml-dev python3-venv libboost-program-options-dev libboost-system-dev
before_script:
- mkdir systemc
- wget https://accellera.org/images/downloads/standards/systemc/systemc-2.3.3.tar.gz
- tar -xf systemc-2.3.3.tar.gz
- cd systemc-2.3.3
- mkdir objdir
- cd objdir
- ../configure --prefix=/usr/local/systemc-2.3.3 --enable-static CXXFLAGS="-std=c++17"
- make -j
- sudo mkdir /usr/local/systemc-2.3.3
- sudo make install
#- sudo sed -i '/using std::gets;/d' /usr/local/systemc-2.3.3/include/systemc.h
- cd ../..
script:
- export SYSTEMC_DISABLE_COPYRIGHT_MESSAGE=1
- cd simulator
- ./build.sh
- cd ../tests/urand
- ./run.sh
- cd ../netrace
- make
- source source_me.sh
- python bench.py
- cd ../routing-table
- ./run.sh