forked from flang-compiler/flang
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (36 loc) · 983 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
language: c
cache:
directories:
- $HOME/.conda/pkgs
- $HOME/miniconda/pkgs
branches:
only:
- master
- windows
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -u -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge --force
- conda update -q conda
- conda create -q -n test-environment
flang-meta
llvmdev
clangdev
openmp
cmake
- source activate test-environment
- conda info -a
# For testing
#- pip install lit
script:
- mkdir -p build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DFLANG_INCLUDE_TESTS=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_Fortran_COMPILER=flang ..
- make -j4
- make install -j4
#- make check-flang
notifications:
email: false