Skip to content

Commit 19bef35

Browse files
committed
Squashed 'src/zfp/' content from commit e8edace
git-subtree-dir: src/zfp git-subtree-split: e8edaced12f139ddf16167987ded15e5da1b98da
0 parents  commit 19bef35

File tree

201 files changed

+21111
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+21111
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.a
2+
*.o
3+
bin
4+
build
5+
lib

.travis.yml

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
language:
2+
- generic
3+
4+
matrix:
5+
include:
6+
- os: linux
7+
dist: xenial
8+
compiler: gcc-6
9+
addons:
10+
apt:
11+
sources: ubuntu-toolchain-r-test
12+
packages:
13+
- gcc-6
14+
- g++-6
15+
- gfortran-6
16+
- libpython3.5-dev
17+
- cython3
18+
- python3-numpy
19+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' COVERAGE='ON'
20+
21+
- os: linux
22+
dist: xenial
23+
compiler: clang-3.6
24+
addons: &clang36
25+
apt:
26+
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty']
27+
packages:
28+
- clang-3.6
29+
- g++-7
30+
- gfortran-6
31+
- libpython3.5-dev
32+
- cython3
33+
- python3-numpy
34+
env: CC='clang-3.6' CXX='clang++-3.6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
35+
36+
- os: linux
37+
dist: xenial
38+
compiler: clang-4.0
39+
before_install:
40+
- export LD_LIBRARY_PATH=/usr/local/clang/lib:$LD_LIBRARY_PATH
41+
addons: &clang40
42+
apt:
43+
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
44+
packages:
45+
- clang-4.0
46+
- g++-7
47+
- gfortran-6
48+
- libpython3.5-dev
49+
- cython3
50+
- python3-numpy
51+
env: CC='clang-4.0' CXX='clang++-4.0' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
52+
53+
- os: linux
54+
dist: xenial
55+
compiler: gcc-4.4
56+
addons:
57+
apt:
58+
sources: ubuntu-toolchain-r-test
59+
packages:
60+
- gcc-4.4
61+
- g++-4.4
62+
- gfortran-4.4
63+
- libpython3.5-dev
64+
- cython3
65+
- python3-numpy
66+
env: CC='gcc-4.4' CXX='g++-4.4' FC='gfortran-4.4' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
67+
68+
- os: linux
69+
dist: xenial
70+
compiler: gcc-4.7
71+
addons:
72+
apt:
73+
sources: ubuntu-toolchain-r-test
74+
packages:
75+
- gcc-4.7
76+
- g++-4.7
77+
- gfortran-4.7
78+
- libpython3.5-dev
79+
- cython3
80+
- python3-numpy
81+
env: CC='gcc-4.7' CXX='g++-4.7' FC='gfortran-4.7' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
82+
83+
- os: linux
84+
dist: xenial
85+
compiler: gcc-4.8
86+
addons:
87+
apt:
88+
sources: ubuntu-toolchain-r-test
89+
packages:
90+
- gcc-4.8
91+
- g++-4.8
92+
- gfortran-4.8
93+
- libpython3.5-dev
94+
- cython3
95+
- python3-numpy
96+
env: CC='gcc-4.8' CXX='g++-4.8' FC='gfortran-4.8' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
97+
98+
- os: linux
99+
dist: xenial
100+
compiler: gcc-4.9
101+
addons:
102+
apt:
103+
sources: ubuntu-toolchain-r-test
104+
packages:
105+
- gcc-4.9
106+
- g++-4.9
107+
- gfortran-4.9
108+
- libpython3.5-dev
109+
- cython3
110+
- python3-numpy
111+
env: CC='gcc-4.9' CXX='g++-4.9' FC='gfortran-4.9' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
112+
113+
- os: linux
114+
dist: trusty
115+
compiler: gcc-5
116+
addons:
117+
apt:
118+
sources: ubuntu-toolchain-r-test
119+
packages:
120+
- gcc-5
121+
- g++-5
122+
- gfortran-5
123+
- libpython2.7
124+
- python-pip
125+
env: CC='gcc-5' CXX='g++-5' FC='gfortran-5' FORTRAN_STANDARD='2003' PYTHON_VERSION='2.7'
126+
127+
- os: linux
128+
dist: trusty
129+
compiler: gcc-6
130+
addons:
131+
apt:
132+
sources: ubuntu-toolchain-r-test
133+
packages:
134+
- gcc-6
135+
- g++-6
136+
- gfortran-6
137+
- libpython2.7
138+
- python-pip
139+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='2.7'
140+
141+
- os: linux
142+
dist: xenial
143+
compiler: gcc-6
144+
addons:
145+
apt:
146+
sources: ubuntu-toolchain-r-test
147+
packages:
148+
- gcc-6
149+
- g++-6
150+
- gfortran-6
151+
- libpython3.5-dev
152+
- cython3
153+
- python3-numpy
154+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' C_STANDARD='90'
155+
156+
- os: linux
157+
dist: xenial
158+
compiler: gcc-6
159+
addons:
160+
apt:
161+
sources: ubuntu-toolchain-r-test
162+
packages:
163+
- gcc-6
164+
- g++-6
165+
- gfortran-6
166+
- libpython3.5-dev
167+
- cython3
168+
- python3-numpy
169+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' C_STANDARD='11'
170+
171+
- os: linux
172+
dist: xenial
173+
compiler: gcc-6
174+
addons:
175+
apt:
176+
sources: ubuntu-toolchain-r-test
177+
packages:
178+
- gcc-6
179+
- g++-6
180+
- gfortran-6
181+
- libpython3.5-dev
182+
- cython3
183+
- python3-numpy
184+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' CXX_STANDARD='11'
185+
186+
- os: linux
187+
dist: xenial
188+
compiler: gcc-6
189+
addons:
190+
apt:
191+
sources: ubuntu-toolchain-r-test
192+
packages:
193+
- gcc-6
194+
- g++-6
195+
- gfortran-6
196+
- libpython3.5
197+
- cython3
198+
- python3-numpy
199+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' CXX_STANDARD='14'
200+
201+
- os: linux
202+
dist: xenial
203+
compiler: gcc-6
204+
addons:
205+
apt:
206+
sources: ubuntu-toolchain-r-test
207+
packages:
208+
- gcc-6
209+
- g++-6
210+
- gfortran-6
211+
- libpython3.5
212+
- cython3
213+
- python3-numpy
214+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2008' PYTHON_VERSION='3.5'
215+
216+
- os: linux
217+
dist: xenial
218+
compiler: gcc-7
219+
addons:
220+
apt:
221+
sources: ubuntu-toolchain-r-test
222+
packages:
223+
- gcc-7
224+
- g++-7
225+
- gfortran-7
226+
- libpython3.5
227+
- cython3
228+
- python3-numpy
229+
env: CC='gcc-7' CXX='g++-7' FC='gfortran-7' FORTRAN_STANDARD='2008' PYTHON_VERSION='3.5'
230+
231+
- os: osx
232+
osx_image: xcode7.3
233+
compiler: gcc
234+
env: CC='gcc' CXX='g++' PYTHON_VERSION='3.5'
235+
236+
- os: osx
237+
osx_image: xcode8.3
238+
compiler: gcc
239+
env: CC='gcc' CXX='g++' PYTHON_VERSION='2.7'
240+
241+
- os: osx
242+
osx_image: xcode7.3
243+
compiler: clang
244+
env: CC='clang' CXX='clang++' PYTHON_VERSION='3.5'
245+
246+
- os: osx
247+
osx_image: xcode8.3
248+
compiler: clang
249+
env: CC='clang' CXX='clang++' PYTHON_VERSION='2.7'
250+
251+
script:
252+
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pyenv root; fi
253+
- |
254+
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
255+
pyenv install 2.7.12;
256+
export PYTHON_INCLUDE_DIR=$(pyenv root)/versions/2.7.12/include/python2.7;
257+
export PYTHON_LIBRARY=$(pyenv root)/versions/2.7.12/lib/libpython2.7.dylib;
258+
export PYTHON_EXECUTABLE=$(pyenv root)/versions/2.7.12/bin/python2.7;
259+
fi
260+
- |
261+
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
262+
pyenv install 3.5.0;
263+
export PYTHON_INCLUDE_DIR=$(pyenv root)/versions/3.5.0/include/python3.5m;
264+
export PYTHON_LIBRARY=$(pyenv root)/versions/3.5.0/lib/libpython3.5m.a;
265+
export PYTHON_EXECUTABLE=$(pyenv root)/versions/3.5.0/bin/python3.5m;
266+
fi
267+
- |
268+
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
269+
$PYTHON_EXECUTABLE -m pip install --upgrade pip;
270+
$PYTHON_EXECUTABLE -m pip install -r ${TRAVIS_BUILD_DIR}/python/requirements.txt;
271+
fi
272+
273+
- |
274+
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
275+
export PYTHON_EXECUTABLE=/usr/bin/python$PYTHON_VERSION;
276+
source /etc/lsb-release;
277+
fi
278+
- |
279+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
280+
export PYTHON_INCLUDE_DIR=/usr/include/python2.7;
281+
export PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so;
282+
fi
283+
- |
284+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
285+
export PYTHON_INCLUDE_DIR=/usr/include/python3.5m;
286+
export PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so;
287+
fi
288+
- |
289+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DISTRIB_CODENAME" = "trusty" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
290+
sudo $PYTHON_EXECUTABLE -m pip install --upgrade pip;
291+
sudo $PYTHON_EXECUTABLE -m pip install -r ${TRAVIS_BUILD_DIR}/python/requirements.txt;
292+
fi
293+
- |
294+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DISTRIB_CODENAME" = "trusty" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
295+
echo "Python 3.5 not supported on Ubuntu Trusty";
296+
exit 1;
297+
fi
298+
299+
- printenv | grep PYTHON
300+
- ./travis.sh
301+
302+
after_success:
303+
- if [[ -n "${COVERAGE}" ]]; then bash <(curl -s https://codecov.io/bash); fi

0 commit comments

Comments
 (0)