forked from harvard-acc/gem5-aladdin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
88 lines (82 loc) · 2.61 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
dist: xenial
before_install:
- sudo apt-get update -qq
# These are gem5 dependencies.
- sudo apt-get install -y m4
- sudo apt-get install -y libz-dev
- sudo apt-get install -y libsqlite3-dev
- sudo apt-get install -y scons
- sudo apt-get install -y libpython2.7 libpython2.7-dev
- sudo apt-get install -y libprotobuf-dev protobuf-compiler
# These are Aladdin dependencies.
- sudo apt-get install -y libboost-graph-dev
- sudo apt-get install -y libpthread-stubs0-dev
# Install pre-built LLVM 6.0. This doesn't actually work for tracing, but it
# at least lets gem5-Aladdin to build by letting it set LLVM_VERSION
# correctly.
- |
pushd /tmp
wget -q http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
tar -xf clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
cd clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04
sudo cp -rf bin/ /usr/local/
sudo cp -rf include/ /usr/local/
sudo cp -rf lib /usr/local/
sudo cp -rf libexec /usr/local/
sudo cp -rf share /usr/local/
popd
- git submodule update --init --recursive
env:
- ALADDIN_HOME=$PWD/src/aladdin BOOST_ROOT=/usr/include/boost PATH=/usr/local/bin:$PATH FORCE_CXX11_ABI=1
language: c++
compiler:
- g++
script:
- python run_travis.py
cache:
timeout: 1000
directories:
# This DB stores all the file signatures, which SCons uses to determine
# what has changed.
- build/sconsign
# This stores the conftest files used to check for dependencies.
# Unfortunately, these C files also get recorded in the sconsign DB, so
# if the DB thinks they're present but we don't cache them, checking for
# dependencies will fail.
- build/.scons_config
# Cache everything we're not likely to modify. So exclude aladdin and all
# top level files in mem, sim, and dev.
- build/X86/arch
- build/X86/cpu
- build/X86/proto
- build/X86/python
- build/X86/enums
- build/X86/base
- build/X86/gpu-compute
- build/X86/unittest
- build/X86/debug
- build/X86/params
- build/X86/kern
- build/X86/mem/protocol
- build/X86/mem/cache
- build/X86/mem/ruby
- build/X86/mem/probes
- build/X86/sim/power
- build/X86/sim/probe
- build/X86/dev/alpha
- build/X86/dev/arm
- build/X86/dev/i2c
- build/X86/dev/mips
- build/X86/dev/net
- build/X86/dev/pci
- build/X86/dev/sparc
- build/X86/dev/storage
- build/X86/dev/virtio
- build/X86/dev/x86
notifications:
email:
on_success: never
on_failure: always
recipients: