Ward Fisher
2798948670
Remove check for libcurl unless it is necessary for required functionality.
2024-04-08 10:34:22 -06:00
Ward Fisher
19d6c02314
Set flags to avoid warning messages if curl isn't found.
2024-04-03 12:06:24 -06:00
Ward Fisher
acec11d515
Use modern cmake nomenclature for curl.
2024-04-03 11:42:59 -06:00
Kyle Shores
345e4462e3
Replace NC_FIND_SHARED_LIBS with NETCDF_FIND_SHARED_LIBS
2024-03-18 15:55:25 -05:00
Kyle Shores
8fd6dcb979
Replace ENABLE_S3 with NETCDF_ENABLE_S3
2024-03-18 15:54:15 -05:00
Kyle Shores
78fb3dcf37
Replace ENABLE_REMOTE_FUNCTIONALITY with NETCDF_ENABLE_REMOTE_FUNCTIONALITY
2024-03-18 15:54:12 -05:00
Kyle Shores
dba34ac5c2
Replace ENABLE_PNETCDF with NETCDF_ENABLE_PNETCDF
2024-03-18 15:54:02 -05:00
Kyle Shores
2baf0ba862
Replace ENABLE_PARALLEL4 with NETCDF_ENABLE_PARALLEL4
2024-03-18 15:53:49 -05:00
Kyle Shores
d1334f7b88
Replace ENABLE_NCZARR with NETCDF_ENABLE_NCZARR
2024-03-18 15:52:19 -05:00
Kyle Shores
9584b4fa3b
Replace ENABLE_LIBXML2 with NETCDF_ENABLE_LIBXML2
2024-03-18 15:52:09 -05:00
Kyle Shores
c5f24df396
Replace ENABLE_HDF5 with NETCDF_ENABLE_HDF5
2024-03-18 15:52:02 -05:00
Kyle Shores
376f6b8314
Replace ENABLE_HDF4 with NETCDF_ENABLE_HDF4
2024-03-18 15:52:00 -05:00
Kyle Shores
37ed3708c0
Replace ENABLE_FILTER_ZSTD with NETCDF_ENABLE_FILTER_ZSTD
2024-03-18 15:51:57 -05:00
Kyle Shores
0be7d60580
Replace ENABLE_FILTER_SZIP with NETCDF_ENABLE_FILTER_SZIP
2024-03-18 15:51:53 -05:00
Kyle Shores
a45bd40620
Replace ENABLE_FILTER_BZ2 with NETCDF_ENABLE_FILTER_BZ2
2024-03-18 15:51:50 -05:00
Kyle Shores
68a126538c
Replace ENABLE_FILTER_BLOSC with NETCDF_ENABLE_FILTER_BLOSC
2024-03-18 15:51:48 -05:00
Kyle Shores
831bf665ce
Replace ENABLE_DOXYGEN with NETCDF_ENABLE_DOXYGEN
2024-03-18 15:51:24 -05:00
Ward Fisher
443195973a
Merge branch 'main' into find_pnetcdf
2024-03-11 16:02:54 -06:00
Ward Fisher
64cb40424c
Removed assumption that we are linking against static HDF5 when building a static library. While it's reasonable to provide a mechanism to specify this, it is not necessarily true. We should also perhaps rename the NC_FIND_SHARED option, since LIBS implies it will look for static or shared libraries for all dependencies, but this logic only looks for HDF5. In any case, commenting this out for now until we can rework it.
2024-03-05 09:39:35 -07:00
Ward Fisher
182d462203
Corrected a dependencies issue linking against libcurl and finding curl/curl.h using Visual Studio. There's another issue to correct, but this is getting us a lot closer.
2024-02-26 17:34:00 -07:00
Peter Hill
7a9cafb161
CMake: Always prefer shared HDF5 libs on linux
2024-02-22 09:49:27 -06:00
Peter Hill
907e5cc43f
CMake: Use target_link_libraries
with HDF5::HDF5
target
2024-02-16 10:51:20 +00:00
Peter Hill
18bd56d94b
CMake: Rely on CMake-bundled FindHDF5
2024-02-16 10:33:01 +00:00
Peter Hill
9bbdd4cd7b
Replace use of HAVE_HDF5_H
feature macro with USE_HDF5
2024-02-16 10:30:58 +00:00
Peter Hill
638cdb3a66
CMake: Lowercase some functions
2024-02-16 09:25:13 +00:00
Peter Hill
eee6380dd3
CMake: Remove unused variable
2024-02-16 09:24:54 +00:00
Peter Hill
37b5c619f9
CMake: Don't repeat check for HDF5 parallel feature from FindHDF5
2024-02-16 09:24:39 +00:00
Peter Hill
9e993a06cd
CMake: Remove duplicated checks for HDF5 header
...
This *must* have been found by call to `find_package` earlier
2024-02-16 09:24:11 +00:00
Peter Hill
ef001e3cfd
CMake: Use built-in FindHDF5
module to find HDF5
...
Set the required version so that the module deals with working out the
version for us
2024-02-16 09:16:23 +00:00
Peter Hill
257b27afd1
CMake: Remove unused add_definitions
2024-02-16 09:15:13 +00:00
Kyle Shores
53887b2295
and now this
2024-02-15 16:51:38 -06:00
Kyle Shores
e9cc0794a9
or perhaps it's this one
2024-02-15 16:40:41 -06:00
Kyle Shores
a0931fe06a
trying a different thing
2024-02-15 16:33:16 -06:00
Peter Hill
ff80ee4f9f
CMake: Set feature variable rather than erroring in FindPNETCDF
...
Enables potential reuse of module outside of netCDF
2024-01-24 10:51:23 +00:00
Peter Hill
e88dc9c8e6
CMake: Ensure pnetcdf links to MPI, libm
2024-01-24 10:51:23 +00:00
Peter Hill
a33ba11450
Merge branch 'main' into find_pnetcdf
...
* main:
Escape a character causing a doxygen error.
Updated release notes.
Added a comment block for future reference.
more syntax fixes
Update CMakeLists.txt
CMake: Find HDF5 header we can safely include for other checks
moving functions and macros to new file, lowercase things
Update release notes.
lowercase
lower case
lowercase
moving functions and macros to a file
CMake: Add support for UNITY_BUILD
Change signature of `nczm_sortenvv` to take `size_t`
Try to more consistently use `size_t` for argument of `nclistlength`
Try to more consistently use `size_t` for `nclistget` index argument
Include header for `size_t` in `nclist.h`
2024-01-24 10:04:53 +00:00
Kyle Shores
237efec07e
Merge branch 'main' into packaging
2024-01-19 09:27:07 -06:00
Kyle Shores
887c479533
setting up packaging in its own directory, using netcdf as a target for compile options
2024-01-19 09:25:24 -06:00
Ward Fisher
a8f8f1f1ee
Merge branch 'main' into cmake-better-fix-hdf5-check
2024-01-18 15:50:28 -08:00
Peter Hill
e6f68f7f53
CMake: Find HDF5 header we can safely include for other checks
2024-01-18 16:04:54 +00:00
Kyle Shores
9fb46ce480
moving functions and macros to new file, lowercase things
2024-01-18 09:15:20 -06:00
Kyle Shores
cb28b1ba0c
lowercase
2024-01-17 15:47:16 -06:00
Kyle Shores
e7c7221f28
moving functions and macros to a file
2024-01-17 15:17:50 -06:00
Peter Hill
fd6421d5c9
CMake: Don't use include_directories
for pnetcdf
2024-01-17 17:17:59 +00:00
Peter Hill
e728555beb
CMake: Simplify setting some cache variables for pnetcdf
2024-01-17 17:15:00 +00:00
Peter Hill
425d38ac4f
CMake: Require pnetcdf if requested
2024-01-17 16:19:19 +00:00
Peter Hill
eccbd64d55
CMake: Move pnetcdf detection to FindPNETCDF
cmake module
...
Also:
- add back call to `include_directories` for PnetCDF
- ensure `MPI` is found for PnetCDF with serial HDF5
2024-01-17 15:23:03 +00:00
Kyle Shores
e13c75b61c
merge conflict
2024-01-16 13:44:06 -06:00
Kyle Shores
656fdbb374
moving the dependencies inclusion
2024-01-16 11:20:43 -06:00
Kyle Shores
330f911ecf
removing debug messages
2024-01-10 16:12:04 -06:00