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 | :: | blas |
BLAS |
|||
| 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 | :: | netcdf |
NetCDF |
|||
| type(metapackage_request_t), | public | :: | openmp |
Request OpenMP support |
|||
| type(metapackage_request_t), | public | :: | stdlib |
Request stdlib support |
| final :: meta_config_final |
| generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit | |
| procedure, public :: dump_to_toml => meta_config_dump | |
| procedure, public :: get_requests | |
| generic, public :: load => load_from_toml, load_from_file, load_from_unit | |
| procedure, public :: load_from_toml => meta_config_load | |
| generic, public :: operator(==) => serializable_is_same | |
| procedure, public :: reset => meta_config_reset | |
| procedure, public :: serializable_is_same => meta_config_same | |
| procedure, public, non_overridable :: test_serialization | Test load/write roundtrip |
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 |
| generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit | |
| procedure, public :: dump_to_toml => meta_request_dump | |
| generic, public :: load => load_from_toml, load_from_file, load_from_unit | |
| procedure, public :: load_from_toml => meta_request_load | |
| generic, public :: operator(==) => serializable_is_same | |
| procedure, public :: serializable_is_same => meta_request_same | |
| procedure, public, non_overridable :: test_serialization | Test load/write roundtrip |
Check local schema for allowed entries
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key |
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 Set name
| 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 |