Skip to content

Commit d3486ba

Browse files
committed
zlibng needs code ifdefs/defines
1 parent 5a7eddb commit d3486ba

File tree

3 files changed

+38
-31
lines changed

3 files changed

+38
-31
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Each line is a file pattern followed by one or more owners.
33

44
# These owners will be the default owners for everything in the repo.
5-
* @lrknox @byrnHDF @derobins @fortnern @jhendersonHDF @qkoziol @vchoi-hdfgroup @bmribler @glennsong09 @mattjala @brtnfld @epourmal
5+
* @lrknox @byrnHDF @derobins @fortnern @jhendersonHDF @bmribler @glennsong09 @mattjala @brtnfld
66

77
# Order is important. The last matching pattern has the most precedence.
88
# So if a pull request only touches javascript files, only these owners

.github/workflows/cmake-ctest.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
shell: bash
199199

200200
- name: Sign files with Trusted Signing
201-
uses: azure/trusted-signing-action@v0.4.0
201+
uses: azure/trusted-signing-action@v0.5.0
202202
with:
203203
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
204204
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -284,23 +284,23 @@ jobs:
284284
with:
285285
repo: 'HDFGroup/hdf5'
286286
version: 'tags/snapshot'
287-
file: '${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz'
287+
file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz'
288288

289289
- name: Get hdf5 release
290290
if: ${{ (inputs.use_environ == 'release') }}
291291
uses: dsaltares/fetch-gh-release-asset@master
292292
with:
293293
repo: 'HDFGroup/hdf5'
294294
version: 'tags/${{ inputs.use_hdf }}'
295-
file: '${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz'
295+
file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz'
296296

297297
- name: List files for the space (Linux)
298298
run: |
299299
ls -l ${{ github.workspace }}
300300
ls ${{ runner.workspace }}
301301
302302
- name: Uncompress gh binary (Linux)
303-
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz
303+
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz
304304

305305
- name: Uncompress hdf5 binary (Linux)
306306
run: |
@@ -350,21 +350,21 @@ jobs:
350350
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/README.txt ${{ runner.workspace }}/build/hdf5_plugins
351351
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/*.tar.gz ${{ runner.workspace }}/build/hdf5_plugins
352352
cd "${{ runner.workspace }}/build"
353-
tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz hdf5_plugins
353+
tar -zcvf ${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.tar.gz hdf5_plugins
354354
shell: bash
355355

356356
- name: Publish deb binary (Linux)
357357
id: publish-ctest-deb-binary
358358
run: |
359359
mkdir "${{ runner.workspace }}/builddeb"
360-
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/*.deb ${{ runner.workspace }}/builddeb/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb
360+
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/*.deb ${{ runner.workspace }}/builddeb/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.deb
361361
shell: bash
362362

363363
- name: Publish rpm binary (Linux)
364364
id: publish-ctest-rpm-binary
365365
run: |
366366
mkdir "${{ runner.workspace }}/buildrpm"
367-
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/*.rpm ${{ runner.workspace }}/buildrpm/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm
367+
cp ${{ runner.workspace }}/hdf5_plugins/build/${{ inputs.preset_name }}-GNUC/*.rpm ${{ runner.workspace }}/buildrpm/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.rpm
368368
shell: bash
369369

370370
- name: List files in the space (Linux)
@@ -376,22 +376,22 @@ jobs:
376376
- name: Save published binary (Linux)
377377
uses: actions/upload-artifact@v4
378378
with:
379-
name: tgz-ubuntu-2204_gcc-binary
380-
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
379+
name: tgz-ubuntu-2404_gcc-binary
380+
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.tar.gz
381381
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
382382

383383
- name: Save published binary deb (Linux)
384384
uses: actions/upload-artifact@v4
385385
with:
386-
name: deb-ubuntu-2204_gcc-binary
387-
path: ${{ runner.workspace }}/builddeb/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb
386+
name: deb-ubuntu-2404_gcc-binary
387+
path: ${{ runner.workspace }}/builddeb/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.deb
388388
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
389389

390390
- name: Save published binary rpm (Linux)
391391
uses: actions/upload-artifact@v4
392392
with:
393-
name: rpm-ubuntu-2204_gcc-binary
394-
path: ${{ runner.workspace }}/buildrpm/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm
393+
name: rpm-ubuntu-2404_gcc-binary
394+
path: ${{ runner.workspace }}/buildrpm/${{ steps.set-file-base.outputs.FILE_BASE }}-ubuntu-2404_gcc.rpm
395395
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
396396

397397
build_and_test_mac_latest:

.github/workflows/cmake-script.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
#set (CTEST_DROP_SITE_INIT "my.cdash.org")
145145
# Change following line to submit to your CDash dashboard to a different CDash project
146146
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
147+
set (MODEL "GHDaily")
148+
set (GROUP "GHDaily")
147149
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
148150
set (ADD_BUILD_OPTIONS "-DUSE_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON")
149151
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DTGZPATH:PATH=${CTEST_SOURCE_DIRECTORY}/libs -DH5PL_ALLOW_EXTERNAL_SUPPORT:STRING=\"TGZ\"")
@@ -154,7 +156,7 @@ jobs:
154156
HDF5_ROOT: ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}
155157
run: |
156158
cd "${{ runner.workspace }}/hdf5_plugins"
157-
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH,LOCAL_SUBMIT=ON,BUILD_GENERATOR=VS202264,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
159+
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }},LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=VS202264,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
158160
shell: bash
159161
continue-on-error: true
160162

@@ -175,7 +177,7 @@ jobs:
175177
- name: Install CMake Dependencies (Linux)
176178
run: |
177179
sudo apt-get update
178-
sudo apt-get install ninja-build doxygen graphviz curl
180+
sudo apt-get install ninja-build graphviz curl
179181
180182
- name: Set file base name (Linux)
181183
id: set-file-base
@@ -196,23 +198,23 @@ jobs:
196198
with:
197199
repo: 'HDFGroup/hdf5'
198200
version: 'tags/snapshot'
199-
file: '${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz'
201+
file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz'
200202

201203
- name: Get hdf5 release
202204
if: ${{ (inputs.use_environ == 'release') }}
203205
uses: dsaltares/fetch-gh-release-asset@master
204206
with:
205207
repo: 'HDFGroup/hdf5'
206208
version: 'tags/${{ inputs.use_hdf }}'
207-
file: '${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz'
209+
file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz'
208210

209211
- name: List files for the space (Linux)
210212
run: |
211213
ls -l ${{ github.workspace }}
212214
ls ${{ runner.workspace }}
213215
214216
- name: Uncompress gh binary (Linux)
215-
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2204_gcc.tar.gz
217+
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz
216218

217219
- name: Uncompress hdf5 binary (Linux)
218220
run: |
@@ -263,18 +265,19 @@ jobs:
263265
#set (CTEST_DROP_SITE_INIT "my.cdash.org")
264266
# Change following line to submit to your CDash dashboard to a different CDash project
265267
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
268+
set (MODEL "GHDaily")
269+
set (GROUP "GHDaily")
266270
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
267271
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
268272
set (ADD_BUILD_OPTIONS "-DUSE_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON")
269273
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DTGZPATH:PATH=${CTEST_SOURCE_DIRECTORY}/libs -DH5PL_ALLOW_EXTERNAL_SUPPORT:STRING=\"TGZ\"")
270-
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
271274
272275
- name: Run ctest (Linux)
273276
env:
274277
HDF5_ROOT: ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}
275278
run: |
276279
cd "${{ runner.workspace }}/hdf5_plugins"
277-
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-GCC,LOCAL_SUBMIT=ON,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
280+
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-GCC,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
278281
shell: bash
279282
continue-on-error: true
280283

@@ -382,18 +385,19 @@ jobs:
382385
# Change following line to submit to your CDash dashboard to a different CDash project
383386
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
384387
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
388+
set (MODEL "GHDaily")
389+
set (GROUP "GHDaily")
385390
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
386391
set (ADD_BUILD_OPTIONS "-DUSE_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON")
387392
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DTGZPATH:PATH=${CTEST_SOURCE_DIRECTORY}/libs -DH5PL_ALLOW_EXTERNAL_SUPPORT:STRING=\"TGZ\"")
388-
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
389393
390394
- name: Run ctest (MacOS_latest)
391395
id: run-ctest
392396
env:
393397
HDF5_ROOT: ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}
394398
run: |
395399
cd "${{ runner.workspace }}/hdf5_plugins"
396-
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-Clang,LOCAL_SUBMIT=ON,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
400+
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-Clang,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
397401
shell: bash
398402
continue-on-error: true
399403

@@ -527,11 +531,13 @@ jobs:
527531
#set (CTEST_DROP_SITE_INIT "my.cdash.org")
528532
# Change following line to submit to your CDash dashboard to a different CDash project
529533
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
530-
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
531534
#set (CMAKE_GENERATOR_TOOLSET "Intel C++ Compiler 2024,fortran=ifx")
535+
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
536+
set (MODEL "GHDaily")
537+
set (GROUP "GHDaily")
538+
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
532539
set (ADD_BUILD_OPTIONS "-DUSE_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON")
533540
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DTGZPATH:PATH=${CTEST_SOURCE_DIRECTORY}/libs -DH5PL_ALLOW_EXTERNAL_SUPPORT:STRING=\"TGZ\"")
534-
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
535541
536542
- name: Run ctest (Windows_intel) with oneapi
537543
env:
@@ -541,7 +547,7 @@ jobs:
541547
HDF5_ROOT: ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}
542548
run: |
543549
cd "${{ runner.workspace }}/hdf5_plugins"
544-
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-Intel,LOCAL_SUBMIT=ON,BUILD_GENERATOR=VS202264,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
550+
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-Intel,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=VS202264,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
545551
shell: pwsh
546552
continue-on-error: true
547553

@@ -590,23 +596,23 @@ jobs:
590596
with:
591597
repo: 'HDFGroup/hdf5'
592598
version: 'tags/snapshot'
593-
file: '${{ inputs.use_hdf }}-ubuntu-2204_intel.tar.gz'
599+
file: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz'
594600

595601
- name: Get hdf5 release (Linux_intel)
596602
if: ${{ (inputs.use_environ == 'release') }}
597603
uses: dsaltares/fetch-gh-release-asset@master
598604
with:
599605
repo: 'HDFGroup/hdf5'
600606
version: 'tags/${{ inputs.use_hdf }}'
601-
file: '${{ inputs.use_hdf }}-ubuntu-2204_intel.tar.gz'
607+
file: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz'
602608

603609
- name: List files for the space (Linux_intel)
604610
run: |
605611
ls -l ${{ github.workspace }}
606612
ls ${{ runner.workspace }}
607613
608614
- name: Uncompress gh binary (Linux_intel)
609-
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2204_intel.tar.gz
615+
run: tar -zxvf ${{ github.workspace }}/${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz
610616

611617
- name: Uncompress hdf5 binary (Linux_intel)
612618
run: |
@@ -658,10 +664,11 @@ jobs:
658664
# Change following line to submit to your CDash dashboard to a different CDash project
659665
#set (CTEST_DROP_LOCATION_INIT "/submit.php?project=HDF5")
660666
set (SITE_BUILDNAME_SUFFIX "${{ steps.set-file-base.outputs.FILE_BASE }}")
667+
set (MODEL "GHDaily")
668+
set (GROUP "GHDaily")
661669
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
662670
set (ADD_BUILD_OPTIONS "-DUSE_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON")
663671
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DTGZPATH:PATH=${CTEST_SOURCE_DIRECTORY}/libs -DH5PL_ALLOW_EXTERNAL_SUPPORT:STRING=\"TGZ\"")
664-
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} --log-level=VERBOSE")
665672
666673
- name: Run ctest (Linux_intel)
667674
env:
@@ -671,7 +678,7 @@ jobs:
671678
HDF5_ROOT: ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}
672679
run: |
673680
cd "${{ runner.workspace }}/hdf5_plugins"
674-
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-Intel,LOCAL_SUBMIT=ON,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
681+
ctest -S HDF5PLconfig.cmake,CTEST_SITE_EXT=GH-${{ github.event.repository.full_name }}-Intel,LOCAL_SUBMIT=ON,NINJA=TRUE,BUILD_GENERATOR=Unix,CTEST_SOURCE_NAME=${{ steps.set-file-base.outputs.SOURCE_BASE }} -C Release -VV -O hdf5_plugins.log
675682
shell: bash
676683
continue-on-error: true
677684

0 commit comments

Comments
 (0)