@@ -41,12 +41,88 @@ jobs:
41
41
- name : build_with_autotools
42
42
env :
43
43
- FCFLAGS_ADD='' DISTCHECK_CONFIGURE_FLAGS=''
44
+
45
+ # Travis sets CC to gcc, but we need to ensure it is not set, so we can use mpicc
46
+ before_install :
47
+ - test -n "$CC" && unset CC
48
+
49
+ before_script :
50
+ - export CC=mpicc
51
+ - export FC=mpif90
52
+ - export CPPFLAGS="-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500"
53
+ - export FCFLAGS="-Waliasing -fno-range-check ${FCFLAGS_ADD}"
54
+ - export LDFLAGS='-L/usr/lib'
55
+ - export VERBOSE=1
56
+
57
+ script :
58
+ - autoreconf -i
59
+ - ./configure ${DISTCHECK_CONFIGURE_FLAGS}
60
+ - make -j distcheck
61
+ # build_with_autotools_no_openmp
62
+ - name : build_with_autotools_no_openmp
63
+ env :
44
64
- FCFLAGS_ADD='' DISTCHECK_CONFIGURE_FLAGS='--without-openmp'
65
+
66
+ before_install :
67
+ - test -n "$CC" && unset CC
68
+
69
+ before_script :
70
+ - export CC=mpicc
71
+ - export FC=mpif90
72
+ - export CPPFLAGS="-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500"
73
+ - export FCFLAGS="-Waliasing -fno-range-check ${FCFLAGS_ADD}"
74
+ - export LDFLAGS='-L/usr/lib'
75
+ - export VERBOSE=1
76
+
77
+ script :
78
+ - autoreconf -i
79
+ - ./configure ${DISTCHECK_CONFIGURE_FLAGS}
80
+ - make -j distcheck
81
+ # build_with_autotools_mixed_mode
82
+ - name : build_with_autotools_mixed_mode
83
+ env :
45
84
- FCFLAGS_ADD='' DISTCHECK_CONFIGURE_FLAGS='--enable-mixed-mode'
85
+
86
+ before_install :
87
+ - test -n "$CC" && unset CC
88
+
89
+ before_script :
90
+ - export CC=mpicc
91
+ - export FC=mpif90
92
+ - export CPPFLAGS="-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500"
93
+ - export FCFLAGS="-Waliasing -fno-range-check ${FCFLAGS_ADD}"
94
+ - export LDFLAGS='-L/usr/lib'
95
+ - export VERBOSE=1
96
+
97
+ script :
98
+ - autoreconf -i
99
+ - ./configure ${DISTCHECK_CONFIGURE_FLAGS}
100
+ - make -j distcheck
101
+ # build_with_autotools_r8
102
+ - name : build_with_autotools_r8
103
+ env :
46
104
- FCFLAGS_ADD='-fdefault-real-8 -fdefault-double-8 -fcray-pointer -ffree-line-length-none' DISTCHECK_CONFIGURE_FLAGS='--disable-setting-flags'
105
+
106
+ before_install :
107
+ - test -n "$CC" && unset CC
108
+
109
+ before_script :
110
+ - export CC=mpicc
111
+ - export FC=mpif90
112
+ - export CPPFLAGS="-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500"
113
+ - export FCFLAGS="-Waliasing -fno-range-check ${FCFLAGS_ADD}"
114
+ - export LDFLAGS='-L/usr/lib'
115
+ - export VERBOSE=1
116
+
117
+ script :
118
+ - autoreconf -i
119
+ - ./configure ${DISTCHECK_CONFIGURE_FLAGS}
120
+ - make -j distcheck
121
+ # build_with_autotools_mpp_io
122
+ - name : build_with_autotools_mpp_io
123
+ env :
47
124
- FCFLAGS_ADD='' DISTCHECK_CONFIGURE_FLAGS='--enable-mpp-io'
48
125
49
- # Travis sets CC to gcc, but we need to ensure it is not set, so we can use mpicc
50
126
before_install :
51
127
- test -n "$CC" && unset CC
52
128
0 commit comments