File tree Expand file tree Collapse file tree 2 files changed +47
-44
lines changed Expand file tree Collapse file tree 2 files changed +47
-44
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
3
addons :
4
- apt :
5
- sources :
6
- - ubuntu-toolchain-r-test
7
- - george-edison55-precise-backports
8
- - sourceline : ' ppa:nicolasbock/qmmd'
9
- packages :
10
- - cmake
11
- - cmake-data
12
- - g++-6
13
- - gcc-6
14
- - gfortran-6
15
- - libblas-dev
16
- # - libbml-dev
17
- - liblapack-dev
18
- - libmetis-dev
19
- - libopenmpi-dev
20
- - python
21
- - python3-numpy
22
- - python-numpy
23
-
24
-
25
- before_install :
26
- - export PROGRESSPATH=`pwd`
27
- - cd; git clone --depth=1 https://github.com/lanl/bml.git
28
- - cd; cd bml; CC=gcc FC=gfortran-6 CMAKE_BUILD_TYPE=Release BLAS_VENDOR=GNU BML_OPENMP=yes BML_TESTING=no ./build.sh configure
29
- - cd; cd bml/build; make; make install
30
-
31
- before_script :
32
- - cd; cd $PROGRESSPATH
4
+ apt :
5
+ sources :
6
+ - ubuntu-toolchain-r-test
7
+ - george-edison55-precise-backports
8
+ - sourceline : ' ppa:nicolasbock/qmmd'
9
+ packages :
10
+ - cmake
11
+ - cmake-data
12
+ - g++-6
13
+ - gcc-6
14
+ - gfortran-6
15
+ - libblas-dev
16
+ - liblapack-dev
17
+ - libmetis-dev
18
+ - libopenmpi-dev
19
+ - python
20
+ - python3-numpy
21
+ - python-numpy
33
22
34
23
env :
35
24
- CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=no OMP_NUM_THREADS=4 COMMAND=install
36
- - CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=yes OMP_NUM_THREADS=4 COMMAND=install
25
+ - CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=yes OMP_NUM_THREADS=4 COMMAND=install
37
26
- CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=no OMP_NUM_THREADS=4 COMMAND=testing
38
27
- CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=yes OMP_NUM_THREADS=4 COMMAND=testing
39
28
29
+ before_script :
30
+ - ./scripts/build-progress.sh
31
+
40
32
script :
41
- - >
42
- CMAKE_BUILD_TYPE=Debug
43
- PKG_CONFIG_PATH=~/bml/install/lib/pkgconfig
44
- PROGRESS_EXAMPLES=yes
45
- PROGRESS_OPENMP=yes
46
- PROGRESS_TESTING=yes
47
- VERBOSE_MAKEFILE=yes
48
- ./build.sh ${COMMAND}
49
- - pushd examples/gpmd
50
- - ./run_test.sh
51
- - popd
52
- - pushd examples/gpmdcov
53
- - OMP_NUM_THREADS=2 ./run.sh 2
54
- - popd
33
+ - >
34
+ CMAKE_BUILD_TYPE=Debug
35
+ PKG_CONFIG_PATH=~/bml/install/lib/pkgconfig
36
+ PROGRESS_EXAMPLES=yes
37
+ PROGRESS_OPENMP=yes
38
+ PROGRESS_TESTING=yes
39
+ VERBOSE_MAKEFILE=yes
40
+ ./build.sh ${COMMAND}
41
+ - pushd examples/gpmd
42
+ - ./run_test.sh
43
+ - popd
44
+ - pushd examples/gpmdcov
45
+ - OMP_NUM_THREADS=2 ./run.sh 2
46
+ - popd
55
47
56
48
after_success :
57
49
- pip install codecov
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -ev
4
+
5
+ cd ~
6
+ git clone --depth=1 https://github.com/lanl/bml.git;
7
+ cd bml
8
+ CC=gcc-6 FC=gfortran-6 CXX=g++-6 \
9
+ CMAKE_BUILD_TYPE=Release BLAS_VENDOR=GNU \
10
+ BML_OPENMP=yes BML_TESTING=no \
11
+ ./build.sh install
You can’t perform that action at this time.
0 commit comments