From b7cb30e175f28b6af555a04bcf7e000eb330578e Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Sep 2020 12:13:10 -0700 Subject: dependencies/hdf5: Convert to a dependency_factory Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config --- docs/markdown/Dependencies.md | 4 ++++ docs/markdown/snippets/hdf5_dependnecy_improvements.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/hdf5_dependnecy_improvements.md (limited to 'docs/markdown') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index b89a0aa..efd8728 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -364,6 +364,10 @@ language-specific, you must specify the requested language using the Meson uses pkg-config to find HDF5. The standard low-level HDF5 function and the `HL` high-level HDF5 functions are linked for each language. +`method` may be `auto`, `config-tool` or `pkg-config`. + +*New in 0.56.0* the `config-tool` method. +*New in 0.56.0* the dependencies now return proper dependency types and `get_variable` and similar methods should work as expected. ## libwmf diff --git a/docs/markdown/snippets/hdf5_dependnecy_improvements.md b/docs/markdown/snippets/hdf5_dependnecy_improvements.md new file mode 100644 index 0000000..1f6b2e8 --- /dev/null +++ b/docs/markdown/snippets/hdf5_dependnecy_improvements.md @@ -0,0 +1,6 @@ +## HDF5 dependency improvements + +HDF5 has been improved so that the internal representations have been split. +This allows selecting pkg-config and config-tool dependencies separately. +Both work as proper dependencies of their type, so `get_variable` and similar +now work correctly. -- cgit v1.1 From 54329eeed75d9fc4b9cc2ccbafb0773d24b2f92b Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Sep 2020 14:23:17 -0700 Subject: dependencies/hdf5: Use the correct compilers for the machine Instead of the default ones, this is especially important when cross compiling or when using compilers that aren't compatible with the default ones. squash! dependencies/hdf5: Use the actual system compilers --- docs/markdown/snippets/hdf5_dependnecy_improvements.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/snippets/hdf5_dependnecy_improvements.md b/docs/markdown/snippets/hdf5_dependnecy_improvements.md index 1f6b2e8..857eb90 100644 --- a/docs/markdown/snippets/hdf5_dependnecy_improvements.md +++ b/docs/markdown/snippets/hdf5_dependnecy_improvements.md @@ -4,3 +4,6 @@ HDF5 has been improved so that the internal representations have been split. This allows selecting pkg-config and config-tool dependencies separately. Both work as proper dependencies of their type, so `get_variable` and similar now work correctly. + +It has also been fixed to use the selected compiler for the build instead of +the default compiler. -- cgit v1.1