Compare commits
185 Commits
hdf5-1_13_
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d596b4a59 | ||
|
|
2e8ea68d97 | ||
|
|
48a3d92d04 | ||
|
|
d61fd4aba7 | ||
|
|
509fe962d4 | ||
|
|
2c9de7a9ae | ||
|
|
720e04e196 | ||
|
|
5543d6eb36 | ||
|
|
06c12f97cd | ||
|
|
90d20764f4 | ||
|
|
54590f3ebd | ||
|
|
337a882af8 | ||
|
|
423ee69c1e | ||
|
|
c2e3c732f0 | ||
|
|
83f81a6422 | ||
|
|
d326f6fae8 | ||
|
|
c0b3646193 | ||
|
|
3da2551adb | ||
|
|
d261272ffa | ||
|
|
23ccd7ee3b | ||
|
|
298c7efe76 | ||
|
|
1cf9ecccf5 | ||
|
|
cfd5059e77 | ||
|
|
9a694db450 | ||
|
|
ab0a778593 | ||
|
|
57af2ff798 | ||
|
|
9f5cf0a457 | ||
|
|
976e8c9750 | ||
|
|
c1e44d32e6 | ||
|
|
b9244a85d9 | ||
|
|
70cf2c390b | ||
|
|
149b8e9769 | ||
|
|
8102fa8c97 | ||
|
|
784061b15e | ||
|
|
6b6bcdead6 | ||
|
|
0e76abaf64 | ||
|
|
4bbda3038a | ||
|
|
138daa8846 | ||
|
|
10c693a04f | ||
|
|
0cb5808087 | ||
|
|
1b06e868fd | ||
|
|
93938b3a8d | ||
|
|
a1c81eda20 | ||
|
|
b7511c19d0 | ||
|
|
502b32b0f2 | ||
|
|
a9036005c3 | ||
|
|
b9f4c001ad | ||
|
|
4a8be219e0 | ||
|
|
ef4f1f2bd4 | ||
|
|
0b4e9cf976 | ||
|
|
dcccc35526 | ||
|
|
64514392fb | ||
|
|
0a2006d9c6 | ||
|
|
2376723d4a | ||
|
|
281984b3e3 | ||
|
|
c1c131260a | ||
|
|
24700e8f06 | ||
|
|
88b24c258b | ||
|
|
4e0277c35a | ||
|
|
96a4e10102 | ||
|
|
cf232a757f | ||
|
|
158dff6b50 | ||
|
|
eac2cd54e2 | ||
|
|
3e762b07aa | ||
|
|
ee4d92e01b | ||
|
|
9dd36f016a | ||
|
|
169896aedb | ||
|
|
719d800499 | ||
|
|
03cc221016 | ||
|
|
0f94940f1a | ||
|
|
34ec3bb7bc | ||
|
|
1750b4b0af | ||
|
|
659bc99fd1 | ||
|
|
99487d9e45 | ||
|
|
5985d0e0b1 | ||
|
|
a8942c7413 | ||
|
|
d93c6fae43 | ||
|
|
18c438bdf0 | ||
|
|
adc467992e | ||
|
|
0f30852242 | ||
|
|
2025d047e2 | ||
|
|
81a6f6874f | ||
|
|
018f093c09 | ||
|
|
40a0e3c7b5 | ||
|
|
55e3f667d4 | ||
|
|
6924d590cc | ||
|
|
e4fb9aa96e | ||
|
|
94119211a7 | ||
|
|
11dfa25910 | ||
|
|
71595e9ea3 | ||
|
|
2b8139f34c | ||
|
|
9acd203041 | ||
|
|
4d0501f48c | ||
|
|
a6c1dff09a | ||
|
|
0173706826 | ||
|
|
9c61f7b1e1 | ||
|
|
ad2d77397a | ||
|
|
ba1fe3d1df | ||
|
|
7d1997ff7b | ||
|
|
23e237e728 | ||
|
|
ea902f9ace | ||
|
|
f98c93ab19 | ||
|
|
4e4c7cf66d | ||
|
|
7997b53589 | ||
|
|
93754cae33 | ||
|
|
a898cef6c2 | ||
|
|
889dc1e9a7 | ||
|
|
0fd867390a | ||
|
|
afb92a3e22 | ||
|
|
5021fd9d4d | ||
|
|
80f80d61db | ||
|
|
edc3790f5c | ||
|
|
cffaf47c15 | ||
|
|
64e69d9291 | ||
|
|
306db409d4 | ||
|
|
e80079fd21 | ||
|
|
a322eb6147 | ||
|
|
c114bd64b0 | ||
|
|
1fb83da215 | ||
|
|
ce67e4eb05 | ||
|
|
79bdc6183e | ||
|
|
1bec0ce2d7 | ||
|
|
4184bac2ec | ||
|
|
1c26386c38 | ||
|
|
dcd332d231 | ||
|
|
853a592d2d | ||
|
|
100b22e6c2 | ||
|
|
d491c33a72 | ||
|
|
6d89634445 | ||
|
|
a9d8b469f4 | ||
|
|
16aa2dbaa0 | ||
|
|
45178c87a3 | ||
|
|
dcf3b54b6e | ||
|
|
b5598575bb | ||
|
|
fe9c07fd90 | ||
|
|
05a0411140 | ||
|
|
2d4a96b32c | ||
|
|
ecc687c4ff | ||
|
|
99f17c7271 | ||
|
|
1804e0e0c4 | ||
|
|
c8fdd92cd4 | ||
|
|
6e8aaab1b4 | ||
|
|
ccdcec273a | ||
|
|
5de9d63ff4 | ||
|
|
5719187a34 | ||
|
|
5097ff016f | ||
|
|
08aebb6d1a | ||
|
|
e1d6157c5d | ||
|
|
ee55dd777b | ||
|
|
88ed5b69d4 | ||
|
|
f020d129b2 | ||
|
|
21ec337855 | ||
|
|
801edb4f52 | ||
|
|
ec3737ab69 | ||
|
|
f24dff5157 | ||
|
|
3015e3d7ab | ||
|
|
10eb43d0c2 | ||
|
|
3e38a001a1 | ||
|
|
2b786ffe5a | ||
|
|
281db5876e | ||
|
|
7f6261a677 | ||
|
|
de46019a86 | ||
|
|
8cd97c4793 | ||
|
|
9dfcca0bbb | ||
|
|
a3fd350483 | ||
|
|
e6f16c0ec2 | ||
|
|
9304f277e8 | ||
|
|
cf482563cc | ||
|
|
d201907a4b | ||
|
|
e4de06057a | ||
|
|
07efecd9f4 | ||
|
|
ecc9bbe4b6 | ||
|
|
b54d01fcb5 | ||
|
|
1483eeef34 | ||
|
|
dc9562ee77 | ||
|
|
afc54d75a1 | ||
|
|
2bba853375 | ||
|
|
d6927e49c0 | ||
|
|
191c27c0a9 | ||
|
|
951566a4ad | ||
|
|
75f4d9b042 | ||
|
|
10e4dd4ef1 | ||
|
|
25ef534039 | ||
|
|
029cde6111 | ||
|
|
c58558e872 |
@@ -1,5 +1,4 @@
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
37
.github/CODEOWNERS
vendored
37
.github/CODEOWNERS
vendored
@@ -2,41 +2,10 @@
|
||||
# Each line is a file pattern followed by one or more owners.
|
||||
|
||||
# These owners will be the default owners for everything in the repo.
|
||||
* @lrknox
|
||||
* @lrknox @derobins @byrnHDF @fortnern @jhendersonHDF @qkoziol @vchoi-hdfgroup @bmribler @raylu-hdf @mattjala @brtnfld
|
||||
|
||||
# Order is important. The last matching pattern has the most precedence.
|
||||
# So if a pull request only touches javascript files, only these owners
|
||||
# will be requested to review.
|
||||
*.cmake @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
CMakeLists.txt @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
CMakeTests.* @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/bin/ @lrknox @ChristopherHogan @gnuoyd @derobins @qkoziol
|
||||
|
||||
/c++/ @bmribler @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/config/ @lrknox @byrnHDF @ChristopherHogan @gnuoyd @derobins @qkoziol
|
||||
|
||||
/doc/ @ChristopherHogan @gnuoyd @jrmainzer
|
||||
|
||||
/examples/ @lrknox @bmribler @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/fortran/ @brtnfld @epourmal
|
||||
|
||||
/hl/ @bmribler @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/java/ @jhendersonHDF @byrnHDF
|
||||
|
||||
/m4/ @lrknox @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/release_docs/ @lrknox @bmribler @byrnHDF
|
||||
|
||||
/src/ @jhendersonHDF @fortnern @soumagne @vchoi-hdfgroup @ChristopherHogan @gnuoyd @derobins @jrmainzer @qkoziol
|
||||
|
||||
/test/ @jhendersonHDF @fortnern @soumagne @vchoi-hdfgroup @ChristopherHogan @gnuoyd @derobins @jrmainzer @qkoziol
|
||||
|
||||
/testpar/ @jhendersonHDF @ChristopherHogan @gnuoyd @jrmainzer @qkoziol
|
||||
|
||||
/tools/ @byrnHDF @bmribler @ChristopherHogan @gnuoyd @derobins
|
||||
|
||||
/utils/ @lrknox @byrnHDF @ChristopherHogan @gnuoyd @derobins
|
||||
/fortran/ @brtnfld @derobins
|
||||
/java/ @jhendersonHDF @byrnHDF @derobins
|
||||
|
||||
2
.github/workflows/clang-format-check.yml
vendored
2
.github/workflows/clang-format-check.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C and Java programs.
|
||||
uses: DoozyX/clang-format-lint-action@v0.13
|
||||
with:
|
||||
|
||||
2
.github/workflows/clang-format-fix.yml
vendored
2
.github/workflows/clang-format-fix.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C and Java programs.
|
||||
uses: DoozyX/clang-format-lint-action@v0.13
|
||||
with:
|
||||
|
||||
4
.github/workflows/codespell.yml
vendored
4
.github/workflows/codespell.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
||||
name: Check for spelling errors
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c
|
||||
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./tools/test/h5repack/testfiles/*.dat
|
||||
ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce
|
||||
|
||||
596
.github/workflows/main.yml
vendored
596
.github/workflows/main.yml
vendored
@@ -4,279 +4,493 @@ name: hdf5 dev CI
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ develop, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
|
||||
pull_request:
|
||||
branches: [ develop, hdf5_1_14, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
|
||||
paths-ignore:
|
||||
- '.github/CODEOWNERS'
|
||||
- '.github/FUNDING.yml'
|
||||
- 'doc/**'
|
||||
- 'release_docs/**'
|
||||
- 'ACKNOWLEDGEMENTS'
|
||||
- 'COPYING**'
|
||||
- '**.md'
|
||||
- '.github/CODEOWNERS'
|
||||
- '.github/FUNDING.yml'
|
||||
- 'doc/**'
|
||||
- 'release_docs/**'
|
||||
- 'ACKNOWLEDGEMENTS'
|
||||
- 'COPYING**'
|
||||
- '**.md'
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or
|
||||
# in parallel. We just have one job, but the matrix items defined below will
|
||||
# run in parallel.
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
|
||||
# A workflow that builds the library and runs all the tests
|
||||
build_and_test:
|
||||
|
||||
strategy:
|
||||
# fail-fast: false
|
||||
|
||||
# The current matrix has three dimensions:
|
||||
#
|
||||
# * config name
|
||||
# * thread-safety on/off
|
||||
# * release vs. debug build
|
||||
#
|
||||
# Most configuration information is added via the 'include' mechanism,
|
||||
# which will append the key-value pairs in the configuration where the
|
||||
# names match.
|
||||
|
||||
matrix:
|
||||
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC", "Ubuntu Debug Autotools GCC", "-Werror Ubuntu Debug Autotools GCC", "Windows TS MSVC", "Ubuntu TS GCC", "TS Debug GCC", "macOS TS Clang", "TS Autotools GCC"]
|
||||
|
||||
name:
|
||||
- "Windows MSVC CMake"
|
||||
- "Ubuntu gcc CMake"
|
||||
- "Ubuntu gcc Autotools"
|
||||
- "Ubuntu gcc Autotools parallel (build only)"
|
||||
- "MacOS Clang CMake"
|
||||
|
||||
thread_safety:
|
||||
- enabled: true
|
||||
text: " TS"
|
||||
- enabled: false
|
||||
text: ""
|
||||
|
||||
build_mode:
|
||||
- text: " REL"
|
||||
cmake: "Release"
|
||||
autotools: "production"
|
||||
- text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
# This is where we list the bulk of the options for each configuration.
|
||||
# The key-value pair values are usually appropriate for being CMake or
|
||||
# Autotools configure values, so be aware of that.
|
||||
|
||||
include:
|
||||
- name: "Windows Latest MSVC"
|
||||
artifact: "Windows-MSVC.tar.xz"
|
||||
|
||||
# Windows w/ MSVC + CMake
|
||||
#
|
||||
# No Fortran, parallel, or VFDs that rely on POSIX things
|
||||
- name: "Windows MSVC CMake"
|
||||
os: windows-2022
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: OFF
|
||||
direct_vfd: OFF
|
||||
generator: "-G \"Visual Studio 17 2022\" -A x64"
|
||||
flags: ""
|
||||
- name: "Ubuntu Latest GCC"
|
||||
artifact: "Linux.tar.xz"
|
||||
run_tests: true
|
||||
|
||||
# Linux (Ubuntu) w/ gcc + CMake
|
||||
#
|
||||
# We might think about adding Clang, but MacOS already tests that
|
||||
# so it's not critical
|
||||
- name: "Ubuntu gcc CMake"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: ON
|
||||
fortran: ON
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
run_tests: true
|
||||
|
||||
# Linux (Ubuntu) w/ gcc + Autotools
|
||||
#
|
||||
# Keep this identical to the CMake configs. Note the difference in
|
||||
# the values.
|
||||
- name: "Ubuntu gcc Autotools"
|
||||
os: ubuntu-latest
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v114
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
- name: "macOS Latest Clang"
|
||||
artifact: "macOS.tar.xz"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
run_tests: true
|
||||
|
||||
# Parallel Linux (Ubuntu) w/ gcc + Autotools
|
||||
#
|
||||
# The GitHub runners are inadequate for running parallel HDF5 tests,
|
||||
# so we catch most issues in daily testing. What we have here is just
|
||||
# a compile check to make sure nothing obvious is broken.
|
||||
- name: "Ubuntu gcc Autotools parallel (build only)"
|
||||
os: ubuntu-latest
|
||||
cpp: disable
|
||||
fortran: enable
|
||||
java: disable
|
||||
parallel: enable
|
||||
mirror_vfd: disable
|
||||
direct_vfd: disable
|
||||
deprec_sym: enable
|
||||
default_api: v114
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: "CC=mpicc"
|
||||
run_tests: false
|
||||
|
||||
# MacOS w/ Clang + CMake
|
||||
#
|
||||
# We could also build with the Autotools via brew installing them,
|
||||
# but that seems unnecessary
|
||||
- name: "MacOS Clang CMake"
|
||||
os: macos-11
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "Ubuntu Debug GCC"
|
||||
artifact: "LinuxDBG.tar.xz"
|
||||
run_tests: true
|
||||
|
||||
|
||||
#
|
||||
# SPECIAL AUTOTOOLS BUILDS
|
||||
#
|
||||
# These do not run tests and are not built into the matrix and instead
|
||||
# become NEW configs as their name would clobber one of the matrix
|
||||
# names (so make sure the names are UNIQUE).
|
||||
#
|
||||
|
||||
- name: "Ubuntu gcc Autotools v1.6 default API (build only)"
|
||||
os: ubuntu-latest
|
||||
build_type: "Debug"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "Ubuntu Autotools GCC"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "production"
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v16
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
- name: "Ubuntu Debug Autotools GCC"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools v1.8 default API (build only)"
|
||||
os: ubuntu-latest
|
||||
build_type: "debug"
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v18
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
# Build that ensures no new warnings sneak into the library.
|
||||
- name: "-Werror Ubuntu Debug Autotools GCC"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools v1.10 default API (build only)"
|
||||
os: ubuntu-latest
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v110
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools v1.12 default API (build only)"
|
||||
os: ubuntu-latest
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v112
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools v1.14 default API (build only)"
|
||||
os: ubuntu-latest
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v114
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools no deprecated symbols (build only)"
|
||||
os: ubuntu-latest
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
deprec_sym: disable
|
||||
default_api: default
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools -Werror (build only)"
|
||||
os: ubuntu-latest
|
||||
build_type: "debug"
|
||||
cpp: enable
|
||||
fortran: disable
|
||||
java: disable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: disable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v114
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: "CFLAGS=-Werror"
|
||||
# Threadsafe runs
|
||||
- name: "Windows TS MSVC"
|
||||
artifact: "Windows-MSVCTS.tar.xz"
|
||||
os: windows-2019
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: OFF
|
||||
direct_vfd: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
flags: ""
|
||||
- name: "Ubuntu TS GCC"
|
||||
artifact: "LinuxTS.tar.xz"
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " DBG"
|
||||
cmake: "Debug"
|
||||
autotools: "debug"
|
||||
|
||||
- name: "Ubuntu gcc Autotools -Werror (build only)"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "macOS TS Clang"
|
||||
artifact: "macOSTS.tar.xz"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "TS Debug GCC"
|
||||
artifact: "LinuxTSDBG.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Debug"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "TS Autotools GCC"
|
||||
artifact: "LinuxATS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "production"
|
||||
cpp: disable
|
||||
cpp: enable
|
||||
fortran: disable
|
||||
java: disable
|
||||
ts: enable
|
||||
hl: disable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
mirror_vfd: disable
|
||||
direct_vfd: enable
|
||||
deprec_sym: enable
|
||||
default_api: v114
|
||||
szip: yes
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
flags: "CFLAGS=-Werror"
|
||||
run_tests: false
|
||||
thread_safety:
|
||||
enabled: false
|
||||
text: ""
|
||||
build_mode:
|
||||
text: " REL"
|
||||
cmake: "Release"
|
||||
autotools: "production"
|
||||
|
||||
# Sets the job's name from the properties
|
||||
name: "${{ matrix.name }}${{ matrix.build_mode.text }}${{ matrix.thread_safety.text }}"
|
||||
|
||||
# Don't run the action if the commit message says to skip CI
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
|
||||
name: ${{ matrix.name }}
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Install Dependencies (Linux)
|
||||
run: sudo apt-get install ninja-build
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
- name: Install Autotools Dependencies (Linux)
|
||||
run: |
|
||||
|
||||
#
|
||||
# SETUP
|
||||
#
|
||||
|
||||
#Useful for debugging
|
||||
- name: Dump matrix context
|
||||
run: echo '${{ toJSON(matrix) }}'
|
||||
|
||||
- name: Install CMake Dependencies (Linux)
|
||||
run: sudo apt-get install ninja-build
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
|
||||
- name: Install Autotools Dependencies (Linux, serial)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install automake autoconf libtool libtool-bin
|
||||
sudo apt install gcc-11 g++-11 gfortran-11
|
||||
sudo apt install openmpi-bin openmpi-common
|
||||
if: matrix.generator == 'autogen'
|
||||
- name: Install Dependencies (Windows)
|
||||
run: choco install ninja
|
||||
if: matrix.os == 'windows-latest'
|
||||
- name: Install Dependencies (macOS)
|
||||
run: brew install ninja
|
||||
if: matrix.os == 'macos-latest'
|
||||
- name: Set environment for MSVC (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
# Set these env vars so cmake picks the correct compiler
|
||||
echo "CXX=cl.exe" >> $GITHUB_ENV
|
||||
echo "CC=cl.exe" >> $GITHUB_ENV
|
||||
echo "CC=gcc-11" >> $GITHUB_ENV
|
||||
echo "CXX=g++-11" >> $GITHUB_ENV
|
||||
echo "FC=gfortran-11" >> $GITHUB_ENV
|
||||
sudo apt install libaec0 libaec-dev
|
||||
if: (matrix.generator == 'autogen') && (matrix.parallel != 'enable')
|
||||
|
||||
- name: Install Autotools Dependencies (Linux, parallel)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install automake autoconf libtool libtool-bin
|
||||
sudo apt install openmpi-bin openmpi-common mpi-default-dev
|
||||
echo "CC=mpicc" >> $GITHUB_ENV
|
||||
echo "FC=mpif90" >> $GITHUB_ENV
|
||||
sudo apt install libaec0 libaec-dev
|
||||
if: (matrix.generator == 'autogen') && (matrix.parallel == 'enable')
|
||||
|
||||
- name: Install Dependencies (Windows)
|
||||
run: choco install ninja
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
- name: Install Dependencies (macOS)
|
||||
run: brew install ninja
|
||||
if: matrix.os == 'macos-11'
|
||||
|
||||
- name: Set environment for MSVC (Windows)
|
||||
run: |
|
||||
# Set these environment variables so CMake picks the correct compiler
|
||||
echo "CXX=cl.exe" >> $GITHUB_ENV
|
||||
echo "CC=cl.exe" >> $GITHUB_ENV
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- name: Get Sources
|
||||
uses: actions/checkout@v2
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- name: Get Sources
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Autotools Configure
|
||||
if: matrix.generator == 'autogen'
|
||||
run: |
|
||||
sh ./autogen.sh
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd
|
||||
shell: bash
|
||||
env:
|
||||
CC: gcc-11
|
||||
CXX: g++-11
|
||||
FC: gfortran-11
|
||||
#
|
||||
# AUTOTOOLS CONFIGURE
|
||||
#
|
||||
|
||||
- name: Configure
|
||||
if: matrix.generator != 'autogen'
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DHDF5_ENABLE_MIRROR_VFD:BOOL={{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
|
||||
shell: bash
|
||||
- name: Autotools Configure
|
||||
run: |
|
||||
sh ./autogen.sh
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_mode.autotools }} --${{ matrix.deprec_sym }}-deprecated-symbols --with-default-api-version=${{ matrix.default_api }} --enable-shared --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd --with-szlib=${{ matrix.szip }}
|
||||
shell: bash
|
||||
if: (matrix.generator == 'autogen') && (! matrix.thread_safe.enabled)
|
||||
|
||||
- name: Autotools Build
|
||||
if: matrix.generator == 'autogen'
|
||||
run: make
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
- name: Autotools Configure (Thread-Safe)
|
||||
run: |
|
||||
sh ./autogen.sh
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_mode.autotools }} --enable-shared --enable-threadsafe --disable-hl --${{ matrix.parallel }}-parallel --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd --with-szlib=${{ matrix.szip }}
|
||||
shell: bash
|
||||
if: (matrix.generator == 'autogen') && (matrix.thread_safe.enabled)
|
||||
|
||||
- name: Build
|
||||
if: matrix.generator != 'autogen'
|
||||
run: cmake --build . --config ${{ matrix.build_type }}
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
#
|
||||
# CMAKE CONFIGURE
|
||||
#
|
||||
|
||||
- name: Autotools Test
|
||||
if: matrix.generator == 'autogen'
|
||||
run: make check
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
- name: CMake Configure
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_mode.cmake }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DHDF5_ENABLE_MIRROR_VFD:BOOL=${{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
|
||||
shell: bash
|
||||
if: (matrix.generator != 'autogen') && (! matrix.thread_safe.enabled)
|
||||
|
||||
- name: Test
|
||||
if: matrix.generator != 'autogen'
|
||||
run: ctest --build . -C ${{ matrix.build_type }} -V
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
|
||||
- name: CMake Configure (Thread-Safe)
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_mode.cmake }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_ENABLE_MIRROR_VFD:BOOL=${{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
|
||||
shell: bash
|
||||
if: (matrix.generator != 'autogen') && (matrix.thread_safe.enabled)
|
||||
|
||||
#
|
||||
# BUILD
|
||||
#
|
||||
|
||||
- name: Autotools Build
|
||||
run: make
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
if: matrix.generator == 'autogen'
|
||||
|
||||
- name: CMake Build
|
||||
run: cmake --build . --config ${{ matrix.build_mode.cmake }}
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
if: matrix.generator != 'autogen'
|
||||
|
||||
#
|
||||
# RUN TESTS
|
||||
#
|
||||
|
||||
- name: Autotools Run Tests
|
||||
run: make check
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
if: (matrix.generator == 'autogen') && (matrix.run_tests)
|
||||
|
||||
- name: CMake Run Tests
|
||||
run: ctest --build . -C ${{ matrix.build_mode.cmake }} -V
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
# Skip Debug MSVC while we investigate H5L Java test timeouts
|
||||
if: (matrix.generator != 'autogen') && (matrix.run_tests) && ! ((matrix.name == 'Windows MSVC CMake') && (matrix.build_mode.cmake == 'Debug'))
|
||||
|
||||
#
|
||||
# INSTALL (note that this runs even when we don't run the tests)
|
||||
#
|
||||
|
||||
- name: Autotools Install
|
||||
run: make install
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
if: (matrix.generator == 'autogen')
|
||||
|
||||
- name: Autotools Verify Install
|
||||
run: make check-install
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
if: (matrix.generator == 'autogen')
|
||||
|
||||
281
.github/workflows/pr-check.yml
vendored
281
.github/workflows/pr-check.yml
vendored
@@ -1,281 +0,0 @@
|
||||
name: PR hdf5 dev CI
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ develop, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
|
||||
paths-ignore:
|
||||
- '.github/CODEOWNERS'
|
||||
- '.github/FUNDING.yml'
|
||||
- 'doc/**'
|
||||
- 'release_docs/**'
|
||||
- 'ACKNOWLEDGEMENTS'
|
||||
- 'COPYING**'
|
||||
- '**.md'
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
strategy:
|
||||
# fail-fast: false
|
||||
matrix:
|
||||
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC", "Ubuntu Debug Autotools GCC", "-Werror Ubuntu Debug Autotools GCC", "Windows TS MSVC", "Ubuntu TS GCC", "TS Debug GCC", "macOS TS Clang", "TS Autotools GCC"]
|
||||
include:
|
||||
- name: "Windows Latest MSVC"
|
||||
artifact: "Windows-MSVC.tar.xz"
|
||||
os: windows-2022
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: OFF
|
||||
direct_vfd: OFF
|
||||
generator: "-G \"Visual Studio 17 2022\" -A x64"
|
||||
flags: ""
|
||||
- name: "Ubuntu Latest GCC"
|
||||
artifact: "Linux.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: ON
|
||||
fortran: ON
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "macOS Latest Clang"
|
||||
artifact: "macOS.tar.xz"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: ON
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "Ubuntu Debug GCC"
|
||||
artifact: "LinuxDBG.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Debug"
|
||||
cpp: ON
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: OFF
|
||||
hl: ON
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "Ubuntu Autotools GCC"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "production"
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
- name: "Ubuntu Debug Autotools GCC"
|
||||
artifact: "LinuxA.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "debug"
|
||||
cpp: enable
|
||||
fortran: enable
|
||||
java: enable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
# Build that ensures no new warnings sneak into the library.
|
||||
- name: "-Werror Ubuntu Debug Autotools GCC"
|
||||
artifact: "LinuxDBG.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "debug"
|
||||
cpp: enable
|
||||
fortran: disable
|
||||
java: disable
|
||||
ts: disable
|
||||
hl: enable
|
||||
parallel: disable
|
||||
mirror_vfd: disable
|
||||
direct_vfd: enable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: "CFLAGS=-Werror"
|
||||
# Threadsafe runs
|
||||
- name: "Windows TS MSVC"
|
||||
artifact: "Windows-MSVCTS.tar.xz"
|
||||
os: windows-2019
|
||||
build_type: "Release"
|
||||
toolchain: ""
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: OFF
|
||||
direct_vfd: OFF
|
||||
generator: "-G \"Visual Studio 16 2019\" -A x64"
|
||||
flags: ""
|
||||
- name: "Ubuntu TS GCC"
|
||||
artifact: "LinuxTS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "macOS TS Clang"
|
||||
artifact: "macOSTS.tar.xz"
|
||||
os: macos-latest
|
||||
build_type: "Release"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: OFF
|
||||
toolchain: "config/toolchain/clang.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "TS Debug GCC"
|
||||
artifact: "LinuxTSDBG.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "Debug"
|
||||
cpp: OFF
|
||||
fortran: OFF
|
||||
java: OFF
|
||||
ts: ON
|
||||
hl: OFF
|
||||
parallel: OFF
|
||||
mirror_vfd: ON
|
||||
direct_vfd: ON
|
||||
toolchain: "config/toolchain/GCC.cmake"
|
||||
generator: "-G Ninja"
|
||||
flags: ""
|
||||
- name: "TS Autotools GCC"
|
||||
artifact: "LinuxATS.tar.xz"
|
||||
os: ubuntu-latest
|
||||
build_type: "production"
|
||||
cpp: disable
|
||||
fortran: disable
|
||||
java: disable
|
||||
ts: enable
|
||||
hl: disable
|
||||
parallel: disable
|
||||
mirror_vfd: enable
|
||||
direct_vfd: enable
|
||||
toolchain: ""
|
||||
generator: "autogen"
|
||||
flags: ""
|
||||
|
||||
name: ${{ matrix.name }}
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Install Dependencies (Linux)
|
||||
run: sudo apt-get install ninja-build
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
- name: Install Autotools Dependencies (Linux)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install automake autoconf libtool libtool-bin
|
||||
sudo apt install gcc-11 g++-11 gfortran-11
|
||||
sudo apt install openmpi-bin openmpi-common
|
||||
if: matrix.generator == 'autogen'
|
||||
- name: Install Dependencies (Windows)
|
||||
run: choco install ninja
|
||||
if: matrix.os == 'windows-latest'
|
||||
- name: Install Dependencies (macOS)
|
||||
run: brew install ninja
|
||||
if: matrix.os == 'macos-latest'
|
||||
- name: Set environment for MSVC (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
# Set these env vars so cmake picks the correct compiler
|
||||
echo "CXX=cl.exe" >> $GITHUB_ENV
|
||||
echo "CC=cl.exe" >> $GITHUB_ENV
|
||||
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- name: Get Sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Autotools Configure
|
||||
if: matrix.generator == 'autogen'
|
||||
run: |
|
||||
sh ./autogen.sh
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
${{ matrix.flags }} $GITHUB_WORKSPACE/configure --enable-build-mode=${{ matrix.build_type }} --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java --${{ matrix.mirror_vfd }}-mirror-vfd --${{ matrix.direct_vfd }}-direct-vfd
|
||||
shell: bash
|
||||
env:
|
||||
CC: gcc-11
|
||||
CXX: g++-11
|
||||
FC: gfortran-11
|
||||
|
||||
- name: Configure
|
||||
if: matrix.generator != 'autogen'
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DHDF5_ENABLE_MIRROR_VFD:BOOL={{ matrix.mirror_vfd }} -DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} $GITHUB_WORKSPACE
|
||||
shell: bash
|
||||
|
||||
- name: Autotools Build
|
||||
if: matrix.generator == 'autogen'
|
||||
run: make
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
|
||||
- name: Build
|
||||
if: matrix.generator != 'autogen'
|
||||
run: cmake --build . --config ${{ matrix.build_type }}
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
|
||||
- name: Autotools Test
|
||||
if: matrix.generator == 'autogen'
|
||||
run: make check
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
|
||||
- name: Test
|
||||
if: matrix.generator != 'autogen'
|
||||
run: ctest --build . -C ${{ matrix.build_type }} -V
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
@@ -1,5 +1,4 @@
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -33,9 +33,7 @@ if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MAT
|
||||
set (ZLIB_URL ${TGZPATH}/${ZLIB_TGZ_NAME})
|
||||
if (NOT EXISTS "${ZLIB_URL}")
|
||||
set (HDF5_ENABLE_Z_LIB_SUPPORT OFF CACHE BOOL "" FORCE)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter ZLIB file ${ZLIB_URL} not found")
|
||||
endif ()
|
||||
message (VERBOSE "Filter ZLIB file ${ZLIB_URL} not found")
|
||||
endif ()
|
||||
set (SZIP_URL ${TGZPATH}/${SZIP_TGZ_NAME})
|
||||
if (USE_LIBAEC)
|
||||
@@ -43,9 +41,7 @@ if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MAT
|
||||
endif ()
|
||||
if (NOT EXISTS "${SZIP_URL}")
|
||||
set (HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "" FORCE)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter SZIP file ${SZIP_URL} not found")
|
||||
endif ()
|
||||
message (VERBOSE "Filter SZIP file ${SZIP_URL} not found")
|
||||
endif ()
|
||||
else ()
|
||||
set (ZLIB_USE_EXTERNAL 0)
|
||||
@@ -81,9 +77,7 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
|
||||
set (H5_HAVE_FILTER_DEFLATE 1)
|
||||
set (H5_HAVE_ZLIB_H 1)
|
||||
set (H5_HAVE_LIBZ 1)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter HDF5_ZLIB is built")
|
||||
endif ()
|
||||
message (VERBOSE "Filter HDF5_ZLIB is built")
|
||||
else ()
|
||||
message (FATAL_ERROR " ZLib is Required for ZLib support in HDF5")
|
||||
endif ()
|
||||
@@ -99,9 +93,7 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
|
||||
endif ()
|
||||
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_STATIC_LIBRARY})
|
||||
INCLUDE_DIRECTORIES (${ZLIB_INCLUDE_DIRS})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter HDF5_ZLIB is ON")
|
||||
endif ()
|
||||
message (VERBOSE "Filter HDF5_ZLIB is ON")
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -142,13 +134,9 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
|
||||
set (H5_HAVE_FILTER_SZIP 1)
|
||||
set (H5_HAVE_SZLIB_H 1)
|
||||
set (H5_HAVE_LIBSZ 1)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter SZIP is built")
|
||||
endif ()
|
||||
message (VERBOSE "Filter SZIP is built")
|
||||
if (USE_LIBAEC)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "... with library AEC")
|
||||
endif ()
|
||||
message (VERBOSE "... with library AEC")
|
||||
set (SZIP_PACKAGE_NAME ${LIBAEC_PACKAGE_NAME})
|
||||
else ()
|
||||
set (SZIP_PACKAGE_NAME ${SZIP_PACKAGE_NAME})
|
||||
@@ -159,9 +147,7 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
|
||||
endif ()
|
||||
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${SZIP_STATIC_LIBRARY})
|
||||
INCLUDE_DIRECTORIES (${SZIP_INCLUDE_DIRS})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Filter SZIP is ON")
|
||||
endif ()
|
||||
message (VERBOSE "Filter SZIP is ON")
|
||||
if (H5_HAVE_FILTER_SZIP)
|
||||
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DECODE")
|
||||
endif ()
|
||||
|
||||
@@ -242,7 +242,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
|
||||
endif ()
|
||||
install (
|
||||
FILES ${release_files}
|
||||
DESTINATION ${HDF5_INSTALL_DATA_DIR}
|
||||
DESTINATION ${HDF5_INSTALL_DOC_DIR}
|
||||
COMPONENT hdfdocuments
|
||||
)
|
||||
endif ()
|
||||
@@ -273,7 +273,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
||||
else ()
|
||||
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}/${CPACK_PACKAGE_NAME}/${CPACK_PACKAGE_VERSION}")
|
||||
endif ()
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.bmp")
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_DIR}/hdf.bmp")
|
||||
|
||||
set (CPACK_GENERATOR "TGZ")
|
||||
if (WIN32)
|
||||
@@ -296,10 +296,10 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
||||
endif ()
|
||||
# set the install/unistall icon used for the installer itself
|
||||
# There is a bug in NSI that does not handle full unix paths properly.
|
||||
set (CPACK_NSIS_MUI_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
|
||||
set (CPACK_NSIS_MUI_UNIICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
|
||||
set (CPACK_NSIS_MUI_ICON "${HDF_RESOURCES_DIR}\\\\hdf.ico")
|
||||
set (CPACK_NSIS_MUI_UNIICON "${HDF_RESOURCES_DIR}\\\\hdf.ico")
|
||||
# set the package header icon for MUI
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.bmp")
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_DIR}\\\\hdf.bmp")
|
||||
set (CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_PACKAGE_NAME}")
|
||||
if (OVERRIDE_INSTALL_VERSION)
|
||||
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}\\\\${CPACK_PACKAGE_NAME}\\\\${OVERRIDE_INSTALL_VERSION}")
|
||||
@@ -329,7 +329,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
||||
set (CPACK_RESOURCE_FILE_LICENSE "${HDF5_BINARY_DIR}/COPYING.txt")
|
||||
# .. variable:: CPACK_WIX_PRODUCT_ICON
|
||||
# The Icon shown next to the program name in Add/Remove programs.
|
||||
set(CPACK_WIX_PRODUCT_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
|
||||
set(CPACK_WIX_PRODUCT_ICON "${HDF_RESOURCES_DIR}\\\\hdf.ico")
|
||||
#
|
||||
# .. variable:: CPACK_WIX_UI_BANNER
|
||||
#
|
||||
@@ -360,14 +360,14 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
||||
list (APPEND CPACK_GENERATOR "DragNDrop")
|
||||
set (CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE ON)
|
||||
set (CPACK_PACKAGING_INSTALL_PREFIX "/${CPACK_PACKAGE_INSTALL_DIRECTORY}")
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.icns")
|
||||
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_DIR}/hdf.icns")
|
||||
|
||||
option (HDF5_PACK_MACOSX_FRAMEWORK "Package the HDF5 Library in a Frameworks" OFF)
|
||||
if (HDF5_PACK_MACOSX_FRAMEWORK AND HDF5_BUILD_FRAMEWORKS)
|
||||
set (CPACK_BUNDLE_NAME "${HDF5_PACKAGE_STRING}")
|
||||
set (CPACK_BUNDLE_LOCATION "/") # make sure CMAKE_INSTALL_PREFIX ends in /
|
||||
set (CMAKE_INSTALL_PREFIX "/${CPACK_BUNDLE_NAME}.framework/Versions/${CPACK_PACKAGE_VERSION}/${CPACK_PACKAGE_NAME}/")
|
||||
set (CPACK_BUNDLE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.icns")
|
||||
set (CPACK_BUNDLE_ICON "${HDF_RESOURCES_DIR}/hdf.icns")
|
||||
set (CPACK_BUNDLE_PLIST "${HDF5_BINARY_DIR}/CMakeFiles/Info.plist")
|
||||
set (CPACK_SHORT_VERSION_STRING "${CPACK_PACKAGE_VERSION}")
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -382,7 +382,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
||||
${HDF5_BINARY_DIR}/CMakeFiles/PkgInfo @ONLY
|
||||
)
|
||||
configure_file (
|
||||
${HDF_RESOURCES_EXT_DIR}/version.plist.in
|
||||
${HDF_RESOURCES_DIR}/version.plist.in
|
||||
${HDF5_BINARY_DIR}/CMakeFiles/version.plist @ONLY
|
||||
)
|
||||
install (
|
||||
|
||||
134
CMakeLists.txt
134
CMakeLists.txt
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.12)
|
||||
cmake_minimum_required (VERSION 3.18)
|
||||
project (HDF5 C)
|
||||
|
||||
if (POLICY CMP0074)
|
||||
@@ -12,6 +12,11 @@ if (POLICY CMP0083)
|
||||
cmake_policy (SET CMP0083 NEW)
|
||||
endif ()
|
||||
|
||||
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Instructions for use : Normal Build
|
||||
#
|
||||
@@ -39,16 +44,6 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
|
||||
)
|
||||
endif ()
|
||||
|
||||
# CMake version 3.14 added option --ignore-eol to compare files
|
||||
# cmake -E compare_files --ignore-eol file1 file2
|
||||
set (CMAKE_IGNORE_EOL "--ignore-eol")
|
||||
if (CMAKE_VERSION VERSION_LESS "3.14.0")
|
||||
set (CMAKE_IGNORE_EOL "")
|
||||
if (WIN32)
|
||||
message (FATAL_ERROR "Windows builds require a minimum of CMake 3.14")
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Instructions for use : Sub-Project Build
|
||||
#
|
||||
@@ -215,7 +210,6 @@ set (HDF5_HL_F90_C_LIBSH_TARGET "${HDF5_HL_F90_C_LIB_CORENAME}-shared")
|
||||
#-----------------------------------------------------------------------------
|
||||
set (HDF_CONFIG_DIR ${HDF5_SOURCE_DIR}/config)
|
||||
set (HDF_RESOURCES_DIR ${HDF5_SOURCE_DIR}/config/cmake)
|
||||
set (HDF_RESOURCES_EXT_DIR ${HDF5_SOURCE_DIR}/config/cmake_ext_mod)
|
||||
set (HDF5_SRC_DIR ${HDF5_SOURCE_DIR}/src)
|
||||
set (HDF5_TEST_SRC_DIR ${HDF5_SOURCE_DIR}/test)
|
||||
set (HDF5_CPP_SRC_DIR ${HDF5_SOURCE_DIR}/c++)
|
||||
@@ -251,9 +245,7 @@ string (REGEX REPLACE ".*#define[ \t]+H5_VERS_RELEASE[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_VERS_RELEASE ${_h5public_h_contents})
|
||||
string (REGEX REPLACE ".*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._-]*)\".*$"
|
||||
"\\1" H5_VERS_SUBRELEASE ${_h5public_h_contents})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (TRACE "VERSION: ${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}-${H5_VERS_SUBRELEASE}")
|
||||
endif ()
|
||||
message (TRACE "VERSION: ${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}-${H5_VERS_SUBRELEASE}")
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# parse the full soversion number from config/lt_vers.am and include in H5_SOVERS_INFO
|
||||
@@ -266,9 +258,7 @@ string (REGEX REPLACE ".*LT_VERS_REVISION[ \t]+=[ \t]+([0-9]*).*$"
|
||||
string (REGEX REPLACE ".*LT_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_LIB_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_LIB_SOVERS_MAJOR ${H5_LIB_SOVERS_INTERFACE}-${H5_LIB_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION: ${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION: ${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
|
||||
string (REGEX MATCH ".*LT_TOOLS_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_TOOLS_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_TOOLS_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_TOOLS_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
@@ -278,9 +268,7 @@ if (H5_TOOLS_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_TOOLS_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_TOOLS_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_TOOLS_SOVERS_MAJOR ${H5_TOOLS_SOVERS_INTERFACE}-${H5_TOOLS_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_TOOLS: ${H5_TOOLS_SOVERS_MAJOR}.${H5_TOOLS_SOVERS_RELEASE}.${H5_TOOLS_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_TOOLS: ${H5_TOOLS_SOVERS_MAJOR}.${H5_TOOLS_SOVERS_RELEASE}.${H5_TOOLS_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_CXX_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_CXX_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_CXX_SOVERS_EXISTS)
|
||||
@@ -291,9 +279,7 @@ if (H5_CXX_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_CXX_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_CXX_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_CXX_SOVERS_MAJOR ${H5_CXX_SOVERS_INTERFACE}-${H5_CXX_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_CXX: ${H5_CXX_SOVERS_MAJOR}.${H5_CXX_SOVERS_RELEASE}.${H5_CXX_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_CXX: ${H5_CXX_SOVERS_MAJOR}.${H5_CXX_SOVERS_RELEASE}.${H5_CXX_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_F_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_F_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_F_SOVERS_EXISTS)
|
||||
@@ -304,9 +290,7 @@ if (H5_F_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_F_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_F_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_F_SOVERS_MAJOR ${H5_F_SOVERS_INTERFACE}-${H5_F_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_F: ${H5_F_SOVERS_MAJOR}.${H5_F_SOVERS_RELEASE}.${H5_F_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_F: ${H5_F_SOVERS_MAJOR}.${H5_F_SOVERS_RELEASE}.${H5_F_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_HL_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_HL_SOVERS_EXISTS)
|
||||
@@ -317,9 +301,7 @@ if (H5_HL_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_HL_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_HL_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_HL_SOVERS_MAJOR ${H5_HL_SOVERS_INTERFACE}-${H5_HL_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_HL: ${H5_HL_SOVERS_MAJOR}.${H5_HL_SOVERS_RELEASE}.${H5_HL_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_HL: ${H5_HL_SOVERS_MAJOR}.${H5_HL_SOVERS_RELEASE}.${H5_HL_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_HL_CXX_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_CXX_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_HL_CXX_SOVERS_EXISTS)
|
||||
@@ -330,9 +312,7 @@ if (H5_HL_CXX_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_HL_CXX_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_HL_CXX_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_HL_CXX_SOVERS_MAJOR ${H5_HL_CXX_SOVERS_INTERFACE}-${H5_HL_CXX_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_HL_CXX: ${H5_HL_CXX_SOVERS_MAJOR}.${H5_HL_CXX_SOVERS_RELEASE}.${H5_HL_CXX_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_HL_CXX: ${H5_HL_CXX_SOVERS_MAJOR}.${H5_HL_CXX_SOVERS_RELEASE}.${H5_HL_CXX_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_HL_F_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_F_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if (H5_HL_F_SOVERS_EXISTS)
|
||||
@@ -343,9 +323,7 @@ if (H5_HL_F_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_HL_F_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_HL_F_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_HL_F_SOVERS_MAJOR ${H5_HL_F_SOVERS_INTERFACE}-${H5_HL_F_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_HL_F: ${H5_HL_F_SOVERS_MAJOR}.${H5_HL_F_SOVERS_RELEASE}.${H5_HL_F_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_HL_F: ${H5_HL_F_SOVERS_MAJOR}.${H5_HL_F_SOVERS_RELEASE}.${H5_HL_F_SOVERS_MINOR}")
|
||||
endif ()
|
||||
string (REGEX MATCH ".*LT_JAVA_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_JAVA_SOVERS_EXISTS ${_lt_vers_am_contents})
|
||||
if(H5_JAVA_SOVERS_EXISTS)
|
||||
@@ -356,9 +334,7 @@ if(H5_JAVA_SOVERS_EXISTS)
|
||||
string (REGEX REPLACE ".*LT_JAVA_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
|
||||
"\\1" H5_JAVA_SOVERS_RELEASE ${_lt_vers_am_contents})
|
||||
math (EXPR H5_JAVA_SOVERS_MAJOR ${H5_JAVA_SOVERS_INTERFACE}-${H5_JAVA_SOVERS_RELEASE})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "SOVERSION_JAVA: ${H5_JAVA_SOVERS_MAJOR}.${H5_JAVA_SOVERS_RELEASE}.${H5_JAVA_SOVERS_MINOR}")
|
||||
endif ()
|
||||
message (VERBOSE "SOVERSION_JAVA: ${H5_JAVA_SOVERS_MAJOR}.${H5_JAVA_SOVERS_RELEASE}.${H5_JAVA_SOVERS_MINOR}")
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -435,11 +411,11 @@ set (HDF5_PACKAGE_BUGREPORT "help@hdfgroup.org")
|
||||
#-----------------------------------------------------------------------------
|
||||
# Include some macros for reusable code
|
||||
#-----------------------------------------------------------------------------
|
||||
include (${HDF_RESOURCES_EXT_DIR}/HDFMacros.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDFMacros.cmake)
|
||||
|
||||
HDF_DIR_PATHS(${HDF5_PACKAGE_NAME})
|
||||
|
||||
include (${HDF_RESOURCES_EXT_DIR}/HDFLibMacros.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDFLibMacros.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDF5PluginMacros.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDF5Macros.cmake)
|
||||
|
||||
@@ -567,15 +543,6 @@ if (HDF5_ENABLE_COVERAGE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to indicate using dmalloc
|
||||
#-----------------------------------------------------------------------------
|
||||
# option (HDF5_ENABLE_USING_DMALLOC "Indicate that dmalloc is used" OFF)
|
||||
# if (HDF5_ENABLE_USING_DMALLOC)
|
||||
# find_package (DMALLOC)
|
||||
# set (H5_HAVE_DMALLOC DMALLOC_FOUND)
|
||||
# endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to indicate using a memory checker
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -584,14 +551,6 @@ if (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
set (H5_USING_MEMCHECKER 1)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to indicate internal memory allocation sanity checks are enabled
|
||||
#-----------------------------------------------------------------------------
|
||||
option (HDF5_MEMORY_ALLOC_SANITY_CHECK "Indicate that internal memory allocation sanity checks are enabled" OFF)
|
||||
if (HDF5_MEMORY_ALLOC_SANITY_CHECK)
|
||||
set (H5_MEMORY_ALLOC_SANITY_CHECK 1)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to enable/disable using pread/pwrite for VFDs
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -659,6 +618,13 @@ if (${HDF_CFG_NAME} MATCHES "Debug")
|
||||
mark_as_advanced (HDF5_ENABLE_INSTRUMENT)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Add some definitions for Developer Builds
|
||||
#-----------------------------------------------------------------------------
|
||||
if (${HDF_CFG_NAME} MATCHES "Developer")
|
||||
include (${HDF_RESOURCES_DIR}/HDF5DeveloperBuild.cmake)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to embed library info into executables
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -672,7 +638,7 @@ else ()
|
||||
endif ()
|
||||
|
||||
include (${HDF_RESOURCES_DIR}/HDFCompilerFlags.cmake)
|
||||
set (CMAKE_MODULE_PATH ${HDF_RESOURCES_DIR} ${HDF_RESOURCES_EXT_DIR} ${CMAKE_MODULE_PATH})
|
||||
set (CMAKE_MODULE_PATH ${HDF_RESOURCES_DIR} ${HDF_RESOURCES_DIR} ${CMAKE_MODULE_PATH})
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to Enable HDFS
|
||||
@@ -757,6 +723,12 @@ option (HDF5_ENABLE_SUBFILING_VFD "Build Parallel HDF5 Subfiling VFD" OFF)
|
||||
if (HDF5_ENABLE_SUBFILING_VFD)
|
||||
if (NOT HDF5_ENABLE_PARALLEL)
|
||||
message (FATAL_ERROR "Subfiling VFD requires a parallel HDF5 build")
|
||||
else ()
|
||||
# Check for MPI_Comm_split_type
|
||||
CHECK_SYMBOL_EXISTS (MPI_Comm_split_type "mpi.h" H5_HAVE_MPI_Comm_split_type)
|
||||
if (NOT H5_HAVE_MPI_Comm_split_type)
|
||||
message (FATAL_ERROR "Subfiling VFD requires MPI-3 support for MPI_Comm_split_type")
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED Threads_FOUND)
|
||||
@@ -840,6 +812,17 @@ if (DEFAULT_API_VERSION MATCHES "v114")
|
||||
set (H5_USE_114_API_DEFAULT 1)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Option to use 1.16.x API
|
||||
#-----------------------------------------------------------------------------
|
||||
if (NOT DEFAULT_API_VERSION)
|
||||
set (DEFAULT_API_VERSION "v116")
|
||||
endif ()
|
||||
set (H5_USE_116_API_DEFAULT 0)
|
||||
if (DEFAULT_API_VERSION MATCHES "v116")
|
||||
set (H5_USE_116_API_DEFAULT 1)
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Include user macros
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -874,42 +857,32 @@ option (HDF5_ENABLE_THREADSAFE "Enable thread-safety" OFF)
|
||||
if (HDF5_ENABLE_THREADSAFE)
|
||||
# check for unsupported options
|
||||
if (WIN32)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** thread-safety option not supported with static library **** ")
|
||||
message (VERBOSE " **** thread-safety option will not be used building static library **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** thread-safety option not supported with static library **** ")
|
||||
message (VERBOSE " **** thread-safety option will not be used building static library **** ")
|
||||
endif ()
|
||||
if (HDF5_BUILD_FORTRAN)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
|
||||
else ()
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** Allowing unsupported Fortran and thread-safety options **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** Allowing unsupported Fortran and thread-safety options **** ")
|
||||
endif ()
|
||||
endif ()
|
||||
if (HDF5_BUILD_CPP_LIB)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (FATAL_ERROR " **** C++ and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
|
||||
else ()
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** Allowing unsupported C++ and thread-safety options **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** Allowing unsupported C++ and thread-safety options **** ")
|
||||
endif ()
|
||||
endif ()
|
||||
if (HDF5_BUILD_HL_LIB)
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (FATAL_ERROR " **** HL and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
|
||||
else ()
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** Allowing unsupported HL and thread-safety options **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** Allowing unsupported HL and thread-safety options **** ")
|
||||
endif ()
|
||||
endif ()
|
||||
if (H5_HAVE_IOEO)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** Win32 threads requires WINVER>=0x600 (Windows Vista/7/8) **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** Win32 threads requires WINVER>=0x600 (Windows Vista/7/8) **** ")
|
||||
set (H5_HAVE_WIN_THREADS 1)
|
||||
else ()
|
||||
if (NOT H5_HAVE_PTHREAD_H)
|
||||
@@ -1141,11 +1114,9 @@ set (H5_FC_FUNC_ "H5_FC_FUNC_(name,NAME) name ## _")
|
||||
if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/fortran")
|
||||
option (HDF5_BUILD_FORTRAN "Build FORTRAN support" OFF)
|
||||
if (HDF5_BUILD_FORTRAN)
|
||||
include (${HDF_RESOURCES_EXT_DIR}/HDFUseFortran.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDFUseFortran.cmake)
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE "Fortran compiler ID is ${CMAKE_Fortran_COMPILER_ID}")
|
||||
endif ()
|
||||
message (VERBOSE "Fortran compiler ID is ${CMAKE_Fortran_COMPILER_ID}")
|
||||
include (${HDF_RESOURCES_DIR}/HDFFortranCompilerFlags.cmake)
|
||||
include (${HDF_RESOURCES_DIR}/HDF5UseFortran.cmake)
|
||||
set (LINK_Fortran_LIBS ${LINK_LIBS})
|
||||
@@ -1156,6 +1127,7 @@ if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/for
|
||||
|
||||
# Parallel IO usage requires MPI to be Linked and Included
|
||||
if (H5_HAVE_PARALLEL)
|
||||
find_package(MPI REQUIRED COMPONENTS Fortran)
|
||||
set (LINK_Fortran_LIBS ${LINK_Fortran_LIBS} ${MPI_Fortran_LIBRARIES})
|
||||
if (MPI_Fortran_LINK_FLAGS)
|
||||
set (CMAKE_Fortran_EXE_LINKER_FLAGS "${MPI_Fortran_LINK_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}")
|
||||
@@ -1194,9 +1166,7 @@ if (EXISTS "${HDF5_SOURCE_DIR}/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/c++")
|
||||
if (NOT ALLOW_UNSUPPORTED)
|
||||
message (FATAL_ERROR " **** Parallel and C++ options are mutually exclusive, override with ALLOW_UNSUPPORTED option **** ")
|
||||
else ()
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
|
||||
message (VERBOSE " **** Allowing unsupported Parallel and C++ options **** ")
|
||||
endif ()
|
||||
message (VERBOSE " **** Allowing unsupported Parallel and C++ options **** ")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
142
CONTRIBUTING.md
Normal file
142
CONTRIBUTING.md
Normal file
@@ -0,0 +1,142 @@
|
||||
# How to contribute to HDF5
|
||||
|
||||
The HDF Group encourages community members to contribute to the HDF5 project. We accept and are very grateful for any contributions,
|
||||
from minor typos and bug fixes to new features. The HDF Group is committed to work with the code contributors and make contribution
|
||||
process enjoyable and straightforward.
|
||||
|
||||
This document describes guiding principles for the HDF5 code contributors and does not pretend to address any possible
|
||||
contribution. If in doubt, please do not hesitate to ask us for guidance.
|
||||
***Note that no contribution may be accepted unless the donor agrees with the HDF Group software license terms
|
||||
found in the COPYING file in every branch's top source directory.***
|
||||
|
||||
|
||||
> We will assume that you are familiar with `git` and `GitHub`. If not, you may go through the GitHub tutorial found at
|
||||
[https://guides.github.com/activities/hello-world/](https://guides.github.com/activities/hello-world/). This tutorial should only take
|
||||
around 10 minutes.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Workflow](#workflow)
|
||||
* [Acceptance criteria for a pull request](#criteria)
|
||||
* [Release Note](#releasenote)
|
||||
* [Check List](#checklist)
|
||||
|
||||
# Workflow <A NAME="workflow"></A>
|
||||
|
||||
The process for contributing code to HDF5 is as follows:
|
||||
|
||||
* Open an issue on [HDF5 GitHub](https://github.com/HDFGroup/hdf5/issues).
|
||||
|
||||
> This step is ***required*** unless the change is minor (e.g., typo fix).
|
||||
|
||||
* Fork the [HDF5](https://github.com/HDFGroup/hdf5) repository.
|
||||
* Make the desired changes to the HDF5 software.
|
||||
* New features should always go to _develop_ branch first and later should be merged to the appropriate maintenance branches.
|
||||
* Bug fixes should go to all appropriate branches (_develop_ and maintenance).
|
||||
* Build and test your changes. Detailed instructions on building and testing HDF5 can be found in the `INSTALL*` files in the `release_docs` directory.
|
||||
* Push your changes to GitHub.
|
||||
* Issue a pull request and address any code formatting and testing issues reported.
|
||||
|
||||
Once a pull request is correctly formatted and passes **ALL** CI tests, it will be reviewed and evaluated by The HDF Group developers and HDF5
|
||||
community members who can approve pull requests. The HDF Group developers will work with you to ensure that the pull request satisfies the acceptance
|
||||
criteria described in the next section.
|
||||
|
||||
# Acceptance criteria for a pull request <A NAME="criteria"></A>
|
||||
|
||||
We appreciate every contribution we receive, but we may not accept them all. Those that we *do* satisfy the following criteria:
|
||||
|
||||
* **The pull request has a clear purpose** - What does the pull request address? How does it benefit the HDF5 community?
|
||||
If the pull request does not have a clear purpose and benefits, it will not be accepted.
|
||||
|
||||
* **The pull request is documented** - The HDF5 developers must understand not only *what* a change is doing, but *how* it is doing it.
|
||||
Documenting the code makes it easier for us to understand your patch and maintain the code in the future.
|
||||
|
||||
* **The pull request passes HDF5 regression testing** - Any issue fixed or functionality added should be accompanied by the corresponding
|
||||
tests and pass HDF5 regression testing run by The HDF Group. We do not expect you to perform comprehensive testing across multiple platforms
|
||||
before we accept the pull request. If the pull request does not pass regression testing after the merge, The HDF Group developers will work
|
||||
with you on the fixes.
|
||||
|
||||
* **The pull request does not compromise the principles behind HDF5** - HDF5 has a 100% commitment to backward compatibility.
|
||||
* Any file ever created with HDF5 must be readable by any future version of HDF5.
|
||||
If your patch's purpose is to modify the HDF5 data model or file format,
|
||||
**please** discuss this with us first. File format changes and features required by those changes can be introduced only in a new major release.
|
||||
* HDF5 has a commitment to remaining *machine-independent*; data created on one platform/environment/architecture **must** remain readable by HDF5 on any other.
|
||||
* For binary compatibility, no changes are allowed to public APIs and data structures in the maintenance releases; new APIs can be added.
|
||||
|
||||
* **New features are documented** - Any new features should have proper documentation; talk to us if you have any questions.
|
||||
|
||||
* **When to Write a Release Note** - Generally, a release note must be written for every change that is made to the code for which
|
||||
users might see a change in the way the software works. In other words, if a user might see a difference in the way the software works,
|
||||
a note should be written. By code we mean the text that will be compiled into one of the company's software products. The code includes
|
||||
configuration changes and changes to tools users might work with to configure and build our software.
|
||||
|
||||
* Notes should be added for known problems. Known problems are issues that we know about and have not yet been able to fix.
|
||||
|
||||
* Any change made to address a user-reported problem should be described in a release note.
|
||||
|
||||
* A release note does not need to be written for changes to the code that users will not see. Here are some examples. If you add a
|
||||
comment, you do not need to write a release note describing the comment you added. If you rewrite some code to make it read more
|
||||
clearly and if there is no change in functionality or performance, then you do not need to write a release note. If you change the
|
||||
process by which user software is made, you may not need to write a release note since the change was not made to the code.
|
||||
|
||||
* Users. We have different kinds of users. A release note may be written to be helpful to
|
||||
application developers and not system administrators. Users who may find the RELEASE.txt file helpful include the following:
|
||||
application developers, library developers, and system administrators.
|
||||
|
||||
|
||||
# Release Note <A NAME="releasenote"></A>
|
||||
|
||||
* **Entry Syntax**
|
||||
The release note entry syntax is shown below.
|
||||
|
||||
```
|
||||
- Title/Problem
|
||||
|
||||
Problem/Solution
|
||||
|
||||
Signature
|
||||
```
|
||||
|
||||
* **Entry Elements** - The elements of the entry - title, problem, solution, and signature - are described in more detail in the table
|
||||
below. Descriptions of the problem and the solution should be clear without any ambiguities and should be short without losing clarity or specifics.
|
||||
|
||||
* **Title** - The title or tag should identify one or more categories that will help readers decide if the entry is something they need to study. Can be combined with the `Problem` element
|
||||
* **Problem** - Describe the problem and how users might see the problem in a paragraph.
|
||||
You might also consider the following as you describe the problem:
|
||||
* Under what specific conditions does this issue arise?
|
||||
* Under what specific conditions are we sure this issue will not arise?
|
||||
* For a performance issue, instead of saying something is a performance issue, describe what the performance impact of issue is?
|
||||
* **Solution** - Describe the solution in another paragraph.
|
||||
You might also consider the following as you describe the solution:
|
||||
* What was done to resolve the issue?
|
||||
* What is the functional impact?
|
||||
* Is there a workaround – a way for users design their software so as not to encounter the issue? If so, what is the workaround?
|
||||
* For a performance fix, how has the performance improved? Links to published documentation would be good.
|
||||
* **Signature** - Each entry must be signed with the initials of the author, the date in YYYY/MM/DD format, and the JIRA ticket number. The
|
||||
following is an example entry written by developer Xavier Zolo on April 16, 2014 about JIRA ticket HDFFV-5555: (XYZ - 2014/04/16, HDFFV-5555). The
|
||||
signature is enclosed in parentheses. JIRA or Github numbers should not be used in the description of the problem or the solution. They are like
|
||||
abbreviations that customers and external users will not be able to interpret.
|
||||
|
||||
# Checklist <A NAME="checklist"></A>
|
||||
|
||||
Please make sure that you check the items applicable to your pull request:
|
||||
|
||||
* Code
|
||||
* [ ] Does the pull request have a corresponding GitHub issue and clear purpose?
|
||||
* [ ] Does the pull request follow HDF5 best practices (naming conventions, code portability, code structure, etc.)? <<TODO: link to the document>>
|
||||
* [ ] If changes were done to Autotools build, were they added to CMake and vice versa?
|
||||
* [ ] Is the pull request applicable to any other branches? If yes, which ones? Please document it in the GitHub issue.
|
||||
* [ ] Is the new code sufficiently documented for future maintenance?
|
||||
* [ ] Does the new feature require a change to an existing API? See "API Compatibility Macros" document (https://portal.hdfgroup.org/display/HDF5/API+Compatibility+Macros)
|
||||
* Documentation
|
||||
* [ ] Was the change described in the release_docs/RELEASE.txt file?
|
||||
* [ ] Was MANIFEST updated if new files had been added to the source?
|
||||
* [ ] Was the new function documented in the corresponding public header file using [Doxygen](https://docs.hdfgroup.org/hdf5/develop/_r_m_t.html)?
|
||||
* [ ] Was new functionality documented for the HDF5 community (the level of documentation depends on the feature; ask us what would be appropriate)
|
||||
* Testing
|
||||
* [ ] Does the pull request have tests?
|
||||
* [ ] Does the pull request affect HDF5 library performance?
|
||||
|
||||
We want as many contributions as we can get, and we are here to help. Feel free to reach out to us if you have any questions
|
||||
|
||||
Thank you for your contribution!
|
||||
@@ -12,7 +12,7 @@
|
||||
## This file should be placed in the root directory of your project.
|
||||
## Then modify the CMakeLists.txt file in the root directory of your
|
||||
## project to incorporate the testing dashboard.
|
||||
## # The following are required to uses Dart and the Cdash dashboard
|
||||
## # The following are required to use Dart and the CDash dashboard
|
||||
## ENABLE_TESTING()
|
||||
## INCLUDE(CTest)
|
||||
set (CTEST_PROJECT_NAME "HDF5")
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Top-level distributed Makefile -*- makefile -*-
|
||||
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
21
README.md
21
README.md
@@ -1,8 +1,12 @@
|
||||
HDF5 version 1.13.2-1 currently under development
|
||||
HDF5 version 1.15.0 currently under development
|
||||
|
||||

|
||||
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Adevelop)
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Adevelop)
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Ahdf5_1_14)
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Ahdf5_1_12)
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Ahdf5_1_10)
|
||||
[](https://github.com/HDFGroup/hdf5/actions?query=branch%3Ahdf5_1_8)
|
||||
[](https://github.com/HDFGroup/hdf5/blob/develop/COPYING)
|
||||
|
||||
*Please refer to the release_docs/INSTALL file for installation instructions.*
|
||||
@@ -79,12 +83,19 @@ RELEASE SCHEDULE
|
||||
HDF5 does not release on a regular schedule. Instead, releases are driven by
|
||||
new features and bug fixes, though we try to have at least one release of each
|
||||
maintenance branch per year. Future HDF5 releases indicated on this schedule
|
||||
are tentative.
|
||||
are tentative.
|
||||
|
||||
**NOTE**: HDF5 1.12 is being retired early due to its incomplete and incompatible VOL
|
||||
layer.
|
||||
|
||||
| Release | New Features |
|
||||
| ------- | ------------ |
|
||||
| 1.13.2 | Onion VFD, Selection I/O, Subfiling |
|
||||
| 1.13.3 | VFD SWMR, Multi-Dataset I/O |
|
||||
| 1.8.23 | last HDF5 1.8 release |
|
||||
| 1.10.10 | CVE fixes, performance improvements, H5Dchunk\_iter() |
|
||||
| 1.12.3 | CVE fixes, performance improvements, H5Dchunk\_iter(), last HDF5 1.12 release |
|
||||
| 1.14.1 | selection I/O with datatype conversion |
|
||||
| 2.0.0 | TBD |
|
||||
| TBD | VFD SWMR |
|
||||
|
||||
This list of feature release versions is also tentative, and the specific release
|
||||
in which a feature is introduced may change.
|
||||
|
||||
@@ -2,7 +2,6 @@ dnl -------------------------------------------------------------------------
|
||||
dnl -------------------------------------------------------------------------
|
||||
dnl
|
||||
dnl Copyright by The HDF Group.
|
||||
dnl Copyright by the Board of Trustees of the University of Illinois.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
10
autogen.sh
10
autogen.sh
@@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
31
bin/README.md
Normal file
31
bin/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Scripts in `bin` and their purpose
|
||||
|
||||
Programs run via `autogen.sh` (or the equivalent in CMake) are indicated.
|
||||
|
||||
|Program|Purpose|
|
||||
|-------|-------|
|
||||
|`buildhdf5`|Convenience script to build HDF5 using the Autotools|
|
||||
|`checkapi`|Checks if public API calls are used in internal functions|
|
||||
|`checkposix`|Checks if C/POSIX calls are prefixed with `HD`|
|
||||
|`chkcopyright`|Checks if files have appropriate copyright statements|
|
||||
|`cmakehdf5`|Convenience script to build HDF5 using CMake|
|
||||
|`debug-ohdr`|Examines debug output from `H5O_open/close` to look for open objects|
|
||||
|`format_source`|Runs `clang-format` over the source files, applying our rules|
|
||||
|`genparser`|Creates the flex/bison-based parser files in the high-level library|
|
||||
|`h5cc.in`|Input file from which h5cc is created|
|
||||
|`h5redeploy.in`|Input file from which h5redeploy is created|
|
||||
|`h5vers`|Updates the library version number|
|
||||
|`make_err`|Generates the H5E header files (called in `autogen.sh`)|
|
||||
|`make_vers`|Generates H5version.h (called in `autogen.sh`)|
|
||||
|`make_overflow`|Generates H5overflow.h (called in `autogen.sh`)|
|
||||
|`output_filter`|Used in the tools test code to strip extraneous output before we diff files|
|
||||
|`restore.sh`|Removes files generated by `autogen.sh`|
|
||||
|`runbkprog`|Used by CMake to run test programs in the background|
|
||||
|`switch_maint_mode`|Switches maintainer mode on/off in `configure.ac`|
|
||||
|`trace`|Adds `TRACE` macros to HDF5 C library source files (run by `autogen.sh`)|
|
||||
|`warnhist`|Generates compiler warning statistics for gcc/clang when fed output of make|
|
||||
|
||||
## TODO
|
||||
|
||||
* chkcopyright is currently semi-broken as it doesn't handle the full variety of copyright headers we need. We're leaving it in place, though, in the hopes that someone will update it in the future.
|
||||
* Extending warnhist to better understand the output of additional compilers/languages would be nice.
|
||||
@@ -11,11 +11,13 @@ CTEST_CMD=`which ctest`
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
if [[ $SUMMARY_FILE == *"ctestS"* ]]; then
|
||||
CMD="${CTEST_CMD} . -E MPI_TEST_ -C Release -j 32 -T test"
|
||||
CMD="${CTEST_CMD} -S ctest_serial.cmake"
|
||||
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
|
||||
echo "Done running ctest serial command."
|
||||
touch ctestS.done
|
||||
else
|
||||
CMD="${CTEST_CMD} . -R MPI_TEST_ ${SKIP_TESTS} -C Release -T test"
|
||||
CMD="${CTEST_CMD} -S ctest_parallel.cmake"
|
||||
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
|
||||
echo "Done running ctest parallel command."
|
||||
touch ctestP.done
|
||||
fi
|
||||
|
||||
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
|
||||
|
||||
echo "Done running ctest parallel command."
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
echo "Run parallel test command. Test output will be in build/ctestP.out"
|
||||
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
|
||||
ctest -S ctest_parallel.cmake >& ctestP.out
|
||||
|
||||
echo "Done running ctest parallel command."
|
||||
touch ctestP.done
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
#SBATCH --job-name=h5_ctestP
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
|
||||
|
||||
echo "Done running ctestP.sl"
|
||||
echo "Run parallel test command. Test output will be in build/ctestP.out"
|
||||
ctest -S ctest_parallel.cmake >& ctestP.out
|
||||
|
||||
echo "Done running ctest parallel command."
|
||||
touch ctestP.done
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
echo "Run command. Test output will be in build/ctestS.out"
|
||||
ctest . -E MPI_TEST_ -C Release -j 32 -T test >& ctestS.out
|
||||
ctest -S ctest_serial.cmake >& ctestS.out
|
||||
|
||||
##$CMD >& ctestS.out
|
||||
echo "Done running command."
|
||||
|
||||
touch ctestS.done
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#SBATCH --job-name=h5_ctestS
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
CMD="ctest . -E MPI_TEST_ -C Release -j 32 -T test"
|
||||
echo "Run command. Test output will be in build/ctestS.out"
|
||||
ctest -S ctest_serial.cmake >& ctestS.out
|
||||
|
||||
echo "Run $CMD. Test output will be in build/ctestS.out"
|
||||
$CMD >& ctestS.out
|
||||
echo "Done running $CMD"
|
||||
echo "Done running command."
|
||||
touch ctestS.done
|
||||
|
||||
12
bin/batch/ctest_parallel.cmake.in
Normal file
12
bin/batch/ctest_parallel.cmake.in
Normal file
@@ -0,0 +1,12 @@
|
||||
if(NOT "$ENV{CI_SITE_NAME}" STREQUAL "")
|
||||
set(CTEST_SITE "$ENV{CI_SITE_NAME}")
|
||||
endif()
|
||||
if(NOT "$ENV{CI_BUILD_NAME}" STREQUAL "")
|
||||
set(CTEST_BUILD_NAME "$ENV{CI_BUILD_NAME}")
|
||||
endif()
|
||||
|
||||
ctest_start ("$ENV{CI_MODEL}" "@HDF5_SOURCE_DIR@" "@HDF5_BINARY_DIR@" APPEND)
|
||||
ctest_test (BUILD "@HDF5_BINARY_DIR@" APPEND INCLUDE MPI_TEST_ RETURN_VALUE res)
|
||||
if (${res} LESS 0 OR ${res} GREATER 0)
|
||||
file (APPEND ${CTEST_SCRIPT_DIRECTORY}/FailedCTest.txt "Failed Tests: ${res}\n")
|
||||
endif ()
|
||||
12
bin/batch/ctest_serial.cmake.in
Normal file
12
bin/batch/ctest_serial.cmake.in
Normal file
@@ -0,0 +1,12 @@
|
||||
if(NOT "$ENV{CI_SITE_NAME}" STREQUAL "")
|
||||
set(CTEST_SITE "$ENV{CI_SITE_NAME}")
|
||||
endif()
|
||||
if(NOT "$ENV{CI_BUILD_NAME}" STREQUAL "")
|
||||
set(CTEST_BUILD_NAME "$ENV{CI_BUILD_NAME}")
|
||||
endif()
|
||||
|
||||
ctest_start ("$ENV{CI_MODEL}" "@HDF5_SOURCE_DIR@" "@HDF5_BINARY_DIR@" APPEND)
|
||||
ctest_test (BUILD "@HDF5_BINARY_DIR@" APPEND EXCLUDE MPI_TEST_ PARALLEL_LEVEL 32 RETURN_VALUE res)
|
||||
if (${res} LESS 0 OR ${res} GREATER 0)
|
||||
file (APPEND ${CTEST_SCRIPT_DIRECTORY}/FailedCTest.txt "Failed Tests: ${res}\n")
|
||||
endif ()
|
||||
@@ -9,8 +9,8 @@
|
||||
#SBATCH --job-name=h5_ctestP
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
#run parallel tests except t_cache_image test
|
||||
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
|
||||
|
||||
echo "Done running $CMD"
|
||||
echo "Run parallel test command. Test output will be in build/ctestP.out"
|
||||
ctest -S ctest_parallel.cmake >& ctestP.out
|
||||
|
||||
echo "Done running ctest parallel command."
|
||||
touch ctestP.done
|
||||
|
||||
@@ -9,9 +9,8 @@
|
||||
#SBATCH --job-name=h5_ctestS
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
CMD="ctest . -E MPI_TEST_ -C Release -j 32 -T test"
|
||||
|
||||
echo "Run $CMD. Test output will be in build/ctestS.out"
|
||||
$CMD >& ctestS.out
|
||||
echo "Done running $CMD"
|
||||
echo "Run command. Test output will be in build/ctestS.out"
|
||||
ctest -S ctest_serial.cmake >& ctestS.out
|
||||
|
||||
echo "Done running command."
|
||||
touch ctestS.done
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
echo "Run parallel test command. Test output will be in build/ctestP.out"
|
||||
ctest . -R 'MPI_TEST_' -C Release -T test >& ctestP.out
|
||||
ctest -S ctest_parallel.cmake >& ctestP.out
|
||||
|
||||
echo "Done running ctest parallel command."
|
||||
touch ctestP.done
|
||||
~
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
cd @HDF5_BINARY_DIR@
|
||||
echo "Run command. Test output will be in build/ctestS.out"
|
||||
ctest . -E 'MPI_TEST_' -C Release -j 32 -T test >& ctestS.out
|
||||
ctest -S ctest_serial.cmake >& ctestS.out
|
||||
|
||||
##$CMD >& ctestS.out
|
||||
echo "Done running command."
|
||||
|
||||
touch ctestS.done
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -4,7 +4,6 @@ use warnings;
|
||||
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -144,7 +143,7 @@ foreach $arg (@ARGV) {
|
||||
next if $name =~ /^(_beginthread|(Initialize|Enter|Leave)CriticalSection|TlsAlloc)$/;
|
||||
|
||||
# These are MPI function calls. Ignore them.
|
||||
next if $name =~ /^(MPI_|MPE_)/;
|
||||
next if $name =~ /^(MPI_)/;
|
||||
|
||||
# These are POSIX threads function calls. Ignore them.
|
||||
next if $name =~ /^pthread_/;
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
#!/bin/sh
|
||||
##
|
||||
## Copyright by the Board of Trustees of the University of Illinois.
|
||||
## All rights reserved.
|
||||
##
|
||||
## This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
## terms governing use, modification, and redistribution, is contained in
|
||||
## the COPYING file, which can be found at the root of the source code
|
||||
## distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
## If you do not have access to either file, you may request a copy from
|
||||
## help@hdfgroup.org.
|
||||
##
|
||||
# Check that all the configure files are properly generated.
|
||||
#
|
||||
# Programmer: Albert Cheng
|
||||
# Created Date: 2004/12/07
|
||||
|
||||
#
|
||||
# Configure: should be generated by autoconf version 2.69.
|
||||
# autoconf: should be of version 2.69.
|
||||
|
||||
# variable initialization
|
||||
nerrors=0
|
||||
AUTOCONFVERSION=2.69
|
||||
AUTOCONFVERSIONLEAD='Generated by GNU Autoconf'
|
||||
CONFIGUREFILES="configure"
|
||||
|
||||
|
||||
# Function definitions
|
||||
#
|
||||
# PRINTMSG
|
||||
# Print a one line message left justified in a field of 70 characters
|
||||
# without newline. More output for this line later.
|
||||
#
|
||||
PRINTMSG() {
|
||||
SPACES=" "
|
||||
echo "$* $SPACES" | cut -c1-70 | tr -d '\012'
|
||||
}
|
||||
|
||||
# print result passed.
|
||||
PASSED() {
|
||||
echo " PASSED"
|
||||
}
|
||||
|
||||
# print result failed.
|
||||
FAILED() {
|
||||
echo "*FAILED*"
|
||||
}
|
||||
|
||||
|
||||
# Main body
|
||||
|
||||
# Check configure files
|
||||
# The autoconf version should be among the first 5 lines.
|
||||
echo "Check autoconf version. Should be version $AUTOCONFVERSION"
|
||||
for xf in $CONFIGUREFILES; do
|
||||
PRINTMSG $xf
|
||||
if [ ! -f $xf ]; then
|
||||
FAILED
|
||||
echo File not found
|
||||
nerrors=`expr $nerrors + 1`
|
||||
continue
|
||||
fi
|
||||
autoconf_version=`head -5 $xf | grep "$AUTOCONFVERSIONLEAD"`
|
||||
echo $autoconf_version | grep "$AUTOCONFVERSIONLEAD $AUTOCONFVERSION" > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
PASSED
|
||||
else
|
||||
FAILED
|
||||
echo "Expected: $AUTOCONFVERSIONLEAD $AUTOCONFVERSION"
|
||||
echo "Got: $autoconf_version"
|
||||
nerrors=`expr $nerrors + 1`
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
# Summary
|
||||
echo $0 found $nerrors errors
|
||||
if [ $nerrors != 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
@@ -1,7 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -10,7 +9,6 @@
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
|
||||
# Check Copyright notice.
|
||||
# Check that all the files have the proper copyright notice.
|
||||
@@ -39,8 +37,8 @@ NFIXEDFILES=0 # Number of files fixed.
|
||||
NFIXFAILEDFILES=0 # Number of files fix failed.
|
||||
NUMBEGINLINES=60 # Copyright notice should be located within the
|
||||
# this number of lines at the beginning of the file.
|
||||
UICOPYRIGHTSTR="Copyright by the Board of Trustees of the University of Illinois"
|
||||
THGCOPYRIGHTSTR="Copyright by The HDF Group."
|
||||
UICOPYRIGHTSTR="Copyright by the Board of Trustees of the University of Illinois"
|
||||
|
||||
PASSEDLOG=/tmp/h5chkright_passed.$$
|
||||
SKIPPEDLOG=/tmp/h5chkright_skipped.$$
|
||||
@@ -111,113 +109,92 @@ BUILDCOPYRIGHT()
|
||||
# C and C++ source Copyright notice
|
||||
cat > ${C_COPYRIGHT} << \EOF
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the files COPYING and Copyright.html. COPYING can be found at the root *
|
||||
* of the source code distribution tree; Copyright.html can be found at the *
|
||||
* root level of an installed copy of the electronic HDF5 document set and *
|
||||
* is linked from the top-level documents page. It can also be found at *
|
||||
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
|
||||
* access to either file, you may request a copy from help@hdfgroup.org. *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
EOF
|
||||
|
||||
# Fortran9X source Copyright notice
|
||||
cat > ${FTN_COPYRIGHT} << \EOF
|
||||
! Copyright by The HDF Group. *
|
||||
! Copyright by the Board of Trustees of the University of Illinois. *
|
||||
! All rights reserved. *
|
||||
! *
|
||||
! This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
! terms governing use, modification, and redistribution, is contained in *
|
||||
! the files COPYING and Copyright.html. COPYING can be found at the root *
|
||||
! of the source code distribution tree; Copyright.html can be found at the *
|
||||
! root level of an installed copy of the electronic HDF5 document set and *
|
||||
! is linked from the top-level documents page. It can also be found at *
|
||||
! http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
|
||||
! access to either file, you may request a copy from help@hdfgroup.org. *
|
||||
! the COPYING file, which can be found at the root of the source code *
|
||||
! distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
! If you do not have access to either file, you may request a copy from *
|
||||
! help@hdfgroup.org. *
|
||||
EOF
|
||||
|
||||
# HTML file Copyright notice
|
||||
cat > ${HTM_COPYRIGHT} << \EOF
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the files COPYING and Copyright.html. COPYING can be found at the root *
|
||||
* of the source code distribution tree; Copyright.html can be found at the *
|
||||
* root level of an installed copy of the electronic HDF5 document set and *
|
||||
* is linked from the top-level documents page. It can also be found at *
|
||||
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
|
||||
* access to either file, you may request a copy from help@hdfgroup.org. *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
EOF
|
||||
|
||||
# Shell style Copyright notice
|
||||
cat > ${SH_COPYRIGHT} << \EOF
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
# of the source code distribution tree; Copyright.html can be found at the
|
||||
# root level of an installed copy of the electronic HDF5 document set and
|
||||
# is linked from the top-level documents page. It can also be found at
|
||||
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
# access to either file, you may request a copy from help@hdfgroup.org.
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
EOF
|
||||
|
||||
# Shell style Copyright notice (2nd type)
|
||||
cat > ${SH_COPYRIGHT2} << \EOF
|
||||
## Copyright by The HDF Group.
|
||||
## Copyright by the Board of Trustees of the University of Illinois.
|
||||
## All rights reserved.
|
||||
##
|
||||
## This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
## terms governing use, modification, and redistribution, is contained in
|
||||
## the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
## of the source code distribution tree; Copyright.html can be found at the
|
||||
## root level of an installed copy of the electronic HDF5 document set and
|
||||
## is linked from the top-level documents page. It can also be found at
|
||||
## http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
## access to either file, you may request a copy from help@hdfgroup.org.
|
||||
## the COPYING file, which can be found at the root of the source code
|
||||
## distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
## If you do not have access to either file, you may request a copy from
|
||||
## help@hdfgroup.org.
|
||||
EOF
|
||||
|
||||
# Windows Batch file Copyright notice
|
||||
cat > ${WINBAT_COPYRIGHT} << \EOF
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
@REM the COPYING file, which can be found at the root of the source code
|
||||
@REM distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
@REM If you do not have access to either file, you may request a copy from
|
||||
@REM help@hdfgroup.org.
|
||||
EOF
|
||||
|
||||
# configure.ac file Copyright notice
|
||||
cat > ${CONFIGURE_AC_COPYRIGHT} << \EOF
|
||||
dnl Copyright by The HDF Group.
|
||||
dnl Copyright by the Board of Trustees of the University of Illinois.
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
dnl terms governing use, modification, and redistribution, is contained in
|
||||
dnl the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
dnl of the source code distribution tree; Copyright.html can be found at the
|
||||
dnl root level of an installed copy of the electronic HDF5 document set and
|
||||
dnl is linked from the top-level documents page. It can also be found at
|
||||
dnl http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
dnl access to either file, you may request a copy from help@hdfgroup.org.
|
||||
dnl the COPYING file, which can be found at the root of the source code
|
||||
dnl distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
dnl If you do not have access to either file, you may request a copy from
|
||||
dnl help@hdfgroup.org.
|
||||
EOF
|
||||
|
||||
}
|
||||
@@ -364,7 +341,7 @@ FindLineInFile()
|
||||
# $1 file which contains the expected copyright notice.
|
||||
# $2 file in which to look for the copyright notice.
|
||||
# Copyright notice must be found within the beginning $NUMBEGINLINES of lines.
|
||||
# Hunt for the particular string $UICOPYRIGHTSTR which signifies the beginning
|
||||
# Hunt for the particular string $THGCOPYRIGHTSTR which signifies the beginning
|
||||
# of the copyright notice.
|
||||
#
|
||||
MATCH_COPYRIGHT()
|
||||
@@ -379,7 +356,7 @@ MATCH_COPYRIGHT()
|
||||
nlines=`wc -l ${COPYRIGHTFILE} | cut -f1 -d' '`
|
||||
# Find a line that contains the copyright string and its line number in
|
||||
# the file.
|
||||
begin=`FindLineInFile "${UICOPYRIGHTSTR}" $f`
|
||||
begin=`FindLineInFile "${THGCOPYRIGHTSTR}" $f`
|
||||
if [ "$begin" -le 0 ] ; then
|
||||
# Not found, generate an empty dummy file
|
||||
cp /dev/null ${EXTRACTEDFILE}
|
||||
@@ -404,7 +381,7 @@ MATCH_COPYRIGHT()
|
||||
# $1 file which contains the expected copyright notice.
|
||||
# $2 file in which to look for the copyright notice.
|
||||
# Copyright notice must be found within the beginning $NUMBEGINLINES of lines.
|
||||
# Hunt for the particular string $UICOPYRIGHTSTR which signifies the beginning
|
||||
# Hunt for the particular string $THGCOPYRIGHTSTR which signifies the beginning
|
||||
# of the copyright notice.
|
||||
#
|
||||
FIX_COPYRIGHT()
|
||||
@@ -427,7 +404,12 @@ FIX_COPYRIGHT()
|
||||
# the file.
|
||||
insertbegin=`FindLineInFile "${THGCOPYRIGHTSTR}" $f`
|
||||
if [ $insertbegin -gt 0 ]; then
|
||||
insertend=`expr $insertbegin + $nlines` # no need to -1. See below.
|
||||
insertUIbegin=`FindLineInFile "${UICOPYRIGHTSTR}" $f`
|
||||
if [ $insertUIbegin -gt 0 ]; then
|
||||
insertend=`expr $insertbegin + $nlines + 1`
|
||||
else
|
||||
insertend=`expr $insertbegin + $nlines`
|
||||
fi
|
||||
else
|
||||
insertbegin=`FindLineInFile "${UICOPYRIGHTSTR}" $f`
|
||||
if [ $insertbegin -gt 0 ]; then
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
use warnings;
|
||||
|
||||
my $depend_file;
|
||||
my $new_depend_file;
|
||||
my $srcdir;
|
||||
my $top_srcdir;
|
||||
my $top_builddir;
|
||||
|
||||
while ($_ = shift @ARGV) {
|
||||
if (/^--top_srcdir=([^ \t\n]*)/) {
|
||||
$top_srcdir = $1;
|
||||
$top_srcdir =~ s/\+/\\\+/g;
|
||||
$top_srcdir =~ s/\./\\\./g;
|
||||
} elsif (/^--top_builddir=([^ \t\n]*)/) {
|
||||
$top_builddir = $1;
|
||||
$top_builddir =~ s/\+/\\\+/g;
|
||||
$top_builddir =~ s/\./\\\./g;
|
||||
} else {
|
||||
$depend_file = $_;
|
||||
$new_depend_file = "$_.new";
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
open(DEPEND, "<$depend_file") || die "cannot open file $depend_file: $!\n";
|
||||
open(NEW, ">$new_depend_file") || die "cannot open file $new_depend_file: $!\n";
|
||||
|
||||
while (<DEPEND>) {
|
||||
s/\.o(\b)/\.lo$1/g;
|
||||
s/ $top_srcdir/ \$\(top_srcdir\)/g;
|
||||
s/ $top_builddir/ \$\(top_builddir\)/g;
|
||||
print NEW $_;
|
||||
}
|
||||
|
||||
close(DEPEND);
|
||||
close(NEW);
|
||||
|
||||
`mv $new_depend_file $depend_file`;
|
||||
58
bin/deploy
58
bin/deploy
@@ -1,58 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# Deploy the HDF5 binary.
|
||||
#
|
||||
# Programmer: Albert Cheng
|
||||
# Created Date: 2004/12/15
|
||||
#
|
||||
# Modifications
|
||||
|
||||
# Function definitions
|
||||
#
|
||||
# Print Usage page
|
||||
USAGE()
|
||||
{
|
||||
cat << EOF
|
||||
Usage: $0 <dir>
|
||||
Install the binary to directory <dir>
|
||||
|
||||
Examples:
|
||||
|
||||
$ bin/deploy /usr/local/hdf5
|
||||
....
|
||||
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Variables
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
USAGE
|
||||
exit 1
|
||||
fi
|
||||
|
||||
installdir=$1
|
||||
# create installdir if it does not exist yet.
|
||||
if [ -d $installdir ] || mkdir $installdir ; then
|
||||
${MAKE:-gmake} install prefix=$installdir && \
|
||||
( cd $installdir/bin; ./h5redeploy -force)
|
||||
exit $?
|
||||
else
|
||||
echo $installdir is not a valid directory
|
||||
USAGE
|
||||
exit 1
|
||||
fi
|
||||
|
||||
27
bin/distdep
27
bin/distdep
@@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
#! -*-perl-*-
|
||||
eval 'exec perl -p -x -S $0 ${1+"$@"}'
|
||||
if 0;
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
|
||||
# Usage: $0 [<].depend
|
||||
|
||||
# Takes dependency info and generates on stdout dependencies suitable for
|
||||
# distribution by removing all the system include files from the list and
|
||||
# removing all but the base name of other include files (since the Makefiles
|
||||
# contain the logic for searching).
|
||||
|
||||
($h,$_)=/\s*\\/?$h.$`:("",$h.$_);
|
||||
s|( +/\S*)*( *)|$2?" \\\n ":""|eg;
|
||||
#s|(([-\w\.]+)/)+([-\w\.]+)|\3|g;
|
||||
139
bin/errors
139
bin/errors
@@ -1,139 +0,0 @@
|
||||
#!/usr/bin/env perl
|
||||
require 5.003;
|
||||
use warnings;
|
||||
use Text::Tabs;
|
||||
|
||||
# NOTE: THE FORMAT OF HRETURN_ERROR AND HGOTO_ERROR MACROS HAS
|
||||
# CHANGED. THIS SCRIPT NO LONGER WORKS! --rpm
|
||||
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# Robb Matzke
|
||||
# 30 Aug 1997
|
||||
#
|
||||
# Purpose: This script will read standard input which should be a
|
||||
# function prologue followed by a C function and will emit
|
||||
# on standard output the same source code with the function
|
||||
# prologue containing documentation for the various errors
|
||||
# that occur in the function.
|
||||
#
|
||||
# Errors are raised by calling HGOTO_ERROR() or
|
||||
# HRETURN_ERROR(). The reason for the error message is a
|
||||
# comment which appears immediately after the error macro
|
||||
# call and is contained entirely on one line:
|
||||
#
|
||||
# HRETURN_ERROR (...); /*entry not found*/
|
||||
#
|
||||
# If such a comment doesn't exist, then the previous comment
|
||||
# is used, subject to the constraint that raising an error
|
||||
# clears the previous comment.
|
||||
#
|
||||
# /* Entry not found */
|
||||
# HGOTO_ERROR (...);
|
||||
#
|
||||
# Emacs users can use this script interactively with the
|
||||
# c-mark-function and shell-command-on-region functions which
|
||||
# are normally bound to M-C-h and M-|.
|
||||
|
||||
|
||||
# Split STDIN into the prolog and the function body. Preserve leading
|
||||
# white space.
|
||||
$_ = join "", <STDIN>;
|
||||
my ($head, $prolog, $body) = (/^(\s*)(\/\*(.*?)\*\/)?(.*)/s)[0,2,3];
|
||||
$prolog = "" unless $prolog;
|
||||
|
||||
# Find each error and the comment that goes with it.
|
||||
for ($_=$body,$comment=""; /\/\*|H(RETURN|GOTO)_ERROR/s;) {
|
||||
$_ = $&.$';
|
||||
|
||||
if (/^H(RETURN|GOTO)_ERROR\s*\(\s*H5E_(\w+)\s*,\s*H5E_(\w+)\s*,/s) {
|
||||
($major, $minor, $_) = ($2, $3, $');
|
||||
$comment=$1 if /^.*?\)\s*;\s*\/\*\s*(.*?)\s*\*\//;
|
||||
$comment =~ s/^\s*\*+\s*/ /mg; # leading asterisks.
|
||||
$comment =~ s/^\s+//s; # leading white space.
|
||||
$comment =~ s/\s+$//s; # trailing white space.
|
||||
$comment =~ s/(\w)$/$1./s; # punctuation.
|
||||
$comment ||= "***NO COMMENT***";
|
||||
$errors{"$major\000$minor\000\u$comment"} = 1;
|
||||
$comment = "";
|
||||
|
||||
} else {
|
||||
($comment) = /^\/\*\s*(.*?)\s*\*\//s;
|
||||
$_ = $';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Format an error so it isn't too wide.
|
||||
sub fmt_error ($) {
|
||||
local ($_) = @_;
|
||||
|
||||
my ($prefix,$space,$err) = /^((.*?)([A-Z_0-9]+\s+[A-Z_0-9]+\s+))/;
|
||||
$_ = $';
|
||||
tr/\n / /s;
|
||||
my $w = 70 - length expand $prefix;
|
||||
s/(.{$w}\S+)\s+(\S)/$1."\n".$space.' 'x(length $err).$2/eg;
|
||||
return $prefix . $_."\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Sort the errors by major, then minor, then comment. Duplicate
|
||||
# triplets have already been removed.
|
||||
sub by_triplet {
|
||||
my ($a_maj, $a_min, $a_com) = split /\000/, $a;
|
||||
my ($b_maj, $b_min, $b_com) = split /\000/, $b;
|
||||
$a_maj cmp $b_maj || $a_min cmp $b_min || $a_com cmp $b_com;
|
||||
}
|
||||
@errors = map {sprintf "%-9s %-13s %s\n", split /\000/}
|
||||
sort by_triplet keys %errors;
|
||||
|
||||
|
||||
|
||||
# Add the list of errors to the prologue depending on the type of
|
||||
# prolog.
|
||||
if (($front, $back) = $prolog=~/^(.*?Errors:\s*?(?=\n)).*?\n\s*\*\s*\n(.*)/s) {
|
||||
#| * Errors: |#
|
||||
#| * __list_of_error_messages__ (zero or more lines) |#
|
||||
#| * |#
|
||||
print $head, "/*", $front, "\n";
|
||||
map {print fmt_error " *\t\t".$_} @errors;
|
||||
print " *\n", $back, "*/", $body;
|
||||
|
||||
} elsif (($front,$back) = $prolog =~
|
||||
/(.*?\n\s*ERRORS:?\s*?(?=\n)).*?\n\s*\n(.*)/s) {
|
||||
#| ERRORS |#
|
||||
#| __list_of_error_messages__ (zero or more lines) |#
|
||||
#| |#
|
||||
print $head, "/*", $front, "\n";
|
||||
map {print fmt_error " ".$_} @errors;
|
||||
print "\n", $back, "*/", $body;
|
||||
|
||||
} elsif ($prolog eq "") {
|
||||
# No prolog present.
|
||||
print $head;
|
||||
print "\n/*", "-"x73, "\n * Function:\t\n *\n * Purpose:\t\n *\n";
|
||||
print " * Errors:\n";
|
||||
map {print fmt_error " *\t\t".$_} @errors;
|
||||
print " *\n * Return:\tSuccess:\t\n *\n *\t\tFailure:\t\n *\n";
|
||||
print " * Programmer:\t\n *\n * Modifications:\n *\n *", '-'x73, "\n";
|
||||
print " */\n", $body;
|
||||
|
||||
} else {
|
||||
# Prolog format not recognized.
|
||||
print $head, "/*", $prolog, "*/\n\n";
|
||||
print "/*\n * Errors returned by this function...\n";
|
||||
map {print fmt_error " *\t".$_} @errors;
|
||||
print " */\n", $body;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Recursively format all C & C++ sources and header files, except those in the
|
||||
# 'config' directory and generated files, such as H5LTanalyze.c, etc.
|
||||
#
|
||||
# Note that any files or directories that are excluded here should also be
|
||||
# added to the 'exclude' list in .github/workflows/clang-format-check.yml
|
||||
#
|
||||
# (Remember to update both bin/format_source and bin/format_source_patch)
|
||||
|
||||
find . \( -type d -path ./config -prune -and -not -path ./config \) \
|
||||
-or \( \( \! \( \
|
||||
-name H5LTanalyze.c \
|
||||
-or -name H5LTparse.c \
|
||||
-or -name H5LTparse.h \
|
||||
-or -name H5Epubgen.h \
|
||||
-or -name H5Einit.h \
|
||||
-or -name H5Eterm.h \
|
||||
-or -name H5Edefin.h \
|
||||
-or -name H5version.h \
|
||||
-or -name H5overflow.h \
|
||||
\) \) \
|
||||
-and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp -or -iname *.java \) \) \
|
||||
| xargs clang-format -style=file -i -fallback-style=none
|
||||
|
||||
git diff > clang_format.patch
|
||||
|
||||
# Delete if 0 size
|
||||
if [ ! -s clang_format.patch ]
|
||||
then
|
||||
rm clang_format.patch
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -1,51 +0,0 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
|
||||
# A script to generate coverage files for HDF5 using gcov.
|
||||
# Configures, builds, and runs tests in-place; the output files will be placed
|
||||
# in a directory called gcov_logs.
|
||||
# Must be invoked from the root hdf5 directory.
|
||||
# This script has been tested on kagiso.
|
||||
|
||||
CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs"
|
||||
export CFLAGS
|
||||
LDFLAGS="$LDFLAGS -lgcov"
|
||||
export LDFLAGS
|
||||
CC=gcc
|
||||
export CC
|
||||
./configure
|
||||
make
|
||||
make check
|
||||
mkdir gcov_logs
|
||||
cd src
|
||||
for j in *.h *.c
|
||||
do
|
||||
ln -s ../$j .libs/$j
|
||||
done
|
||||
cd .libs
|
||||
for j in *.gcda
|
||||
do
|
||||
gcov -b $j >> gcov.log 2>&1
|
||||
done
|
||||
for j in *.gcov
|
||||
do
|
||||
mv $j ../../gcov_logs
|
||||
done
|
||||
mv gcov.log ../../gcov_logs
|
||||
for j in *.c *.h
|
||||
do
|
||||
rm $j
|
||||
done
|
||||
cd ../..
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#! /bin/sh
|
||||
##
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -7,7 +7,6 @@ require 5.003;
|
||||
use strict;
|
||||
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -377,7 +376,7 @@ if ($H5_JAVA) {
|
||||
my $version_string2 = sprintf("%d, %d, %d", @newver[0,1,2]);
|
||||
|
||||
$data =~ s/\@version HDF5 .* <BR>/\@version HDF5 $version_string1 <BR>/;
|
||||
$data =~ s/ public final static int LIB_VERSION\[\] = \{ \d*, \d*, \d* \};/ public final static int LIB_VERSION[] = \{ $version_string2 \};/;
|
||||
$data =~ s/ public final static int LIB_VERSION\[\] = \{\d*,.\d*,.\d*\};/ public final static int LIB_VERSION[] = \{$version_string2\};/;
|
||||
|
||||
write_file($H5_JAVA, $data);
|
||||
}
|
||||
@@ -394,7 +393,7 @@ if ($TESTH5_JAVA) {
|
||||
my $version_string1 = sprintf("%d, %d, %d", @newver[0,1,2]);
|
||||
my $version_string2 = sprintf("int majnum = %d, minnum = %d, relnum = %d", @newver[0,1,2]);
|
||||
|
||||
$data =~ s/ int libversion\[\] = \{ .* \};/ int libversion\[\] = \{ $version_string1 \};/;
|
||||
$data =~ s/ int libversion\[\] = \{.*\};/ int libversion\[\] = \{$version_string1\};/;
|
||||
$data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/;
|
||||
|
||||
write_file($TESTH5_JAVA, $data);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -5,7 +5,6 @@ use warnings;
|
||||
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -32,7 +31,6 @@ sub print_copyright ($) {
|
||||
|
||||
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
|
||||
print $fh " * Copyright by The HDF Group. *\n";
|
||||
print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
|
||||
print $fh " * All rights reserved. *\n";
|
||||
print $fh " * *\n";
|
||||
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
|
||||
|
||||
@@ -10,7 +10,6 @@ my @ctypes = ( () );
|
||||
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -61,7 +60,6 @@ sub print_copyright ($) {
|
||||
|
||||
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
|
||||
print $fh " * Copyright by The HDF Group. *\n";
|
||||
print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
|
||||
print $fh " * All rights reserved. *\n";
|
||||
print $fh " * *\n";
|
||||
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
|
||||
|
||||
@@ -8,8 +8,8 @@ use warnings;
|
||||
# is added (like support for 1.4, etc), the min_sup_idx parameter will
|
||||
# need to be decremented.)
|
||||
|
||||
# Max. library "index" (0 = v1.0, 1 = 1.2, 2 = 1.4, 3 = 1.6, 4 = 1.8, 5 = 1.10, 6 = 1.12, 7 = 1.14, etc)
|
||||
$max_idx = 7;
|
||||
# Max. library "index" (0 = v1.0, 1 = 1.2, 2 = 1.4, 3 = 1.6, 4 = 1.8, 5 = 1.10, 6 = 1.12, 7 = 1.14, 8 = 1.16, etc)
|
||||
$max_idx = 8;
|
||||
|
||||
# Min. supported previous library version "index" (0 = v1.0, 1 = 1.2, etc)
|
||||
$min_sup_idx = 3;
|
||||
@@ -19,7 +19,6 @@ $indent = 2;
|
||||
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -46,7 +45,6 @@ sub print_copyright ($) {
|
||||
|
||||
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
|
||||
print $fh " * Copyright by The HDF Group. *\n";
|
||||
print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
|
||||
print $fh " * All rights reserved. *\n";
|
||||
print $fh " * *\n";
|
||||
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
|
||||
|
||||
33
bin/mkdirs
33
bin/mkdirs
@@ -1,33 +0,0 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# This is a small program which will create directories n-levels deep.
|
||||
# You just call it with something like:
|
||||
#
|
||||
# mkdirs /tmp/foo/bar/baz
|
||||
#
|
||||
# and it will create all the directories from /tmp down to baz which
|
||||
# don't exist.
|
||||
#
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
make_dir () {
|
||||
if test ! -d $1; then
|
||||
make_dir `echo $1 | sed -e 's#/[^/]*$##'`
|
||||
$mkdirprog $1
|
||||
$chmodprog 755 $1
|
||||
fi
|
||||
}
|
||||
|
||||
make_dir `echo $1 | sed -e 's#/$##'`
|
||||
43
bin/newer
43
bin/newer
@@ -1,43 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# Compare the modification time of file argument 1 against other file arguments.
|
||||
# Return true (0) if argument 1 is newer than all others, otherwise return
|
||||
# false (1). If any of the argument is not a file, return false (1).
|
||||
#
|
||||
# Programmer: Albert Cheng
|
||||
# Created Date: 2005/07/06
|
||||
# Modification:
|
||||
# Albert Cheng 2005/8/30
|
||||
# Changed from two arguments to multiple arguments.
|
||||
|
||||
if test $# -lt 2; then
|
||||
exit 1
|
||||
fi
|
||||
if test ! -f $1; then
|
||||
exit 1
|
||||
fi
|
||||
f1=$1
|
||||
shift
|
||||
|
||||
for f in $*; do
|
||||
if test ! -f $f; then
|
||||
exit 1
|
||||
fi
|
||||
if test X = X`find $f1 -newer $f -print`; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
# passed all tests. Must be a file newer than all others.
|
||||
exit 0
|
||||
@@ -61,26 +61,21 @@ STDOUT_FILTER() {
|
||||
# Remove them from the stderr result file.
|
||||
# $1 is the file name of the file to be filtered.
|
||||
# Cases of filter needed:
|
||||
# 1. MPE:
|
||||
# In parallel mode and if MPE library is used, it prints the following
|
||||
# two message lines whether the MPE tracing is used or not.
|
||||
# Writing logfile.
|
||||
# Finished writing logfile.
|
||||
# 2. LANL MPI:
|
||||
# * LANL MPI:
|
||||
# The LANL MPI will print some messages like the following,
|
||||
# LA-MPI: *** mpirun (1.5.10)
|
||||
# LA-MPI: *** 3 process(es) on 2 host(s): 2*fln21 1*fln22
|
||||
# LA-MPI: *** libmpi (1.5.10)
|
||||
# LA-MPI: *** Copyright 2001-2004, ACL, Los Alamos National Laboratory
|
||||
# 3. h5diff debug output:
|
||||
# * h5diff debug output:
|
||||
# Debug output all have prefix "h5diff debug: ".
|
||||
# 4. AIX system prints messages like these when it is aborting:
|
||||
# * AIX system prints messages like these when it is aborting:
|
||||
# ERROR: 0031-300 Forcing all remote tasks to exit due to exit code 1 in task 0
|
||||
# ERROR: 0031-250 task 4: Terminated
|
||||
# ERROR: 0031-250 task 3: Terminated
|
||||
# ERROR: 0031-250 task 2: Terminated
|
||||
# ERROR: 0031-250 task 1: Terminated
|
||||
# 5. LLNL Blue-Gene mpirun prints messages like there when it exit non-zero:
|
||||
# * LLNL Blue-Gene mpirun prints messages like there when it exit non-zero:
|
||||
# <Apr 12 15:01:49.075658> BE_MPI (ERROR): The error message in the job record is as follows:
|
||||
# <Apr 12 15:01:49.075736> BE_MPI (ERROR): "killed by exit(1) on node 0"
|
||||
STDERR_FILTER() {
|
||||
@@ -91,12 +86,6 @@ STDERR_FILTER() {
|
||||
cp $result_file $tmp_file
|
||||
sed -e '/ BE_MPI (ERROR): /d' \
|
||||
< $tmp_file > $result_file
|
||||
# Filter MPE messages
|
||||
if test -n "$pmode"; then
|
||||
cp $result_file $tmp_file
|
||||
sed -e '/^Writing logfile./d' -e '/^Finished writing logfile./d' \
|
||||
< $tmp_file > $result_file
|
||||
fi
|
||||
# Filter LANL MPI messages
|
||||
# and LLNL srun messages
|
||||
# and AIX error messages
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# makeTarFiles.pl
|
||||
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,215 +0,0 @@
|
||||
#!/usr/bin/perl
|
||||
# makeInternalREADME.pl
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF4. The full HDF4 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
# of the source code distribution tree; Copyright.html can be found at the
|
||||
# root level of an installed copy of the electronic HDF4 document set and
|
||||
# is linked from the top-level documents page. It can also be found at
|
||||
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
|
||||
# access to either file, you may request a copy from help@hdfgroup.org.
|
||||
#
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
my $section2="For information on compilers and settings used to build these HDF5
|
||||
libraries, please refer to:
|
||||
|
||||
./lib/libhdf5.settings
|
||||
|
||||
The contents of this directory are:
|
||||
|
||||
COPYING - Copyright notice
|
||||
README - This file
|
||||
RELEASE.txt - Detailed information regarding this release
|
||||
bin/ - Directory containing HDF5 pre-compiled utilities
|
||||
include/ - Directory containing HDF5 include files
|
||||
lib/ - Directory containing HDF5 libraries and settings
|
||||
share/ - Directory containing example code in C, C++, and
|
||||
Fortran using HDF5 and HDF5 HL library APIs. The
|
||||
shell scripts provided with these examples will
|
||||
compile and run them, and will also test the
|
||||
h5cc, h5c++, and h5fc compile scripts found
|
||||
in the installed bin directory.
|
||||
|
||||
These binaries were built with the ZLIB and SZIP (version 2.1, Encoder
|
||||
ENABLED) external libraries which are included in the lib directory for
|
||||
convenience.
|
||||
|
||||
We also provide the ZLIB and SZIP source code on our ftp server at:
|
||||
|
||||
ftp://ftp.hdfgroup.org/lib-external/
|
||||
|
||||
The official ZLIB and SZIP pages are at:
|
||||
|
||||
ZLIB: http://www.zlib.net/
|
||||
SZIP: http://hdfgroup.org/doc_resource/SZIP/
|
||||
|
||||
";
|
||||
|
||||
my $section3 = "If using the shared libraries, you must add the HDF5 library path
|
||||
to the LD_LIBRARY_PATH variable.
|
||||
";
|
||||
|
||||
my $section4 = "We provide scripts for compiling applications with the HDF5 libraries:
|
||||
|
||||
bin/h5cc - for C
|
||||
bin/h5fc - for F90 (if Fortran 90 library is included with the binaries)
|
||||
bin/h5c++ - for C++ (if C++ library is included with the binaries)
|
||||
|
||||
After you have installed the binaries to their final destination, you can use
|
||||
these scripts (h5cc, h5fc, h5c++) to compile. However, you must first run
|
||||
./h5redeploy in the bin directory to change site specific paths in the scripts.
|
||||
|
||||
You may also need to change other variables in the scripts, depending
|
||||
on how things are set up on your system. Here are some of the variables
|
||||
to check:
|
||||
|
||||
prefix - Path to the HDF5 top level installation directory
|
||||
CCBASE - Name of the C compiler
|
||||
CLINKERBASE - Name of the linker
|
||||
LIBS - Libraries your application will link with
|
||||
|
||||
For further details refer to the INSTALL files in
|
||||
ftp://ftp.hdfgroup.org/HDF5/current/src/unpacked/release_docs/
|
||||
or in the ./release_docs/ directory of the HDF5 source code, which can be found
|
||||
on the HDF Group ftp server at ftp://ftp.hdfgroup.org/HDF5/current/src/.
|
||||
|
||||
Please send questions, comments, and suggestions to the appropriate
|
||||
contact address from http://www.hdfgroup.org/about/contact.html
|
||||
|
||||
|
||||
";
|
||||
|
||||
my $indirectory = ".";
|
||||
$indirectory = shift;
|
||||
my $linktype = "shared";
|
||||
if ($indirectory =~ /static/) {
|
||||
$linktype = "static";
|
||||
}
|
||||
my $modestring="";
|
||||
if ($indirectory =~ /32/) {
|
||||
$modestring = "in 32 bit mode ";
|
||||
}
|
||||
|
||||
my $version;
|
||||
|
||||
my $outfile = "$indirectory/README";
|
||||
open OUTFILE, ">$outfile" or die "$!Couldn't open $outfile - check permissions for $indirectory\n";
|
||||
my $hostname;
|
||||
my $cmd = "grep \"HDF5 Version\" $indirectory/lib/libhdf5.settings";
|
||||
$_ = `$cmd`;
|
||||
#print OUTFILE $_, "\n";
|
||||
s/HDF5 Version://;
|
||||
s/^\s+//;
|
||||
chomp;
|
||||
$version = $_;
|
||||
#print OUTFILE $_, "\n";
|
||||
|
||||
my $versionstring= "This directory contains the $linktype binary distribution of HDF5-".$version;
|
||||
|
||||
$cmd = "grep \"Uname information:\" $indirectory/lib/libhdf5.settings";
|
||||
$_ = `$cmd`;
|
||||
s/Uname information://;
|
||||
s/^\s+//;
|
||||
#print OUTFILE $_;
|
||||
chomp;
|
||||
#s/(^\w+)(\s)(\S+)/$1/;
|
||||
#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/;
|
||||
#my $platformstring = "\nthat was compiled on:" . $_ . " ";
|
||||
my $platformstring = "";
|
||||
my $hostnamestring = $_;
|
||||
my @hostnamestring = split / /, $hostnamestring;
|
||||
#print OUTFILE "Size of hostnamestring is ", scalar @hostnamestring, "\n";
|
||||
#print OUTFILE $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n";
|
||||
$hostname = $hostnamestring[1];
|
||||
#my $size = scalar @hostnamestring;
|
||||
if ($hostname =~ /loyalty/) {
|
||||
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " ";
|
||||
}
|
||||
elsif ($hostname =~ /freedom/) {
|
||||
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " ";
|
||||
} elsif ($hostname =~ /emu/) {
|
||||
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-2] . " ";
|
||||
} elsif ($hostname =~ /fred/) {
|
||||
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-1] . " ";
|
||||
} else {
|
||||
$_ = $hostnamestring[2];
|
||||
my $pos = index $_, '-';
|
||||
my $os = substr $_, 0, $pos;
|
||||
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0] . " " . $os . " " . $hostnamestring[-2] . " ";
|
||||
}
|
||||
|
||||
|
||||
my $mappingstring = "";
|
||||
#no mappingstring for 1.6. Put it back for 1.8.
|
||||
#$cmd = "grep \"Default API Mapping:\" $indirectory/lib/libhdf5.settings";
|
||||
#$_ = `$cmd`;
|
||||
#s/Default API Mapping://;
|
||||
#s/^\s+//;
|
||||
#chomp;
|
||||
#if (/v\d+/) {
|
||||
# s/v//;
|
||||
# s/(\d)(\d)/$1\.$2/g;
|
||||
# $mappingstring = "using the default\nAPI mapping for VERSION ".$_.".";
|
||||
#
|
||||
#}
|
||||
print OUTFILE $versionstring;
|
||||
print OUTFILE $platformstring."\n\n";
|
||||
#print OUTFILE $mappingstring;
|
||||
|
||||
#if ($hostname eq "loyalty.hdfgroup.uiuc.edu" || $hostname eq "freedom.hdfgroup.uiuc.edu") {
|
||||
# print OUTFILE " It includes the C APIs,\nbuilt using the following ";
|
||||
# print OUTFILE "compilers:\n\n";
|
||||
#}
|
||||
#else {
|
||||
if ($linktype eq "shared" && !($hostname =~ /32/)) {
|
||||
print OUTFILE "\n\nIt includes the C, C++, F90 and Java APIs, built using the following\n";
|
||||
} else {
|
||||
print OUTFILE "\n\nIt includes the C, C++, and F90 APIs, built using the following\n";
|
||||
}
|
||||
print OUTFILE "compilers:\n\n";
|
||||
#}
|
||||
|
||||
# Only the gcc compiler version is in libhdf5.settings, so for now I looked
|
||||
# up the versions and hardcoded them here. We will put them in libhdf5.settings
|
||||
# for the next release.
|
||||
if ($indirectory =~ /gnu484/) {
|
||||
print OUTFILE "\tgcc, g++, and gfortran 4.8.4\n\n";
|
||||
} elsif ($hostname =~ /jam/ || $hostname =~ /koala/) {
|
||||
print OUTFILE "\tgcc, g++, and gfortran 4.1.2\n\n";
|
||||
} elsif ($hostname =~ /platypus/) {
|
||||
print OUTFILE "\tgcc, g++, and gfortran 4.4.7\n\n";
|
||||
if ($linktype eq "shared" && !($hostname =~ /32/)) {
|
||||
print OUTFILE "\tjava 1.8.0_51\n\n";
|
||||
}
|
||||
} elsif ($hostname =~ /moohan/) {
|
||||
print OUTFILE "\tgcc, g++, and gfortran 4.8.5\n\n";
|
||||
if ($linktype eq "shared" && !($hostname =~ /32/)) {
|
||||
print OUTFILE "\tjava 1.8.0_51\n\n";
|
||||
}
|
||||
} elsif ($hostname =~ /emu/) {
|
||||
print OUTFILE "\tSun C and C++ 5.12, Sun Fortran 95 8.6\n\n";
|
||||
} elsif ($hostname =~ /loyalty/ || $hostname =~ /freedom/) {
|
||||
print OUTFILE "\tgcc, g++, and gfortran 4.6.1\n\n";
|
||||
} elsif ($hostname =~ /duck/) {
|
||||
print OUTFILE "\tApple clang/clang++ 3.0 from Xcode 4.6.1 and gfortran 4.8.2\n\n";
|
||||
} elsif ($hostname =~ /kite/) {
|
||||
print OUTFILE "\tApple clang/clang++ 5.1 from Xcode 5.0.2 and gfortran 4.8.2\n\n";
|
||||
} elsif ($hostname =~ /quail/) {
|
||||
print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n";
|
||||
} elsif ($hostname =~ /osx1010test/) {
|
||||
print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n";
|
||||
}
|
||||
|
||||
print OUTFILE $section2;
|
||||
|
||||
print OUTFILE $section3;
|
||||
|
||||
print OUTFILE $section4;
|
||||
|
||||
@@ -1,182 +0,0 @@
|
||||
#!/usr/bin/perl
|
||||
# makeOuterREADME.pl
|
||||
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF4. The full HDF4 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
# of the source code distribution tree; Copyright.html can be found at the
|
||||
# root level of an installed copy of the electronic HDF4 document set and
|
||||
# is linked from the top-level documents page. It can also be found at
|
||||
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
|
||||
# access to either file, you may request a copy from help@hdfgroup.org.
|
||||
#
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
my $indirectory = ".";
|
||||
$indirectory = shift;
|
||||
|
||||
my $outdirectory = ".";
|
||||
$outdirectory = shift;
|
||||
|
||||
my $outsubdir = shift;
|
||||
|
||||
my $version;
|
||||
|
||||
my $outfile = "$outdirectory/$outsubdir/README";
|
||||
open OUTFILE, ">$outfile";
|
||||
my $hostname="";
|
||||
my $cmd = "grep \"HDF5 Version\" $indirectory-static/lib/libhdf5.settings";
|
||||
$_ = `$cmd`;
|
||||
print OUTFILE $_, "\n";
|
||||
s/HDF5 Version://;
|
||||
s/^\s+//;
|
||||
chomp;
|
||||
$version = $_;
|
||||
#print OUTFILE $_, "\n";
|
||||
my $versionstring= "This directory contains the precompiled HDF5 $version binary distribution\n(include files, libraries, utilities) for";
|
||||
|
||||
$cmd = "grep \"Uname information:\" $indirectory-static/lib/libhdf5.settings";
|
||||
$_ = `$cmd`;
|
||||
s/Uname information://;
|
||||
s/^\s+//;
|
||||
chomp;
|
||||
print "String to work with is $_\n";
|
||||
my $platformstring = "";
|
||||
my $hostnamestring = $_;
|
||||
my @hostnamestring = split / /, $hostnamestring;
|
||||
$platformstring = "$hostnamestring[0] ";
|
||||
if ($indirectory =~ /jam/ || $indirectory =~ /koala/) {
|
||||
$hostnamestring = $hostnamestring[2];
|
||||
my $pos = index $hostnamestring, "-";
|
||||
if ($pos > 0) {
|
||||
$platformstring .= substr $hostnamestring, 0, $pos;
|
||||
} else {
|
||||
$platformstring .= $hostnamestring[2];
|
||||
}
|
||||
$platformstring .= " ".$hostnamestring[-3];
|
||||
} elsif ($indirectory =~ /linew/) {
|
||||
$platformstring .= "$hostnamestring[2] $hostnamestring[-2]";
|
||||
} else {
|
||||
$platformstring .= "$hostnamestring[2] $hostnamestring[-1]";
|
||||
}
|
||||
|
||||
print OUTFILE $versionstring." ".$platformstring.":\n\n";
|
||||
my $line1;
|
||||
my $line3;
|
||||
my $line5;
|
||||
my $compilerstring="";
|
||||
my $compilerstring1="";
|
||||
my $compilerstring2="";
|
||||
|
||||
|
||||
print $indirectory, "\n";
|
||||
|
||||
if ($indirectory =~ /ostrich/) {
|
||||
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " gcc, g++, and gfortran 4.4.7)";
|
||||
}
|
||||
elsif ($indirectory =~ /platypus/) {
|
||||
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring1 = " gcc, g++, and gfortran 4.4.7)\n";
|
||||
if ($indirectory =~ /32/) {
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
|
||||
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
|
||||
} else {
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
|
||||
$compilerstring2 = " gcc, g++, and gfortran 4.4.7 and java 1.8.0_51)\n";
|
||||
}
|
||||
}
|
||||
elsif ($indirectory =~ /moohan/) {
|
||||
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring1 = " gcc, g++, and gfortran 4.8.5)\n";
|
||||
if ($indirectory =~ /32/) {
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
|
||||
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
|
||||
} else {
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
|
||||
$compilerstring2 = " gcc, g++, and gfortran 4.8.5 and java 1.8.0_51)\n";
|
||||
}
|
||||
}
|
||||
elsif ($indirectory =~ /emu/) {
|
||||
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " Sun C and C++ 5.12, Sun Fortran 95 8.6)\n";
|
||||
}
|
||||
elsif ($indirectory =~ /kite/) {
|
||||
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " Apple clang/clang++ 5.1 from Xcode 5.0.2,
|
||||
gfortran 4.8.2)\n";
|
||||
}
|
||||
elsif ($indirectory =~ /quail/) {
|
||||
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " Apple clang/clang++ 6.0 from Xcode 5.1,
|
||||
gfortran 4.9.2)\n";
|
||||
}
|
||||
elsif ($indirectory =~ /osx1010test/) {
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " Apple clang/clang++ 6.1 from Xcode 6.1,
|
||||
gfortran 4.9.2)\n";
|
||||
}
|
||||
elsif ($indirectory =~ /osx1011test/) {
|
||||
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
|
||||
$compilerstring = " Apple clang/clang++ 7.0.2 from Xcode 7.0,
|
||||
gfortran 5.2.0)\n";
|
||||
}
|
||||
|
||||
print OUTFILE $line3;
|
||||
print OUTFILE $compilerstring1."\n";
|
||||
if ($line5 ne "") {
|
||||
print OUTFILE $line5;
|
||||
print OUTFILE $compilerstring2."\n";
|
||||
}
|
||||
#elsif ($indirectory =~ /-16API/) {
|
||||
# print OUTFILE $line1;
|
||||
# print OUTFILE $compilerstring;
|
||||
# print OUTFILE " USES THE VERSION 1.6 DEFAULT API\n";
|
||||
# print OUTFILE " MAPPING.\n\n";
|
||||
#}
|
||||
|
||||
print OUTFILE " utilities/ - Directory containing the compiled HDF5 utilities.\n";
|
||||
print OUTFILE " These utilities are STATICALLY linked and will run as is.\n\n";
|
||||
#print OUTFILE " The tools can be downloaded separately, or ALL in one\n";
|
||||
#print OUTFILE " compressed file (5-$version-$outsubdir-static-util.tar.gz).\n\n";
|
||||
print OUTFILE "\n";
|
||||
print OUTFILE "To obtain the HDF5 distribution, 'unzip' and 'untar' the distribution\n";
|
||||
print OUTFILE "file:\n\n";
|
||||
print OUTFILE " gzip -cd <gz file from above> | tar xvf -\n";
|
||||
|
||||
|
||||
#$cmd = "grep \"Configured by:\" $indirectory/$key-static/lib/libhdf5.settings";
|
||||
#$_ = `$cmd`;
|
||||
#s/Configured by://;
|
||||
#s/^\s+//;
|
||||
#print OUTFILE $_;
|
||||
#chomp;
|
||||
#my $hostnamestring = $_;
|
||||
#s/(^\w+)(\s)(\S+)/$1/;
|
||||
#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/;
|
||||
#my $platformstring = $_ . ":\n\n";
|
||||
#my @hostnamestring = split /@/, $hostnamestring;
|
||||
#print "Size of hostnamestring is ", scalar @hostnamestring, "\n";
|
||||
#print $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n";
|
||||
#my $platformstring = $hostnamestring[1].":\n\n";
|
||||
#$hostnamestring = $hostnamestring[1];
|
||||
#my $pos = index $hostnamestring, ".";
|
||||
#if ($pos > 0) {
|
||||
# @hostnamestring = split /\./, $hostnamestring;
|
||||
# $platformstring = $hostnamestring[0].":\n\n";
|
||||
#}
|
||||
33
bin/release
33
bin/release
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -53,23 +52,23 @@ for compressing the resulting tar archive (if none are given then
|
||||
information is available in the README_HPC file.
|
||||
doc -- produce the latest doc tree in addition to the archive.
|
||||
|
||||
An md5 checksum is produced for each archive created and stored in the md5 file.
|
||||
A sha256 checksum is produced for each archive created and stored in the sha256 file.
|
||||
|
||||
Examples:
|
||||
|
||||
$ bin/release -d /tmp
|
||||
/tmp/hdf5-1.8.13-RELEASE.txt
|
||||
/tmp/hdf5-1.8.13.md5
|
||||
/tmp/hdf5-1.8.13.sha256
|
||||
/tmp/hdf5-1.8.13.tar
|
||||
|
||||
$ bin/release -d /tmp gzip
|
||||
/tmp/hdf5-1.8.13-RELEASE.txt
|
||||
/tmp/hdf5-1.8.13.md5
|
||||
/tmp/hdf5-1.8.13.sha256
|
||||
/tmp/hdf5-1.8.13.tar.gz
|
||||
|
||||
$ bin/release -d /tmp tar gzip zip
|
||||
/tmp/hdf5-1.8.13-RELEASE.txt
|
||||
/tmp/hdf5-1.8.13.md5
|
||||
/tmp/hdf5-1.8.13.sha256
|
||||
/tmp/hdf5-1.8.13.tar
|
||||
/tmp/hdf5-1.8.13.tar.gz
|
||||
/tmp/hdf5-1.8.13.tar.zip
|
||||
@@ -206,7 +205,7 @@ tar2cmakezip()
|
||||
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmziptmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmziptmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.14.4-Source.zip $cmziptmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-2.0.2-Source.zip $cmziptmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-master.zip $cmziptmpsubdir
|
||||
cp $cmziptmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmziptmpsubdir
|
||||
cp $cmziptmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmziptmpsubdir
|
||||
@@ -298,7 +297,7 @@ tar2cmaketgz()
|
||||
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.14.4-Source.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-2.0.2-Source.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-master.tar.gz $cmgztmpsubdir
|
||||
cp $cmgztmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmgztmpsubdir
|
||||
cp $cmgztmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmgztmpsubdir
|
||||
@@ -377,7 +376,7 @@ tar2hpccmaketgz()
|
||||
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.14.4-Source.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-2.0.2-Source.tar.gz $cmgztmpsubdir
|
||||
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-master.tar.gz $cmgztmpsubdir
|
||||
cp $cmgztmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmgztmpsubdir
|
||||
cp $cmgztmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmgztmpsubdir
|
||||
@@ -532,43 +531,43 @@ test "$verbose" && echo " Running tar..." 1>&2
|
||||
(cd "$tmpdir" && exec tar -ch --exclude-vcs -f "$HDF5_VERS.tar" "./$HDF5_VERS" || exit 1 )
|
||||
|
||||
# Compress
|
||||
MD5file=$HDF5_VERS.md5
|
||||
cp /dev/null $DEST/$MD5file
|
||||
SHA256=$HDF5_VERS.sha256
|
||||
cp /dev/null $DEST/$SHA256
|
||||
for comp in $methods; do
|
||||
case $comp in
|
||||
tar)
|
||||
cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar
|
||||
(cd $DEST; md5sum $HDF5_VERS.tar >> $MD5file)
|
||||
(cd $DEST; sha256sum $HDF5_VERS.tar >> $SHA256)
|
||||
;;
|
||||
gzip)
|
||||
test "$verbose" && echo " Running gzip..." 1>&2
|
||||
gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz
|
||||
(cd $DEST; md5sum $HDF5_VERS.tar.gz >> $MD5file)
|
||||
(cd $DEST; sha256sum $HDF5_VERS.tar.gz >> $SHA256)
|
||||
;;
|
||||
cmake-tgz)
|
||||
test "$verbose" && echo " Creating CMake tar.gz file..." 1>&2
|
||||
tar2cmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.tar.gz 1>&2
|
||||
(cd $DEST; md5sum CMake-$HDF5_VERS.tar.gz >> $MD5file)
|
||||
(cd $DEST; sha256sum CMake-$HDF5_VERS.tar.gz >> $SHA256)
|
||||
;;
|
||||
hpc-cmake-tgz)
|
||||
test "$verbose" && echo " Creating HPC-CMake tar.gz file..." 1>&2
|
||||
tar2hpccmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/HPC-CMake-$HDF5_VERS.tar.gz 1>&2
|
||||
(cd $DEST; md5sum HPC-CMake-$HDF5_VERS.tar.gz >> $MD5file)
|
||||
(cd $DEST; sha256sum HPC-CMake-$HDF5_VERS.tar.gz >> $SHA256)
|
||||
;;
|
||||
bzip2)
|
||||
test "$verbose" && echo " Running bzip2..." 1>&2
|
||||
bzip2 -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.bz2
|
||||
(cd $DEST; md5sum $HDF5_VERS.tar.bz2 >> $MD5file)
|
||||
(cd $DEST; sha256sum $HDF5_VERS.tar.bz2 >> $SHA256)
|
||||
;;
|
||||
zip)
|
||||
test "$verbose" && echo " Creating zip ball..." 1>&2
|
||||
tar2zip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2
|
||||
(cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file)
|
||||
(cd $DEST; sha256sum $HDF5_VERS.zip >> $SHA256)
|
||||
;;
|
||||
cmake-zip)
|
||||
test "$verbose" && echo " Creating CMake-zip ball..." 1>&2
|
||||
tar2cmakezip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.zip 1>&2
|
||||
(cd $DEST; md5sum CMake-$HDF5_VERS.zip >> $MD5file)
|
||||
(cd $DEST; sha256sum CMake-$HDF5_VERS.zip >> $SHA256)
|
||||
;;
|
||||
doc)
|
||||
if [ "${DOCVERSION}" = "" ]; then
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# Copyright by The HDF Group.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
|
||||
@@ -5,7 +5,6 @@ $indent=4;
|
||||
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env perl
|
||||
##
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@@ -77,7 +76,6 @@ $Source = "";
|
||||
"H5G_obj_t" => "Go",
|
||||
"H5G_stat_t" => "Gs",
|
||||
"hsize_t" => "h",
|
||||
"H5_alloc_stats_t" => "Ha",
|
||||
"H5_atclose_func_t" => "Hc",
|
||||
"hssize_t" => "Hs",
|
||||
"H5E_major_t" => "i", # H5E_major_t is typedef'd to hid_t
|
||||
|
||||
22
bin/warnhist
22
bin/warnhist
@@ -8,12 +8,10 @@ use warnings;
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
# of the source code distribution tree; Copyright.html can be found at the
|
||||
# root level of an installed copy of the electronic HDF5 document set and
|
||||
# is linked from the top-level documents page. It can also be found at
|
||||
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
# access to either file, you may request a copy from help@hdfgroup.org.
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# Quincey Koziol
|
||||
# 9 Aug 2013
|
||||
@@ -247,6 +245,18 @@ while (<>) {
|
||||
} elsif($_ =~ /^\s*[Ww]arning:.*/) {
|
||||
$name = $last_c_name;
|
||||
($toss, $warning, $extra, $extra2) = split /\:/, $_;
|
||||
# Check for file-scope gcc Fortran warning output
|
||||
} elsif($_ =~ /f\d\d\d: Warning:/) {
|
||||
# These are interspersed with the "compiling a file" output
|
||||
# when compiling with `make -j` and thus difficult to tie to
|
||||
# any particular file. They are due to things like inappropriate
|
||||
# build options and don't have a line number.
|
||||
#
|
||||
# They start with f, as in f951
|
||||
$name = "(generic)";
|
||||
$line = int(rand(1000000)); # Hack to avoid counting as duplictates
|
||||
|
||||
($warning) = $_ =~ /\[(.*)\]/x;
|
||||
# Check for FORTRAN warning output
|
||||
} elsif($_ =~ /^Warning:.*/) {
|
||||
$name = $last_fort_name;
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
# terms governing use, modification, and redistribution, is contained in
|
||||
# the COPYING file, which can be found at the root of the source code
|
||||
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
||||
# If you do not have access to either file, you may request a copy from
|
||||
# help@hdfgroup.org.
|
||||
#
|
||||
# Fix configure file so that it can launch configure testing executable
|
||||
# via the proper launching command, e.g., yod. (Thus the name yodconfigure
|
||||
# is used.)
|
||||
#
|
||||
# Author: Albert Cheng
|
||||
|
||||
if [ "$1" = -f ]; then
|
||||
FORCEMODE=yes
|
||||
echo turn FORCEMODE to $FORCEMODE
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $0 [-f] <configure file>"
|
||||
echo " -f apply the change even if it has been applied already."
|
||||
exit 1
|
||||
fi
|
||||
confile=$1
|
||||
|
||||
if [ ! -w $confile ]; then
|
||||
echo "$0: $confile is not writable"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ACTRY_NAME="ACTRY()"
|
||||
if grep ^"$ACTRY_NAME"$ $confile >/dev/null 2>&1 && [ "$FORCEMODE" != yes ]; then
|
||||
echo "$0: $confile is already yodconfigure ready. Use -f to force yodconfigure again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Insert the ACTRY function after the 1st line which is the #!/bin/sh.
|
||||
# Change all "eval $ac_try" commands to call ACTRY.
|
||||
# auto-configure have changed the ac_try syntax from 'eval $ac_try' to
|
||||
# 'eval "$ac_try"'. Thus requiring two very similar global-substitute.
|
||||
# The single quotes around EOF tell shell NOT to expand or do substitution in
|
||||
# the body of ed input.
|
||||
#
|
||||
ed - $confile <<'EOF'
|
||||
1a
|
||||
# ===inserted by yodconfigure ====
|
||||
# ACTRY will figure out when it is approprirate to run the command by the
|
||||
# $RUNSERIAL launcher (e.g., yod -sz 1) and when to just run it as is.
|
||||
# So far, ./a.out and ./conftest are names of real executable that should
|
||||
# be run by $RUNSERIAL.
|
||||
#
|
||||
# (uncomment the echo line if you want to see what is going on.)
|
||||
ACTRY()
|
||||
{
|
||||
#echo ACTRY: args are: $* > /dev/tty
|
||||
if [ "$1" = ./a.out -o "$1" = ./conftest ]; then
|
||||
# echo $RUNSERIAL $* > /dev/tty
|
||||
$RUNSERIAL $*
|
||||
else
|
||||
$*
|
||||
fi
|
||||
}
|
||||
# === end of ACTRY inserted by yodconfigure ====
|
||||
.
|
||||
g/eval $ac_try/s/eval/eval ACTRY/
|
||||
g/eval "$ac_try"/s/eval/eval ACTRY/
|
||||
w
|
||||
q
|
||||
EOF
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.12)
|
||||
cmake_minimum_required (VERSION 3.18)
|
||||
project (HDF5_CPP CXX)
|
||||
|
||||
add_subdirectory (src)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.12)
|
||||
cmake_minimum_required (VERSION 3.18)
|
||||
project (HDF5_CPP_EXAMPLES CXX)
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
@@ -55,7 +55,7 @@ foreach (example ${examples})
|
||||
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
|
||||
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
|
||||
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
|
||||
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
|
||||
-P "${HDF_RESOURCES_DIR}/runTest.cmake"
|
||||
)
|
||||
endif ()
|
||||
set_tests_properties (CPP_ex_${example} PROPERTIES FIXTURES_REQUIRED clear_cppex)
|
||||
@@ -107,7 +107,7 @@ foreach (example ${tutr_examples})
|
||||
-D "TEST_OUTPUT=tutr_cpp_ex_${example}.txt"
|
||||
#-D "TEST_REFERENCE=cpp_ex_tutr_${example}.out"
|
||||
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
|
||||
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
|
||||
-P "${HDF_RESOURCES_DIR}/runTest.cmake"
|
||||
)
|
||||
endif ()
|
||||
set_tests_properties (CPP_ex_${example} PROPERTIES FIXTURES_REQUIRED clear_cppex_tutr)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright by The HDF Group.
|
||||
# Copyright by the Board of Trustees of the University of Illinois.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -10402,13 +10402,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::moveLink(const char* src_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
dst, const char* dst_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10441,13 +10441,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::moveLink(const H5std_string& src_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
dst, const H5std_string& dst_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10480,10 +10480,10 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::moveLink(const char* src_name, const char* dst_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10516,13 +10516,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::moveLink(const H5std_string& src_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
H5std_string& dst_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10693,7 +10693,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>const LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>const<span style='mso-spacerun:yes'> </span>LinkAccPropList&
|
||||
normal'>const<span style='mso-spacerun:yes'> </span>LinkAccPropList&
|
||||
lapl = LinkAccPropList::DEFAULT) </p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10770,13 +10770,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const char *curr_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
new_loc, const char *new_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10809,13 +10809,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const H5std_string& curr_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
normal'><span style='mso-spacerun:yes'> </span>const Group&
|
||||
new_loc, const H5std_string& new_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10848,13 +10848,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const char *curr_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const hid_t
|
||||
normal'><span style='mso-spacerun:yes'> </span>const hid_t
|
||||
same_loc, const char *new_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10887,13 +10887,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const H5std_string& curr_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const hid_t
|
||||
normal'><span style='mso-spacerun:yes'> </span>const hid_t
|
||||
same_loc, const H5std_string& new_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10932,10 +10932,10 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const char *target_name, const char *link_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -10968,13 +10968,13 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::link(const H5std_string& target_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
H5std_string& link_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11085,7 +11085,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void CommonFG::unlink( const char* name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11119,7 +11119,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void CommonFG::unlink( const H5std_string& name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11153,7 +11153,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::unlink( const char* name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
normal'><span style='mso-spacerun:yes'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11187,7 +11187,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void H5Location::unlink( const H5std_string& name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>const LinkAccPropList&
|
||||
normal'><span style='mso-spacerun:yes'> </span>const LinkAccPropList&
|
||||
lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11495,7 +11495,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>H5L_info2_t getLinkInfo(const char* link_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-tab-count:1'> </span>const
|
||||
normal'><span style='mso-tab-count:1'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -11528,7 +11528,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>H5L_info2_t getLinkInfo(const H5std_string& link_name,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-tab-count:1'> </span>const
|
||||
normal'><span style='mso-tab-count:1'> </span>const
|
||||
LinkAccPropList& lapl = LinkAccPropList::DEFAULT)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -14522,7 +14522,7 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
normal'>void DSetCreatPropList::setFilter(H5Z_filter_t filter_id, unsigned
|
||||
int flags,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t cd_nelmts, const
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t cd_nelmts, const
|
||||
unsigned int cd_values[])</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -14597,10 +14597,10 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>H5Z_filter_t DSetCreatPropList::getFilter(int filter_number,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>unsigned int
|
||||
normal'><span style='mso-spacerun:yes'> </span>unsigned int
|
||||
&flags, size_t &cd_nelmts, unsigned int* cd_values,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t namelen, char
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t namelen, char
|
||||
name[], unsigned int& filter_config)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -14639,10 +14639,10 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'>void DSetCreatPropList::getFilterById(H5Z_filter_t filter_id,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>unsigned int
|
||||
normal'><span style='mso-spacerun:yes'> </span>unsigned int
|
||||
&flags, size_t &cd_nelmts, unsigned int* cd_values,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t namelen, char
|
||||
normal'><span style='mso-spacerun:yes'> </span>size_t namelen, char
|
||||
name[], unsigned int &filter_config)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
@@ -19291,10 +19291,10 @@ normal'><span style='font-size:14.0pt;mso-bidi-font-size:11.0pt;line-height:
|
||||
normal'>void H5Library::setFreeListLimits(int reg_global_lim, int
|
||||
reg_list_lim,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>int arr_global_lim, int
|
||||
normal'><span style='mso-spacerun:yes'> </span>int arr_global_lim, int
|
||||
arr_list_lim, int blk_global_lim,</p>
|
||||
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
|
||||
normal'><span style='mso-spacerun:yes'> </span>int blk_list_lim)</p>
|
||||
normal'><span style='mso-spacerun:yes'> </span>int blk_list_lim)</p>
|
||||
</td>
|
||||
<td width=35 valign=top style='width:26.05pt;border-top:none;border-left:
|
||||
none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.12)
|
||||
cmake_minimum_required (VERSION 3.18)
|
||||
project (HDF5_CPP_SRC CXX)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -173,8 +173,8 @@ endif ()
|
||||
#-----------------------------------------------------------------------------
|
||||
set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
|
||||
set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
|
||||
set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
|
||||
set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${HDF5_INSTALL_LIB_DIR})
|
||||
set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${HDF5_INSTALL_INCLUDE_DIR})
|
||||
set (_PKG_CONFIG_LIBNAME "${HDF5_CPP_LIB_CORENAME}")
|
||||
set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")
|
||||
|
||||
@@ -187,8 +187,8 @@ if (BUILD_SHARED_LIBS)
|
||||
set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_CPP_LIB_CORENAME}")
|
||||
endif ()
|
||||
|
||||
set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
|
||||
set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
|
||||
set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}")
|
||||
set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME} = ${HDF5_PACKAGE_VERSION}")
|
||||
|
||||
configure_file (
|
||||
${HDF_CONFIG_DIR}/libhdf5.pc.in
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// C++ informative line for the emacs editor: -*- C++ -*-
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user