aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/hdf5.py
AgeCommit message (Collapse)AuthorFilesLines
2022-01-27flake8: fix indentation styleEli Schwartz1-1/+1
2022-01-10pyupgrade --py37-plusEli Schwartz1-1/+1
2021-11-17hdf5 dependency: check for alternative config-tool namesEli Schwartz1-3/+3
Depending on whether hdf5 is compiled with parallel support, the same config-tool program may be installed with a mysterious "p" in the name. In this case, dependency lookup will totally fail, unless of course you use the superior pkg-config interface in which case you get a predictable name. Work around this insanity by checking for both types of config-tool name. Fixes #9555
2021-09-14apply flake8 fixes for unused imports and missing importsEli Schwartz1-1/+0
2021-06-09typing: Rename some variablesDaniel Mensinger1-3/+3
2021-06-06typing: Fully annotate dependencies.{detect,factory} + some other fixesDaniel Mensinger1-3/+4
2021-06-03deps: Split dependencies.baseDaniel Mensinger1-4/+4
Split the Factory and dependency classes out of the base.py script to improve maintainability.
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz1-6/+6
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04various python neatness cleanupsEli Schwartz1-1/+1
All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes
2021-02-26hdf5: get include directory from config-toolMichael Kuhn1-2/+5
hdf5's config-tools will not show compile arguments (including the include directory) if called without `-c`. Make sure to get both the compile and link arguments.
2021-01-11import MachineChoice from mesonlibDylan Baker1-1/+1
there are a couple of places importing it from envconfig, which is not correct. It's defined in mesonlib, and then imported into envconfig.
2020-11-20use real pathlib moduleDylan Baker1-1/+1
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this
2020-10-04pathlib: Fix resolve() by overriding it in Python 3.5Daniel Mensinger1-1/+1
2020-09-25dependencies/hdf5: Use the correct compilers for the machineDylan Baker1-5/+19
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
2020-09-25dependencies/hdf5: Convert to a dependency_factoryDylan Baker1-104/+131
Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config
2020-09-08typing: fix dependencies for new follow_importsDaniel Mensinger1-1/+1
2020-09-08typing: fully annotate boost and hdf5 depsDaniel Mensinger1-2/+6
2020-08-11Add h5cc shlib argument for correctly link hdf5 librariesWilliam F Godoy1-1/+2
respect "static" key in dependency function -shlib for static dependency -noshlib for static dependency
2020-01-29dependencies: Make Dependency initializer signatures matchDylan Baker1-1/+1
Currently PkgConfig takes language as a keyword parameter in position 3, while the others take it as positional in position 2. Because most dependencies don't actually set a language (they use C style linking), using a positional argument makes more sense. ExtraFrameworkDependencies is even more different, and duplicates some arguments from the base ExternalDependency class. For later changes I'm planning to make having all of the dependencies use the same signature is really, really helpful.
2020-01-08bugfix: hdf5 depenedency: make sure variable is always definedMichael Hirsch, Ph.D1-1/+1
2019-12-19dependencies: refactor to use methods properlyMichael Hirsch, Ph.D1-85/+92
2019-12-17Fail gracefully detecting hdf5 if pkg-config is not available.Jussi Pakkanen1-8/+11
2019-11-28HDF5: make much more robust across platformsMichael Hirsch, Ph.D1-0/+120
This addresses various real-world problems with HDF5 pkg-config, including * hdf*.pc with package versions as part of the filename * malformed hdf*.pc missing the commonly-used HDF5 HL module --- Additionally, this refactors more complicated dependencies such as HDF5 and OpenMPI. This may help us deduplicate internal dependency code in the future. HDF5 selftest: improve platform-agnostic test ci: init demo github action for HDF5 framework ci Actions: hold off on MSYS2 for now [skip ci] hdf5: ensure C libraries always included ci: mac hdf5--use clang+gfortran