forked from ucb-bar/esp-llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 980 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
34
35
36
37
38
39
40
41
42
43
44
45
46
language: cpp
compiler:
- gcc
sudo: false
notifications:
email:
cache: apt
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kubuntu-backports
packages:
- gcc-4.9
- g++-4.9
- gperf
- autoconf
- automake
- autotools-dev
- libmpc-dev
- libmpfr-dev
- libgmp-dev
- gawk
- build-essential
- bison
- flex
- texinfo
- cmake
env:
global:
- RISCV="/home/travis/riscv_install"
matrix:
- CONFIG="../configure --enable-optimized --enable-targets=riscv --prefix=${RISCV}" TEST="check LIT_ARGS=--filter=.*RISCV.*"
- CONFIG="cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=RISCV -DCMAKE_INSTALL_PREFIX=${RISCV} ../" TEST="check-llvm-codegen-riscv check-llvm-mc-riscv"
git:
submodules: true
before_install:
- export CXX="g++-4.9" CC="gcc-4.9"
- $CXX --version
script:
- mkdir build
- cd build
- $CONFIG
- make -j4
- make $TEST