forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into fix_G…
…H-4447
- Loading branch information
Showing
122 changed files
with
7,632 additions
and
845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: hdf5 publish files in HDF5 folder from branch to S3 | ||
|
||
# Triggers the workflow on demand | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
local_dir: | ||
description: 'HDF5 local directory' | ||
type: string | ||
required: true | ||
target_dir: | ||
description: 'hdf5 target bucket directory' | ||
type: string | ||
required: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
publish-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Get Sources | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
ref: '${{ github.head_ref || github.ref_name }}' | ||
|
||
- name: List files for the space | ||
run: | | ||
ls -l ${{ github.workspace }} | ||
ls ${{ github.workspace }}/HDF5 | ||
- name: Setup AWS CLI | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- name: Sync dir to S3 bucket | ||
run: | | ||
aws s3 sync ./HDF5/${{ inputs.local_dir }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
- name: Configure HDF5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
- name: Checkout Argobots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
- name: Checkout Argobots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
- name: Checkout vol-external-passthrough | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
# Log-based VOL currently doesn't have CMake support | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,6 @@ jobs: | |
- name: Checkout HDF5 | ||
uses: actions/[email protected] | ||
with: | ||
repository: HDFGroup/hdf5 | ||
path: hdf5 | ||
|
||
- name: Configure HDF5 with REST VOL connector | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ | |
# [email protected]. | ||
# | ||
option (HDF5_USE_ZLIB_NG "Use zlib-ng library as zlib library" OFF) | ||
option (HDF5_USE_LIBAEC_STATIC "Use static AEC library" OFF) | ||
option (HDF5_USE_ZLIB_STATIC "Find static zlib library" OFF) | ||
option (HDF5_USE_LIBAEC_STATIC "Find static AEC library" OFF) | ||
option (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" OFF) | ||
option (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" OFF) | ||
|
||
|
@@ -86,16 +87,29 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT) | |
set (PACKAGE_NAME ${ZLIB_PACKAGE_NAME}${HDF_PACKAGE_EXT}) | ||
endif () | ||
set(ZLIB_FOUND FALSE) | ||
find_package (ZLIB NAMES ${PACKAGE_NAME} COMPONENTS static shared) | ||
if (HDF5_USE_ZLIB_STATIC) | ||
set(ZLIB_SEACH_TYPE static) | ||
else () | ||
set(ZLIB_SEACH_TYPE shared) | ||
endif () | ||
find_package (ZLIB NAMES ${PACKAGE_NAME} COMPONENTS ${ZLIB_SEACH_TYPE}) | ||
if (NOT ZLIB_FOUND) | ||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0") | ||
set(ZLIB_USE_STATIC_LIBS ${HDF5_USE_ZLIB_STATIC}) | ||
endif() | ||
find_package (ZLIB) # Legacy find | ||
endif () | ||
set(H5_ZLIB_FOUND ${ZLIB_FOUND}) | ||
if (H5_ZLIB_FOUND) | ||
set (H5_ZLIB_HEADER "zlib.h") | ||
set (H5_ZLIB_INCLUDE_DIR_GEN ${ZLIB_INCLUDE_DIR}) | ||
set (H5_ZLIB_INCLUDE_DIRS ${H5_ZLIB_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR}) | ||
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_LIBRARIES}) | ||
# The FindZLIB.cmake module does not set an OUTPUT_NAME | ||
# on the target. The target returned is: ZLIB::ZLIB | ||
get_filename_component (libname ${ZLIB_LIBRARIES} NAME_WLE) | ||
string (REGEX REPLACE "^lib" "" libname ${libname}) | ||
set_target_properties (ZLIB::ZLIB PROPERTIES OUTPUT_NAME zlib-static) | ||
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ZLIB::ZLIB) | ||
endif () | ||
else () | ||
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") | ||
|
@@ -131,9 +145,14 @@ option (HDF5_ENABLE_SZIP_SUPPORT "Use SZip Filter" ON) | |
if (HDF5_ENABLE_SZIP_SUPPORT) | ||
option (HDF5_ENABLE_SZIP_ENCODING "Use SZip Encoding" ON) | ||
if (NOT SZIP_USE_EXTERNAL) | ||
if (HDF5_USE_LIBAEC_STATIC) | ||
set(LIBAEC_SEACH_TYPE static) | ||
else () | ||
set(LIBAEC_SEACH_TYPE shared) | ||
endif () | ||
set(libaec_USE_STATIC_LIBS ${HDF5_USE_LIBAEC_STATIC}) | ||
set(SZIP_FOUND FALSE) | ||
find_package (SZIP NAMES ${LIBAEC_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS static shared) | ||
find_package (SZIP NAMES ${LIBAEC_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS ${LIBAEC_SEACH_TYPE}) | ||
if (NOT SZIP_FOUND) | ||
find_package (SZIP) # Legacy find | ||
endif () | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.