Implementation of the metapackage configuration data.
A metapackage table can currently have the following fields
[metapackages]
fpm = "0.1.0"
openmp = bool
stdlib = bool
Configuration data for metapackages
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(metapackage_request_t), | public | :: | hdf5 |
HDF5 |
|||
type(metapackage_request_t), | public | :: | minpack |
fortran-lang minpack |
|||
type(metapackage_request_t), | public | :: | mpi |
Request MPI support |
|||
type(metapackage_request_t), | public | :: | openmp |
Request OpenMP support |
|||
type(metapackage_request_t), | public | :: | stdlib |
Request stdlib support |
Configuration data for a single metapackage request
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | name |
Metapackage name |
||
logical, | public | :: | on | = | .false. |
Request flag |
|
character(len=:), | public, | allocatable | :: | version |
Version Specification string |
Check local schema for allowed entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | key |
Instance of the TOML data structure |
Construct a new build configuration from a TOML data structure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(metapackage_config_t), | intent(out) | :: | self |
Instance of the build configuration |
||
type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
logical, | intent(in) | :: | meta_allowed(:) |
List of keys allowed to be metapackages |
||
type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
Construct a new metapackage request from the dependencies table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(metapackage_request_t), | intent(out) | :: | self | |||
character(len=*), | intent(in) | :: | key |
The package name |
||
type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
logical, | intent(in), | optional | :: | meta_allowed(:) |
List of keys allowed to be metapackages |
|
type(error_t), | intent(out), | allocatable | :: | error |
Error handling |