Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 support #125

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ cmake -LAH -G "NMake Makefiles" ^
-DHDF5_INCLUDE_DIR="%LIBRARY_INC:\=/%" ^
-DCMAKE_C_FLAGS="-DH5_BUILT_AS_DYNAMIC_LIB" ^
-DENABLE_NCZARR=on ^
-DENABLE_NCZARR_S3=off ^
-DENABLE_NCZARR_S3=on ^
-DENABLE_NCZARR_S3_TESTS=off ^
-DENABLE_S3_SDK=on ^
%SRC_DIR%
if errorlevel 1 exit \b 1

Expand Down
6 changes: 4 additions & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ cmake ${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DENABLE_BYTERANGE=ON \
${PARALLEL} \
-DENABLE_NCZARR=on \
-DENABLE_NCZARR_S3=off \
-DENABLE_NCZARR_S3=on \
-DENABLE_NCZARR_S3_TESTS=off \
-DENABLE_S3_SDK=on \
${SRC_DIR}
# ctest # Run only for the shared lib build to save time.
make install -j${CPU_COUNT} ${VERBOSE_CM}
Expand All @@ -93,8 +94,9 @@ cmake ${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DENABLE_CDF5=ON \
${PARALLEL} \
-DENABLE_NCZARR=on \
-DENABLE_NCZARR_S3=off \
-DENABLE_NCZARR_S3=on \
-DENABLE_NCZARR_S3_TESTS=off \
-DENABLE_S3_SDK=on \
${SRC_DIR}
make install -j${CPU_COUNT} ${VERBOSE_CM}

Expand Down
3 changes: 3 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ requirements:
- hdf5 * {{ mpi_prefix }}_*
- jpeg
- libzip
# We need to pin b/c of https://github.com/Unidata/netcdf-c/issues/1981
- aws-sdk-cpp 1.7
run:
- {{ mpi }} # [mpi != 'nompi']
- bzip2
Expand All @@ -90,6 +92,7 @@ requirements:
- hdf5 * {{ mpi_prefix }}_*
- jpeg
- libzip
- aws-sdk-cpp 1.7
# Curl should be pulling this... Investigate it later.
- libssh2 # [win]

Expand Down