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

Improve requirements #178

Merged
merged 23 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
8 changes: 4 additions & 4 deletions .ci_support/linux_64_mpimpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_64_mpinompi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_64_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_aarch64_mpimpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -26,8 +24,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_aarch64_mpinompi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -26,8 +24,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_aarch64_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -26,8 +24,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_ppc64le_mpimpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_ppc64le_mpinompi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/linux_ppc64le_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -22,8 +20,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_64_mpimpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_64_mpinompi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_64_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_arm64_mpimpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_arm64_mpinompi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/osx_arm64_mpiopenmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- clangxx
cxx_compiler_version:
Expand All @@ -20,8 +18,10 @@ hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
8 changes: 4 additions & 4 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '8'
cxx_compiler:
- vs2019
hdf4:
- 4.2.15
hdf5:
- 1.14.1
libjpeg_turbo:
- 2.1.5
libaec:
- '1'
libcurl:
- '8'
libxml2:
- '2.11'
libzip:
Expand Down
26 changes: 19 additions & 7 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,37 @@ set BUILD_TYPE=Release
:: set BUILD_TYPE=RelWithDebInfo
:: set BUILD_TYPE=Debug

rem to be filled with mpi options
set PARALLEL=""

rem manually specify hdf5 paths to work-around https://github.com/Unidata/netcdf-c/issues/1444
cmake -LAH -G "NMake Makefiles" ^
%CMAKE_ARGS% ^
-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
-DBUILD_SHARED_LIBS=ON ^
-DPLUGIN_INSTALL_DIR=YES ^
-DBUILD_UTILITIES=ON ^
-DENABLE_DOXYGEN=OFF ^
-DENABLE_TESTS=ON ^
-DENABLE_EXTERNAL_SERVER_TESTS=OFF ^
-DENABLE_DAP=ON ^
-DENABLE_DAP_REMOTE_TESTS=OFF ^
-DENABLE_HDF4=ON ^
-DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
-DENABLE_NETCDF_4=ON ^
-DENABLE_PLUGIN_INSTALL=ON ^
-DPLUGIN_INSTALL_DIR=YES ^
-DENABLE_CDF5=ON ^
-DENABLE_BYTERANGE=ON ^
-DENABLE_NCZARR=on ^
-DENABLE_NCZARR_ZIP=on ^
-DENABLE_NCZARR_S3=off ^
-DENABLE_NCZARR_S3_TESTS=off ^
-DHDF5_C_LIBRARY="%LIBRARY_LIB:\=/%/hdf5.lib" ^
-DHDF5_HL_LIBRARY="%LIBRARY_LIB:\=/%/hdf5_hl.lib" ^
-DHDF5_INCLUDE_DIR="%LIBRARY_INC:\=/%" ^
-DCMAKE_C_FLAGS="-DH5_BUILT_AS_DYNAMIC_LIB" ^
-DENABLE_NCZARR=on ^
-DENABLE_NCZARR_S3=off ^
-DENABLE_NCZARR_S3_TESTS=off ^
-DENABLE_EXTERNAL_SERVER_TESTS=OFF ^
%PARALLEL% ^
%SRC_DIR%
if errorlevel 1 exit \b 1

Expand Down
Loading