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

Prefix all options with NETCDF_ #2895

Merged
merged 65 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
dc4830a
replacing BUILD_UTILITIES
K20shores Mar 18, 2024
6d97264
replacing DOXYGEN_ENABLE_TASKS
K20shores Mar 18, 2024
e934438
replacing ENABLE_ATEXIT_FINALIZE
K20shores Mar 18, 2024
4b0611b
Replace ENABLE_BASH_SCRIPT_TESTING with NETCDF_ENABLE_BASH_SCRIPT_TES…
K20shores Mar 18, 2024
eb48981
Replace ENABLE_BENCHMARKS with NETCDF_ENABLE_BENCHMARKS
K20shores Mar 18, 2024
b4eb8bf
Replace ENABLE_BYTERANGE with NETCDF_ENABLE_BYTERANGE
K20shores Mar 18, 2024
2bce1e6
Replace ENABLE_CDF5 with NETCDF_ENABLE_CDF5
K20shores Mar 18, 2024
b2275b1
Replace ENABLE_CONVERSION_WARNINGS with NETCDF_ENABLE_CONVERSION_WARN…
K20shores Mar 18, 2024
5bd28e2
Replace ENABLE_COVERAGE_TESTS with NETCDF_ENABLE_COVERAGE_TESTS
K20shores Mar 18, 2024
d270aa8
Replace ENABLE_DAP with NETCDF_ENABLE_DAP
K20shores Mar 18, 2024
9288a53
Replace ENABLE_DISKLESS with NETCDF_ENABLE_DISKLESS
K20shores Mar 18, 2024
ece5a77
Replace ENABLE_DLL with NETCDF_ENABLE_DLL
K20shores Mar 18, 2024
831bf66
Replace ENABLE_DOXYGEN with NETCDF_ENABLE_DOXYGEN
K20shores Mar 18, 2024
7263727
Replace ENABLE_ERANGE_FILL with NETCDF_ENABLE_ERANGE_FILL
K20shores Mar 18, 2024
086401f
Replace ENABLE_EXAMPLES with NETCDF_ENABLE_EXAMPLES
K20shores Mar 18, 2024
ea56b21
Replace ENABLE_EXAMPLE_TESTS with NETCDF_ENABLE_EXAMPLE_TESTS
K20shores Mar 18, 2024
6d1bae4
Replace ENABLE_EXTERNAL_SERVER_TESTS with NETCDF_ENABLE_EXTERNAL_SERV…
K20shores Mar 18, 2024
cf90d63
Replace ENABLE_EXTRA_TESTS with NETCDF_ENABLE_EXTRA_TESTS
K20shores Mar 18, 2024
1ca5d9c
Replace ENABLE_EXTREME_NUMBERS with NETCDF_ENABLE_EXTREME_NUMBERS
K20shores Mar 18, 2024
08c9fb9
Replace ENABLE_FAILING_TESTS with NETCDF_ENABLE_FAILING_TESTS
K20shores Mar 18, 2024
e4f9e44
Replace ENABLE_FFIO with NETCDF_ENABLE_FFIO
K20shores Mar 18, 2024
68a1265
Replace ENABLE_FILTER_BLOSC with NETCDF_ENABLE_FILTER_BLOSC
K20shores Mar 18, 2024
a45bd40
Replace ENABLE_FILTER_BZ2 with NETCDF_ENABLE_FILTER_BZ2
K20shores Mar 18, 2024
0be7d60
Replace ENABLE_FILTER_SZIP with NETCDF_ENABLE_FILTER_SZIP
K20shores Mar 18, 2024
0535edd
Replace ENABLE_FILTER_TESTING with NETCDF_ENABLE_FILTER_TESTING
K20shores Mar 18, 2024
37ed370
Replace ENABLE_FILTER_ZSTD with NETCDF_ENABLE_FILTER_ZSTD
K20shores Mar 18, 2024
e9f700b
Replace ENABLE_FSYNC with NETCDF_ENABLE_FSYNC
K20shores Mar 18, 2024
376f6b8
Replace ENABLE_HDF4 with NETCDF_ENABLE_HDF4
K20shores Mar 18, 2024
c5f24df
Replace ENABLE_HDF5 with NETCDF_ENABLE_HDF5
K20shores Mar 18, 2024
39a0403
Replace ENABLE_INTERNAL_DOCS with NETCDF_ENABLE_INTERNAL_DOCS
K20shores Mar 18, 2024
5760005
Replace ENABLE_LARGE_FILE_SUPPORT with NETCDF_ENABLE_LARGE_FILE_SUPPORT
K20shores Mar 18, 2024
ba2cf68
Replace ENABLE_LARGE_FILE_TESTS with NETCDF_ENABLE_LARGE_FILE_TESTS
K20shores Mar 18, 2024
9584b4f
Replace ENABLE_LIBXML2 with NETCDF_ENABLE_LIBXML2
K20shores Mar 18, 2024
dcdff98
Replace ENABLE_LOGGING with NETCDF_ENABLE_LOGGING
K20shores Mar 18, 2024
c6d35cf
Replace ENABLE_METADATA_PERF_TESTS with NETCDF_ENABLE_METADATA_PERF_T…
K20shores Mar 18, 2024
7f8ad2c
Replace ENABLE_MMAP with NETCDF_ENABLE_MMAP
K20shores Mar 18, 2024
d1334f7
Replace ENABLE_NCZARR with NETCDF_ENABLE_NCZARR
K20shores Mar 18, 2024
b51234b
Replace ENABLE_NETCDF4 with NETCDF_ENABLE_NETCDF4
K20shores Mar 18, 2024
1ada3f6
Replace ENABLE_NETCDF_4 with NETCDF_ENABLE_NETCDF_4
K20shores Mar 18, 2024
2baf0ba
Replace ENABLE_PARALLEL4 with NETCDF_ENABLE_PARALLEL4
K20shores Mar 18, 2024
f54f42d
Replace ENABLE_PARALLEL_TESTS with NETCDF_ENABLE_PARALLEL_TESTS
K20shores Mar 18, 2024
44778e5
Replace ENABLE_PLUGINS with NETCDF_ENABLE_PLUGINS
K20shores Mar 18, 2024
dba34ac
Replace ENABLE_PNETCDF with NETCDF_ENABLE_PNETCDF
K20shores Mar 18, 2024
85f6978
Replace ENABLE_QUANTIZE with NETCDF_ENABLE_QUANTIZE
K20shores Mar 18, 2024
78fb3dc
Replace ENABLE_REMOTE_FUNCTIONALITY with NETCDF_ENABLE_REMOTE_FUNCTIO…
K20shores Mar 18, 2024
8fd6dcb
Replace ENABLE_S3 with NETCDF_ENABLE_S3
K20shores Mar 18, 2024
e5ee259
Replace ENABLE_SET_LOG_LEVEL_FUNC with NETCDF_ENABLE_SET_LOG_LEVEL_FUNC
K20shores Mar 18, 2024
eaff828
Replace ENABLE_SHARED_LIBRARY_VERSION with NETCDF_ENABLE_SHARED_LIBRA…
K20shores Mar 18, 2024
b2fabc2
Replace ENABLE_STDIO with NETCDF_ENABLE_STDIO
K20shores Mar 18, 2024
6c652a6
Replace ENABLE_STRICT_NULL_BYTE_HEADER_PADDING with NETCDF_ENABLE_STR…
K20shores Mar 18, 2024
a82659b
Replace ENABLE_TESTS with NETCDF_ENABLE_TESTS
K20shores Mar 18, 2024
ff1307b
Replace ENABLE_UNIT_TESTS with NETCDF_ENABLE_UNIT_TESTS
K20shores Mar 18, 2024
d9bdb5c
Replace ENABLE_XGETOPT with NETCDF_ENABLE_XGETOPT
K20shores Mar 18, 2024
345e446
Replace NC_FIND_SHARED_LIBS with NETCDF_FIND_SHARED_LIBS
K20shores Mar 18, 2024
9be78dc
Replacing NC_USE_STATIC_CRT with NETCDF_USE_STATIC_CRT
K20shores Mar 18, 2024
9c01a56
removing variables
K20shores Mar 18, 2024
121df00
fixing some that were missing?
K20shores Mar 18, 2024
4d44e1a
another one
K20shores Mar 18, 2024
e0a87e4
removing script
K20shores Mar 19, 2024
449c0e3
removing cmake alias variable for netcdf4
K20shores Mar 19, 2024
5097e2e
adding deprecation error for usage of NETCDF_ENABLE_NETCDF4
K20shores Mar 19, 2024
67609b0
Add a filter to process options and report deprecation warning.
WardF Mar 19, 2024
43573c5
Comment out debugging messages, will remove before final merge. Clea…
WardF Mar 19, 2024
ab2adc6
A bit of cleanup for now, more to follow, but moving on to other road…
WardF Mar 20, 2024
390cacc
Updated Release Notes.
WardF Mar 20, 2024
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
42 changes: 21 additions & 21 deletions .github/workflows/run_tests_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,20 @@ jobs:
- run: echo "LDFLAGS=-L${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: echo "LD_LIBRARY_PATH=${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: |
echo "ENABLE_HDF4=--disable-hdf4" >> $GITHUB_ENV
echo "ENABLE_HDF5=--disable-hdf5" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF4=--disable-hdf4" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=--disable-hdf5" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc3'
- run: |
echo "ENABLE_HDF4=--enable-hdf4" >> $GITHUB_ENV
echo "ENABLE_HDF5=--enable-hdf5" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF4=--enable-hdf4" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=--enable-hdf5" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc4'
- run: echo "ENABLE_DAP=--disable-dap" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=--disable-dap" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_off'
- run: echo "ENABLE_DAP=--enable-dap" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=--enable-dap" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_on'
- run: echo "ENABLE_NCZARR=--disable-nczarr" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=--disable-nczarr" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_off'
- run: echo "ENABLE_NCZARR=--enable-nczarr" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=--enable-nczarr" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_on'

###
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- name: Configure
shell: bash -l {0}
run: CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./configure ${ENABLE_HDF5} ${ENABLE_DAP} ${ENABLE_NCZARR}
run: CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ./configure ${NETCDF_ENABLE_HDF5} ${NETCDF_ENABLE_DAP} ${NETCDF_ENABLE_NCZARR}
if: ${{ success() }}

- name: Look at config.log if error
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:

# - name: Make Distcheck
# shell: bash -l {0}
# run: CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} DISTCHECK_CONFIGURE_FLAGS="${ENABLE_HDF4} ${ENABLE_HDF5} ${ENABLE_DAP} ${ENABLE_NCZARR}" make distcheck
# run: CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} DISTCHECK_CONFIGURE_FLAGS="${NETCDF_ENABLE_HDF4} ${NETCDF_ENABLE_HDF5} ${NETCDF_ENABLE_DAP} ${NETCDF_ENABLE_NCZARR}" make distcheck
# if: ${{ success() }}

#- name: Start SSH Debug
Expand Down Expand Up @@ -177,20 +177,20 @@ jobs:
- run: echo "CMAKE_PREFIX_PATH=${HOME}/environments/${{ matrix.hdf5 }}/" >> $GITHUB_ENV
- run: echo "LD_LIBRARY_PATH=${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: |
echo "ENABLE_HDF4=OFF" >> $GITHUB_ENV
echo "ENABLE_HDF5=OFF" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF4=OFF" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=OFF" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc3'
- run: |
echo "ENABLE_HDF4=ON" >> $GITHUB_ENV
echo "ENABLE_HDF5=ON" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF4=ON" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=ON" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc4'
- run: echo "ENABLE_DAP=OFF" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=OFF" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_off'
- run: echo "ENABLE_DAP=ON" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=ON" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_on'
- run: echo "ENABLE_NCZARR=OFF" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=OFF" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_off'
- run: echo "ENABLE_NCZARR=ON" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=ON" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_on'
- run: echo "CTEST_OUTPUT_ON_FAILURE=1" >> $GITHUB_ENV

Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=${ENABLE_DAP} -DENABLE_HDF5=${ENABLE_HDF5} -DENABLE_NCZARR=${ENABLE_NCZARR}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=${NETCDF_ENABLE_DAP} -DNETCDF_ENABLE_HDF5=${NETCDF_ENABLE_HDF5} -DNETCDF_ENABLE_NCZARR=${NETCDF_ENABLE_NCZARR}

- name: Print Summary
shell: bash -l {0}
Expand Down Expand Up @@ -375,7 +375,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=TRUE -DENABLE_HDF5=TRUE -DENABLE_NCZARR=TRUE -D ENABLE_DAP_LONG_TESTS=TRUE -DENABLE_LIBXML2=FALSE
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=TRUE -DNETCDF_ENABLE_HDF5=TRUE -DNETCDF_ENABLE_NCZARR=TRUE -D NETCDF_ENABLE_DAP_LONG_TESTS=TRUE -DNETCDF_ENABLE_LIBXML2=FALSE

- name: Print Summary
shell: bash -l {0}
Expand Down Expand Up @@ -450,7 +450,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=TRUE -DENABLE_HDF5=TRUE -DENABLE_NCZARR=TRUE -D ENABLE_DAP_LONG_TESTS=TRUE -DENABLE_LIBXML2=FALSE -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=TRUE -DNETCDF_ENABLE_HDF5=TRUE -DNETCDF_ENABLE_NCZARR=TRUE -D NETCDF_ENABLE_DAP_LONG_TESTS=TRUE -DNETCDF_ENABLE_LIBXML2=FALSE -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}

- name: Print Summary
shell: bash -l {0}
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/run_tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=TRUE -DENABLE_HDF5=TRUE -DENABLE_NCZARR=TRUE -DENABLE_DAP_LONG_TESTS=TRUE -DENABLE_LIBXML2=FALSE
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=TRUE -DNETCDF_ENABLE_HDF5=TRUE -DNETCDF_ENABLE_NCZARR=TRUE -DNETCDF_ENABLE_DAP_LONG_TESTS=TRUE -DNETCDF_ENABLE_LIBXML2=FALSE

- name: Print Summary
shell: bash -l {0}
Expand Down Expand Up @@ -521,7 +521,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=TRUE -DENABLE_HDF5=TRUE -DENABLE_NCZARR=TRUE -DENABLE_DAP_LONG_TESTS=TRUE -DENABLE_LIBXML2=FALSE -DBUILD_SHARED_LIBS=FALSE -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=TRUE -DNETCDF_ENABLE_HDF5=TRUE -DNETCDF_ENABLE_NCZARR=TRUE -DNETCDF_ENABLE_DAP_LONG_TESTS=TRUE -DNETCDF_ENABLE_LIBXML2=FALSE -DBUILD_SHARED_LIBS=FALSE -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}

- name: Print Summary
shell: bash -l {0}
Expand Down Expand Up @@ -602,7 +602,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=TRUE -DENABLE_HDF5=TRUE -DENABLE_NCZARR=TRUE -D ENABLE_DAP_LONG_TESTS=TRUE -DENABLE_PNETCDF=TRUE
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=TRUE -DNETCDF_ENABLE_HDF5=TRUE -DNETCDF_ENABLE_NCZARR=TRUE -D NETCDF_ENABLE_DAP_LONG_TESTS=TRUE -DNETCDF_ENABLE_PNETCDF=TRUE

- name: Print Summary
shell: bash -l {0}
Expand Down Expand Up @@ -679,18 +679,18 @@ jobs:
- run: echo "LDFLAGS=-L${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: echo "LD_LIBRARY_PATH=${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: |
echo "ENABLE_HDF5=--disable-hdf5" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=--disable-hdf5" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc3'
- run: |
echo "ENABLE_HDF5=--enable-hdf5" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=--enable-hdf5" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc4'
- run: echo "ENABLE_DAP=--disable-dap" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=--disable-dap" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_off'
- run: echo "ENABLE_DAP=--enable-dap" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=--enable-dap" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_on'
- run: echo "ENABLE_NCZARR=--disable-nczarr" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=--disable-nczarr" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_off'
- run: echo "ENABLE_NCZARR=--enable-nczarr" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=--enable-nczarr" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_on'

###
Expand Down Expand Up @@ -738,7 +738,7 @@ jobs:
done
current_directory="$(pwd)"
mkdir ../build
cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} "${current_directory}/configure" ${ENABLE_HDF5} ${ENABLE_DAP} ${ENABLE_NCZARR}
cd ../build && CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} "${current_directory}/configure" ${NETCDF_ENABLE_HDF5} ${NETCDF_ENABLE_DAP} ${NETCDF_ENABLE_NCZARR}
if: ${{ success() }}

- name: Look at config.log if error
Expand Down Expand Up @@ -821,18 +821,18 @@ jobs:
- run: echo "CMAKE_PREFIX_PATH=${HOME}/environments/${{ matrix.hdf5 }}/" >> $GITHUB_ENV
- run: echo "LD_LIBRARY_PATH=${HOME}/environments/${{ matrix.hdf5 }}/lib" >> $GITHUB_ENV
- run: |
echo "ENABLE_HDF5=OFF" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=OFF" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc3'
- run: |
echo "ENABLE_HDF5=ON" >> $GITHUB_ENV
echo "NETCDF_ENABLE_HDF5=ON" >> $GITHUB_ENV
if: matrix.use_nc4 == 'nc4'
- run: echo "ENABLE_DAP=OFF" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=OFF" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_off'
- run: echo "ENABLE_DAP=ON" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_DAP=ON" >> $GITHUB_ENV
if: matrix.use_dap == 'dap_on'
- run: echo "ENABLE_NCZARR=OFF" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=OFF" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_off'
- run: echo "ENABLE_NCZARR=ON" >> $GITHUB_ENV
- run: echo "NETCDF_ENABLE_NCZARR=ON" >> $GITHUB_ENV
if: matrix.use_nczarr == 'nczarr_on'
- run: echo "CTEST_OUTPUT_ON_FAILURE=1" >> $GITHUB_ENV

Expand Down Expand Up @@ -860,7 +860,7 @@ jobs:
run: |
mkdir build
cd build
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DENABLE_DAP=${ENABLE_DAP} -DENABLE_HDF5=${ENABLE_HDF5} -DENABLE_NCZARR=${ENABLE_NCZARR}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH} cmake .. -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DNETCDF_ENABLE_DAP=${NETCDF_ENABLE_DAP} -DNETCDF_ENABLE_HDF5=${NETCDF_ENABLE_HDF5} -DNETCDF_ENABLE_NCZARR=${NETCDF_ENABLE_NCZARR}

- name: Print Summary
shell: bash -l {0}
Expand Down
Loading
Loading