File: .travis.yml

package info (click to toggle)
mpb 1.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,856 kB
  • sloc: ansic: 13,270; javascript: 9,901; makefile: 212; lisp: 44; sh: 4
file content (69 lines) | stat: -rw-r--r-- 1,523 bytes parent folder | download | duplicates (3)
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
language: c
sudo: false
dist: trusty

addons:
  apt:
    packages: &common_pkgs
      - autoconf
      - automake
      - libtool
      - guile-2.0-dev
      - liblapack-dev
      - libblas-dev
      - gfortran
      - git
      - libfftw3-dev

before_script:
  - git clone https://github.com/stevengj/libctl
  - (cd libctl && git checkout master && sh autogen.sh --prefix=$HOME/local && make && make install)

script:
  - |
    sh autogen.sh \
    --enable-maintainer-mode \
    --prefix=$HOME/local \
    --with-libctl=$HOME/local/share/libctl \
    ${MPI_FLAG} \
    ${HERM_EPS} \
    ${INV_SYM} \
    GEN_CTL_IO=$HOME/local/bin/gen-ctl-io \
    CPPFLAGS="-I$HOME/local/include ${CPPFLAGS}" \
    LDFLAGS="-L$HOME/local/lib ${LDFLAGS}"
  - make && make check && make install

matrix:
  include:
    - os: linux
      env:
        - MPI_FLAG=
        - HERM_EPS=
        - INV_SYM=
      addons:
        apt:
          packages:
            - *common_pkgs
            - libhdf5-serial-dev
    - os: linux
      env:
        - MPI_FLAG="--with-mpi CC=mpicc"
        - HERM_EPS=--with-hermitian-eps
        - INV_SYM=
      addons:
        apt:
          packages:
            - *common_pkgs
            - libopenmpi-dev
            - mpi-default-bin
            - openmpi-bin
            - libfftw3-mpi-dev
            - libhdf5-openmpi-dev
    - os: osx
      env:
        - MPI_FLAG=
        - HERM_EPS=
        - INV_SYM=--with-inv-symmetry
      install:
        - brew update
        - brew install guile fftw lapack