Commit 6f5fa96 1 parent fba3c42 commit 6f5fa96 Copy full SHA for 6f5fa96
File tree 1 file changed +18
-10
lines changed
projects/hdfgroup.org/HDF5
1 file changed +18
-10
lines changed Original file line number Diff line number Diff line change 1
1
distributable :
2
- url : https://support.hdfgroup.org/ftp/HDF5 /releases/hdf5- {{version.marketing }}/hdf5-{{version}}/src/hdf5-{{version}}-2 .tar.bz2
2
+ url : https://github.com/HDFGroup/hdf5 /releases/download/ {{version.tag }}/hdf5-{{version}}.tar.gz
3
3
strip-components : 2
4
4
5
5
versions :
6
- - 1.14.1
6
+ github : HDFGroup/hdf5
7
+ strip : /^hdf5_/
7
8
8
9
dependencies :
9
- gnu.org/gcc : ' *'
10
- dkrz.de/libaec : ' *'
10
+ dkrz.de/libaec : 1
11
11
linux :
12
- zlib.net : ' * '
12
+ zlib.net : 1
13
13
14
- runtime :
15
- env :
16
- HDF5_ROOT : ' {{prefix}}'
14
+ companions :
15
+ gnu.org/gcc : ' *'
17
16
18
17
build :
19
18
dependencies :
20
19
gnu.org/autoconf : ' *'
21
20
gnu.org/automake : ' *'
22
21
gnu.org/libtool : ' *'
22
+ gnu.org/gcc : ' *' # gfortran
23
23
24
24
script :
25
25
- autoreconf --force --install --verbose
26
26
- ./configure $ARGS
27
27
- make --jobs {{hw.concurrency}} install
28
- - sed -i'' -e 's|prefix="{{prefix}}"|prefix="${HDF5_ROOT}"|g' {{prefix}}/bin/h5cc {{prefix}}/bin/h5c++ {{prefix}}/bin/h5fc
28
+
29
+ # relocate h5cc, h5c++, h5fc
30
+ - run : sed -i -f $PROP h5cc h5c++ h5fc
31
+ working-directory : ${{prefix}}/bin
32
+ prop : |
33
+ s|{{deps.dkrz.de/libaec.prefix}}|{{pkgx.prefix}}/dkrz.de/libaec/v{{deps.dkrz.de/libaec.version.major}}|g
34
+ s|{{prefix}}|\\$(cd \\$(dirname \\$0)/.. \&\& pwd)|g
35
+ s|{{pkgx.prefix}}|\\$(cd \\$(dirname \\$0)/../../../.. \&\& pwd)|g
36
+ s|\+brewing||g
29
37
30
38
env :
31
39
HDF5_ROOT : ' {{prefix}}'
68
76
- h5cc test.c
69
77
- ./a.out | grep {{version}}
70
78
- h5fc test.f90
71
- - ./a.out | grep {{version}}
79
+ - ./a.out | grep {{version}}
You can’t perform that action at this time.
0 commit comments