-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (31 loc) · 885 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
dist: bionic
sudo: true
matrix:
include:
- os: linux
compiler:
- gcc
- clang
addons: &gcc7
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'gcc-7']
env:
- CXX='g++-7'
- CC='gcc-7'
before_install:
- sudo add-apt-repository -y ppa:graphics-drivers/ppa
- sudo apt update
- sudo apt-get install ubuntu-drivers-common
- sudo apt-get install libblas-dev liblapack-dev
- sudo apt-get install libopenblas-dev
#- sudo ubuntu-drivers auto-install
- sudo apt install nvidia-cuda-toolkit gcc-6
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
install:
- sudo git clone https://github.com/eigenteam/eigen-git-mirror.git /usr/local/include/eigen-git-mirror
script:
- mkdir build
- cd build
- cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=clang++ ..
- make